[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem with entity Beans

jochen.reinhardt do-not-reply at jboss.com
Fri Mar 20 19:57:41 EDT 2009


I just found another possible issue:
Your queries are using the table names instead of the entity names.
Change
    <ejb-ql>select object(o) from logindetails o</ejb-ql>
to
    <ejb-ql>select o from LoginDetails o</ejb-ql>
as you named your entity

    <ejb-name>LoginDetails</ejb-name>

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219999#4219999

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219999



More information about the jboss-user mailing list