| Author |
JDBC-ODBC jars for Unix
|
lekurwale amol
Ranch Hand
Joined: Apr 22, 2010
Posts: 55
|
|
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
Joined: Apr 22, 2010
Posts: 55
|
|
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
Joined: Mar 03, 2008
Posts: 470
|
|
lekurwale amol wrote:I think odbc jar is OS depenedent
Where did you get JDBC Drivers? Check the instructions.
|
 |
lekurwale amol
Ranch Hand
Joined: Apr 22, 2010
Posts: 55
|
|
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
Joined: Mar 03, 2008
Posts: 470
|
|
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
Joined: Apr 22, 2010
Posts: 55
|
|
This is exactly what I said in the previous post.
My query : Are OCI drivers Type I kind?
Regards,
Amol
|
 |
Misha Ver
Ranch Hand
Joined: Mar 03, 2008
Posts: 470
|
|
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
|
 |
 |
|
|
subject: JDBC-ODBC jars for Unix
|
|
|