openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance J. Andersen" <Lance.Ander...@Sun.COM>
Subject Re: JPA spec wierdism?
Date Fri, 16 Feb 2007 01:44:03 GMT
He is using a period.

So for an entity of Foo, the name query would be

query ="select f from foo f")

Dain Sundstrom wrote:
> On Feb 15, 2007, at 5:19 PM, Lance J. Andersen wrote:
>>> Yes. The best we could do is to make a recommendation that users 
>>> guarantee uniqueness of names by prepending the entity name to the 
>>> query name.
>> This is exactly what Mike Keith recommends in his book Pro EJB 3 Java 
>> Persistence API
> Do you know which character he uses as the separator?  I'm using a 
> period, but if everyone else is using say '#', I can change my code 
> generator.
> -dain

View raw message