db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew T. Adams" <matthew.ad...@xcalia.com>
Subject RE: Query uses QueryLanguage
Date Mon, 30 Jul 2007 17:47:47 GMT
+1 on that one!

-----Original Message-----
From: Craig.Russell@Sun.COM [mailto:Craig.Russell@Sun.COM] 
Sent: Monday, July 30, 2007 10:25 AM
To: Apache JDO project; JDO Expert Group
Subject: Query uses QueryLanguage


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