Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > specifying a da...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3729 of 3747
Post > Topic >>

specifying a database name in jdbc:jndi:ldap connection

by Thyagu <tdelli@[EMAIL PROTECTED] > Apr 24, 2008 at 08:21 AM

Hi,

I'm trying to connect to Sybase using LDAP entries as follows. How do
I specify a database name in this connection string?.

      Class.forName("com.sybase.jdbc3.jdbc.SybDriver");
      String jdbcURL =   "jdbc:sybase:jndi:ldap://sybaseldap:389/
sybaseServername=SERVER,ou=sybase,dc=db";
      Connection con =
DriverManager.getConnection(jdbcURL,"user","password");

Thanks in advance,
Thyagu.D




 1 Posts in Topic:
specifying a database name in jdbc:jndi:ldap connection
Thyagu <tdelli@[EMAIL   2008-04-24 08:21:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu May 15 1:00:39 CDT 2008.