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

Oracle JDBC driver working on 64-bit java?

 
Hk Cheung
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

As topic, I am now finding if Oracle JDBC driver working on 64-bit java. There is still no answer by googling around.

Anyone have an idea?

Thanks!

Kit
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it does.
 
Hk Cheung
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Sturrock wrote:Yes, it does.

Hi Paul, thanks for your reply

I would like to ask if there are any websites or documents saying that Oracle JDBC driver can work on 64-bit java?

I just found this sentence: If using 64 bit JVM with the Oracle JDBC OCI driver, the JDBC OCI shared libraries have to be 64 bit libraries.in the website: http://www.oracledatabase12g.com/archives/starting-with-oracle-jdbc-drivers.html

I am not sure what it means
 
Rob Spoor
Sheriff
Pie
Posts: 20751
68
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The shared libraries (DLL for Windows, .so for UNIX / Linux) are compiled for the native platform. Those apparently need to be compiled for 64-bit systems to work on 64-bit systems; 32-bit libraries won't work.
 
Hk Cheung
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Spoor wrote:The shared libraries (DLL for Windows, .so for UNIX / Linux) are compiled for the native platform. Those apparently need to be compiled for 64-bit systems to work on 64-bit systems; 32-bit libraries won't work.


For my understanding, it means whatever my JDBC driver is pure (Thin driver) or native (OCI driver), if I am going to use it on 64-bit java, then my Oracle JDBC Java libraries have to be 64-bit, am I right for the aforesaid?

Also it there any way to know whether my JDBC driver is Thin or OCI?

Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic