I don't see how to compile something on 1.3 that calls a method that is not in the jdbc 2 spec, but if you have a reference to an example of how to do what you suggest I'll take a look.
IMO reflection is worse than a preprocessor. david jencks On 2002.06.18 16:34:24 -0400 Jason Dillon wrote: > Can this be implemented using a bridge pattern to allow the version > specific code to vary from VM to VM as specified by the Java version the > VM supports? > > This would be better IMO than use a preprocessor. > > --jason > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:jboss- > > [EMAIL PROTECTED]] On Behalf Of David Jencks > > Sent: Tuesday, June 18, 2002 12:42 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-dev] JDK 1.4 use in JBoss > > > > compile on jdk 1.4, the local wrapper gets the 1.4 jdbc 3 > > > > compile on jdk 1.3, you get jdbc 2 > > > > done with ant filtering to put/not put comments around jdbc 3 code. > > > > I think the xa stuff doesn't wrap the stuff with jdbc 2 to 3 changes. > > > > david jencks > > > > On 2002.06.18 12:12:30 -0400 Dain Sundstrom wrote: > > > How are we handling JDK 1.4 use in JBoss? I want to use some of the > new > > > JDBC 3.0 APIs, but they are only in JDK 1.4. > > > > > > We still need to support JDK 1.3 for a long time, so how are we > handling > > > this. > > > > > > -dain > > > > > > -- > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > Dain Sundstrom > > > Chief Architect JBossCMP > > > JBoss Group, LLC > > > xxxxxxxxxxxxxxxxxxxxxxxx > > > > > > > > > > ------------------------------------------------------------------------ > > ---- > > > Bringing you mounds of caffeinated joy > > > >>> http://thinkgeek.com/sf <<< > > > > > > _______________________________________________ > > > Jboss-development mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > > > > > > ------------------------------------------------------------------------ > -- > > -- > > Bringing you mounds of caffeinated joy > > >>> http://thinkgeek.com/sf <<< > > > > _______________________________________________ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > ---------------------------------------------------------------------------- > Bringing you mounds of caffeinated joy > >>> http://thinkgeek.com/sf <<< > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > ---------------------------------------------------------------------------- Bringing you mounds of caffeinated joy >>> http://thinkgeek.com/sf <<< _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development