Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate with TeraData using DSN

 
Venkat Ramayanam
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am connecting to Teradata using Hibernate using the below connection URL
jdbc:teradata://IPAddress/TMODE=ANSI,CHARSET=UTF8
I am able to connect properly and do database operations.
Now my requirement is to connect using a DSN as my tables are scattred across different IP adresses.
What I mean by the above is for exmaple if i have 3 tables, table1 is on IPADDRESS1, table2 is on IPADDRESS2 and table3 is on IPADDRESS3 but all the tables are on the same Database.
So we have to use a DSN(??).
Please note that I am using only J2SE and no JNDI stuff.
Please let me know how to specify the DSN in the connection url.


Thanks in advance,
RV
[ November 28, 2008: Message edited by: Venkat Ramayanam ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!