openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: beans, Enitiy annotation and bytcode enhancement
Date Fri, 06 Aug 2010 14:56:41 GMT
What version are you running on?

Thanks,
Rick

On Fri, Aug 6, 2010 at 8:05 AM, wendyLG <wendy.gibbons@thecitysecret.com>wrote:

>
> the exception is:
>
>  An error occurred while parsing the query filter "select model from Groups
> model order by model.id". Error message: The name "Groups" is not a
> recognized entity or identifier. Perhaps you meant LcwGroup, which is a
> close match. Known entity names: [Brandsponsor, ..., LcwGroup]
>
> the persistence.xml:
>
> <persistence-unit name="LCWCommonPU"
>                transaction-type="RESOURCE_LOCAL">
>                <provider>
>
>  org.apache.openjpa.persistence.PersistenceProviderImpl
>                </provider>
>                <class>com.diffordsguide.lcw.jpa.Brandsponsor</class>
>                <class>com.diffordsguide.lcw.jpa.District</class>
>                <class>com.diffordsguide.lcw.jpa.Event</class>
>                <class>com.diffordsguide.lcw.jpa.LcwGroup</class>
>                <class>com.diffordsguide.lcw.jpa.GroupEvent</class>
>                <class>com.diffordsguide.lcw.jpa.Eventsponsorordered</class>
>                <class>com.diffordsguide.lcw.jpa.Eventspeakerordered</class>
>
>  <class>com.diffordsguide.lcw.jpa.Brandsponsorimageordered</class>
>                <class>com.diffordsguide.lcw.jpa.Generalimage</class>
>                <class>com.diffordsguide.lcw.jpa.Eventtime</class>
>                <class>com.diffordsguide.lcw.jpa.Eventtype</class>
>                <class>com.diffordsguide.lcw.jpa.Speaker</class>
>                <properties>
>                        <property name="openjpa.ConnectionDriverName"
>                                value="com.mysql.jdbc.Driver" />
>                        <property name="openjpa.ConnectionURL"
>                                value="jdbc:mysql://localhost:3306/lcw" />
>                        <property name="openjpa.ConnectionUserName"
> value="..." />
>                        <property name="openjpa.ConnectionPassword"
> value="..." />
>                        <property name="openjpa.Log" value="SQL=TRACE"/>
>                        <property name="openjpa.jdbc.UpdateManager"
> value="operation-order"/>
>
>                </properties>
>
>        </persistence-unit>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message