openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: JDBC 4 (was: Was it just me?)
Date Tue, 01 Aug 2006 05:01:33 GMT
You can access earlier versions of jdbc to compile against using  
special javac properties for library jars. But I don't know how maven  
deals with this.

What specific errors are you getting when compiling against jdbc 4?  
I'm not aware of any additions that would make programs that compile  
against jdbc 3 not compile against jdbc 4. You don't *implement* any  
jdbc interfaces, do you?


On Jul 31, 2006, at 8:37 PM, Patrick Linskey wrote:

>>>> BTW, you may be aware, but it doesn't compile on Java 6
>> due to the
>>>> JDBC interface changes. I'll add that to JIRA if its not there
>>>> already.
>>> Yeah, we've had this problem in the past as well.
>> Historically, we've
>>> created special modified JDBC jars so that we can compile
>> on earlier
>>> VM versions. How is this type of problem typically handled
>> in Apache-land?
>> Isn't this the other way around? If the additional methods
>> are implemented to make it compile on Java 6, it will
>> continue to be binary compatible with the earlier JDBC versions.
> Yes, that. Meant "so that we can run on earlier VM versions."
> So... how does Apache typically deal with this? The only alternate to
> the way we've done things in the past is an approach that uses dynamic
> proxies / auto-generated proxies / dynamically-modified classes.
> -Patrick
> ______________________________________________________________________ 
> _
> Notice:  This email message, together with any attachments, may  
> contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and   
> affiliated
> entities,  that may be confidential,  proprietary,  copyrighted   
> and/or
> legally privileged, and is intended solely for the use of the  
> individual
> or entity named in this message. If you are not the intended  
> recipient,
> and have received this message in error, please immediately return  
> this
> by email and then delete it.

Craig Russell
Architect, Sun Java Enterprise System
408 276-5638
P.S. A good JDO? O, Gasp!

View raw message