db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Query uses QueryLanguage
Date Mon, 30 Jul 2007 17:25:07 GMT

There is a note in the QueryLanguage enum that it would be nice to  
allow other languages.

How about we redefine the language in the @Query annotation instead of:

    QueryLanguage language() default QueryLanguage.JDOQL;

String language() default "JDOQL";

This would cater for other languages and it's less typing, too.


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!

View raw message