my dog learned polymorphism*
The moose likes JDBC and the fly likes connecting to UNIX DB from Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connecting to UNIX DB from Windows" Watch "connecting to UNIX DB from Windows" New topic
Author

connecting to UNIX DB from Windows

Tusshar Fasate
Ranch Hand

Joined: May 21, 2008
Posts: 81
I am having application deployed on the windows and i want to connect to database which is present on windows and unix.
so Its ok to connect to DB on windows but can any body suggest me how can i connect to unix.
Please help me solve this problem.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

If you are using a type 4 driver the platform hosting the database doesn't matter. JDBC will be unsing some thing like TCP/IP to do it.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Tusshar Fasate
Ranch Hand

Joined: May 21, 2008
Posts: 81
Thanks Paul for your reply.
Does it mean that if i am using Type4 driver ..i need not to care about the operating system on which that DB is installed.
Please clear it in detail.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Yes.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: connecting to UNIX DB from Windows
 
Similar Threads
UNIX and Windows on the same machine!!
Executing Unix Commands/Shell Scripts from Windows
Connecting to MsAccess from an Unix machine throught Java
How to connect to an UNIX server from Java application