+1 on that one!

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 30, 2007 10:25 AM
To: Apache JDO project; JDO Expert Group
Subject: Query uses QueryLanguage

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:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!


Reply via email to