File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC-ODBC jars for Unix

 
lekurwale amol
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am running a simple app fetching records from DB, on windows. Now, I need to run the app on a unix machine. Do I need to change the jdbc and odbc14.jar files? Does it require any code change?

Regards,
Amol
 
lekurwale amol
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just tried deploying it on Unix machine, and the app executed fine.
But, I am not sure why it did because I think odbc jar is OS depenedent.
Any comments please.

Regards,
Amol
 
Misha Ver
Ranch Hand
Posts: 470
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lekurwale amol wrote:I think odbc jar is OS depenedent


Where did you get JDBC Drivers? Check the instructions.
 
lekurwale amol
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Oracle's site. They did not ask for platform. Downloaded odbc14.jar and deployed on both Windows and Linux. Went fine in both cases. Maybe its a thin driver independent of OS.
Between, over there it was mentioned "Note: For platform specific JDBC-OCI libraries See...". Is OCI driver type I kind, and so is platform dependent?

Regards,
Amol
 
Misha Ver
Ranch Hand
Posts: 470
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lekurwale amol wrote:From Oracle's site. They did not ask for platform.



You could read on http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html
JDBC Thin for All Platforms



 
lekurwale amol
Ranch Hand
Posts: 55
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is exactly what I said in the previous post.

My query : Are OCI drivers Type I kind?

Regards,
Amol
 
Misha Ver
Ranch Hand
Posts: 470
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lekurwale amol wrote:This is exactly what I said in the previous post.


"Maybe its a thin driver independent of OS" - it sounds like a question for me or at least you were still uncertain.

lekurwale amol wrote:My query : Are OCI drivers Type I kind?


http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html#02_01
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic