Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic