Select to view content in your preferred language

Help! Need some java sourcecode for connectng to arcsde10.1 on oracle10g

2812
0
08-21-2014 12:21 AM
jj1
by
Deactivated User

i need a java sourcecode for arcsde10.1 connection oracle10g.

have someone goodness to gave me the case and with the full jar.

pleace send the project to my email 292561939@QQ.com.

thanks!

i'm not sure is the jar package version error

my invalid code as :

private SeConnection conn = null;

  private String server = "172.16.1.122";

  private String instance = "1521";

  private String database = "sde:oracle10g:gz";

  private String username = "sde";

  private String password = "sde";

  // 获得ArcSDE连接

  private SeConnection getConn() {

  if (conn == null) {

  try {

  conn = new SeConnection(server, instance, database, username,

  password);

  } catch (SeException ex) {

  ex.printStackTrace();

  }

  }

  return conn;

  }

0 Kudos
0 Replies