Hi,
Patrick corrected the typo that Bruce notes below on June 6th
(openjpa-project/src/doc/manual/jpa_overview_query.xml), but it is still
showing up under the "latest documentation" on-line. What are we not doing?
Thanks,
David
-------- Original Message --------
Subject: Re: Small typo in the manual
Date: Tue, 31 Jul 2007 12:09:22 -0400
From: David Ezzio <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>
Hi Bruce,
We corrected this typo in the source over a month ago. I'll see if I
can run down why it hasn't shown up on-line.
Thanks,
David
Bruce Beaumont wrote:
> Hi
>
> I am posting this here as I am not shure where to post this too:
>
> In the manual on Example 10.1Delete By Query (on-line html version)
> Query q = em.createQuery("DELETE s FROM Subscription s WHERE
> s.subscriptionDate < :today");
>
> Should read
>
> Query q = em.createQuery("DELETE FROM Subscription s WHERE s.subscriptionDate
> < :today");
>
> as the following is thrown
> An error occurred while parsing the query filter 'delete s from simple s
> where
> s.date < :deldate'. Error message: <1.0.0-SNAPSHOT-SNAPSHOT nonfatal user
> error> org.apache.openjpa.kernel.jpql.ParseException: Encountered "s" at
> character 8, but expected: ["FROM"]
>
>
>
>
> Bruce
>
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.