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
Hi,

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

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!


Mime
View raw message