The short answer is it is not possible due to the changes in JDBC interfaces
in different versions of Java. Developers always ask this, but we would
either have to maintain two versions of some files and use conditional
compilation, or have one file containing two versions. We use the second
option which poses fewer synchronisation problems.

The code in CVS is ready to compile with 1.3. It needs the conversion to
compile for 1.1 or 1.4 JDK's.

Fred Toussi

-----------------

Al wrote:


Is it not possible to implement code in such a way that it can compile under
all JDKs without switches?

The reason I'm asking is that I can see a lot of benefit in having a single
codebase that compiles on all platforms without needing the switch scripts.

Al.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 23, 2002 2:05 PM
Subject: [mail] Re: [Hsqldb-developers] hsqldb-dev JDK 1.4 patch


> Thanks,
>
> The code compiles under JDK 1.4. To enable this, however, you need to
> compile it first with Ant (only once) with your JAVA_HOME system variable
> pointing to the JDK1.4 installation. This will modify the sources and
remove
> comments from the JDBC3 methods that are already there. You can also run
> switchToJDK14.bat or switchToJDK14.sh once to achieve the same result.
>
> Fred Toussi
>
> ------------------------
>
> Al wrote:
>
> I've created a patch against the hsqldb-dev branch of CVS which allows the
> code to compile under JDK 1.4, I'm not sure if it's any use, but I thought
> I'd post it just in case.
>
> Most of the methods throw a SQLException stating "Method not implemented",
> I'll work on these slowly, but I initially wanted to get a patch in so the
> work could beintegrated piece by piece.
>
> Regards,
>
> Al.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> hsqldb-developers mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/hsqldb-developers
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hsqldb-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hsqldb-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hsqldb-developers

Reply via email to