Java 1.4 Compatibility issues

2 messages Options
Embed this post
Permalink
Saso Musevic

Java 1.4 Compatibility issues

Reply Threaded More More options
Print post
Permalink
Hi!

Recently, I worked for a client, who had its application servers running on Java 1.4. Moving to Java 5.0 compliant application servers would cost them several thousands EUR, so it was out of the question.

Forced to work with Java 1.4 I discovered, that hibernate spatial uses Java 5.0 features: generics, annotations and enums, so I decided to make it backward compatible.

If any one is interested, I have rewritten hibernate-spatial and hibernate-spatial-oracle modules (currently, that excludes test packages, so no tests were run yet) in Java 1.4. They seem to work fine, but I'm not using all the features, so there might be some hidden problems, specially because tests were not run.

Greetings,
     Saso M.



_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users
Karel Maesen

Re: Java 1.4 Compatibility issues

Reply Threaded More More options
Print post
Permalink
Hi Saso,

Have you tried retrotranslator (http://
retrotranslator.sourceforge.net/) or retroweaver (http://
retroweaver.sourceforge.net/)? It would be nice to see if these work  
so we can automatically create a 1.4 compatible binary (incl. test  
classes).

If you also get the tests to work, I'd be very happy to host your  
work on the Hibernate Spatial site.

Btw, I still need to get back to you on the OracleConnection problem  
when using caching.  Expect a mail in the next few days.

Regards,

Karel

On 07 Feb 2008, at 08:26, Saso Musevic wrote:

> Hi!
>
> Recently, I worked for a client, who had its application servers  
> running on Java 1.4. Moving to Java 5.0 compliant application  
> servers would cost them several thousands EUR, so it was out of the  
> question.
>
> Forced to work with Java 1.4 I discovered, that hibernate spatial  
> uses Java 5.0 features: generics, annotations and enums, so I  
> decided to make it backward compatible.
>
> If any one is interested, I have rewritten hibernate-spatial and  
> hibernate-spatial-oracle modules (currently, that excludes test  
> packages, so no tests were run yet) in Java 1.4. They seem to work  
> fine, but I'm not using all the features, so there might be some  
> hidden problems, specially because tests were not run.
>
> Greetings,
>      Saso M.
>
>
> _______________________________________________
> hibernatespatial-users mailing list
> [hidden email]
> http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/ 
> hibernatespatial-users

_______________________________________________
hibernatespatial-users mailing list
[hidden email]
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users