• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC platform independent ?? HOW??

 
sunil mirani
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I have a question , is it possible for me to write an JDBC application that can run of windows and the same application on unix . considering we have an oracle db on unix or windows , is yes, how do i create DSN's like we do in Jdbc dbc bridge , one more thing how do we use pure java drivers , plz help,
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes we do this can of feature. You don't have to use a odbc jdbc bridge. Oracle provide a jdbc driver of different type in the classes12.zip file. There is 4 types of jdbc driver. But you can use thin (platform independant) and oci driver (need system library but are faster) with oracle on unix, linux, win or mac....
no troubles .... only register the good driver
the way to register driver is explain in the Oracle Doc....
------------------
Benjamin l�onard
evisor
 
sunil mirani
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
say i want to develop a PLATFORM INDEPENDENT tool that can access any data base which driver is the best option ??
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that's it jdbc racle:thin:@yourServer:1521:yourSID
and we use the same on lots of system (HP,linux,NT,Win2K)
so i think it's platform independant
------------------
Benjamin l�onard
evisor
www.evisor.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic