|
Home > Archive > Apache JDO Project > July 2007 > Query uses QueryLanguage
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Query uses QueryLanguage
|
|
| Craig L Russell 2007-07-30, 1:11 pm |
| | |
| Matthew T. Adams 2007-07-30, 1:11 pm |
| +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
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!
| |
| Wes Biggs 2007-07-30, 7:11 pm |
| +1 from me too.
On 30/07/07, Matthew T. Adams <matthew.adams@xcalia.com> wrote:
> +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
>
> 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!
>
>
>
| |
| Michael Bouschen 2007-07-30, 7:11 pm |
| Hi Craig,
+1
Regards Michael
> 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!
>
--
Tech@Spree Engineering GmbH Tel.: +49/(0)30/235 520-33
Buelowstr. 66 Fax.: +49/(0)30/217 520-12
10783 Berlin mailto:mbo.tech@spree.de
Geschaeftsfuehrung: Anna-Kristin Proefrock
Sitz Berlin, Amtsgericht Charlottenburg, HRB 564 52
|
|
|
|
|