|
From: <tri...@tr...> - 2004-02-10 18:24:50
|
I did some more digging and I can get JDK 1.3 and a recent classes12.jar to work with 8i. Have not tried 9i today, but it should work too. The reason I said it did not work was that I tested the JDK 1.4 and 1.3 with different versions of WebLogic. I used WebLogic 6.1 for JDK 1.3 and even when I added the most recent oracle driver it blew up on "oracle.sql.BLOB.getField(DURATION_SESSION)". I started digging some more and it turns out that the weblogic.jar for 6.1 contains an outdated version of the oracle.sql.BLOB and oracle.sql.CLOB classes. By putting the latest classes12.jar first on the classpath everything works fine. If I have some time later, I will try 9i as well. Thomas Quoting Colin Sampaleanu <col...@ex...>: > I think Thomas is saying that classes12 didn't work with JDK 1.3 with > 8i. It probably works with 9i... Thomas, please correct me if I am wrong. > > > jürgen höller [werk3AT] wrote: > > >Thanks for testing, Thomas. It's a pity that this approach just works for > JDK 1.4; however, JDKs are easier to upgrade than databases. I've never tried > it on JDK 1.3, but I did try classes12 with JDK 1.4, and that did work (after > I've changed our code to read the Oracle constants via reflection; the > constant values differ between classes12 and ojdbc14!). I'm not sure why JDK > 1.3 causes a problem here. > > > >I'm finally gonna release RC1 tonight, so there's still a couple of hours to > go if you find any issues :-) > > > >Juergen > > > > > >________________________________ > > > >Von: spr...@li... im Auftrag von > tri...@tr... > >Gesendet: Di 10.02.2004 17:40 > >An: spr...@li... > >Betreff: Re: [Springframework-developer] Ready for 1.0 RC1 > > > > > > > >I tried the imagedb sample application for Oracle. It works using JDK 1.4 > and > >the odbcj14.jar jdbc driver for an 8i database. It does not work at all > using > >JDK 1.3 and classes12.zip/jar. This means that we are limited to JDK 1.4 > for > >this type functionality with Oracle for now. > > > >Just to clarify the Oracle drivers - there are no particular 8i or 9i jdbc > >drivers. They are just labeled based on which database version they are > >distributed with. They should be backwards compatible, and if they are not > it > >is a bug. (There is even a patch for the driver that came with 8i to fix a > >problem connecting to a 9i database.) The only driver availale for JDK 1.4 > is > >the ojdbc14.jar that comes with 9i. Haven't checked out the 10g drivers > yet. > > > >I ran into a small problem with the html generated by the application. The > >browser did not pick up the end of the <textarea> for the description. I > added > >a separate closing tag and comitted it to cvs. > > > >Thomas > > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |