Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Hibernate with TeraData using DSN

 
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 ]
 
Right! We're on it! Let's get to work tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!