how to use java connecting to arcsde 10.1( base oracle 11.2g)

Discussion created by gispathfinder on Dec 17, 2012
Latest reply on Aug 1, 2017 by vangelo-esristaff
i install oracle 11.2g, then use arcgis gp tool create arcsde geodatabase on oracle 11.2g.    how can i use java to connect to arcsde.

how can i write the fallowing code ?

SeConnection connection = null;
connection = new SeConnection(server, instance, database, user, password);