openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <>
Subject RE: JPA spec wierdism?
Date Fri, 16 Feb 2007 06:59:50 GMT
I use period also in my examples:

Query q = em.createQuery("Person.findAll");

We actually came up with this convention before the spec went out.
Bummer that we didn't just fix the spec.


Patrick Linskey
BEA Systems, Inc. 

Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it. 

> -----Original Message-----
> From: Dain Sundstrom [] 
> Sent: Thursday, February 15, 2007 5:39 PM
> To:
> Subject: Re: JPA spec wierdism?
> 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