I am trying out the sample hibernate application available with the JBOSS admin guide. I get the following error when I try to execute a query : [QuerySplitter] no persistent classes found for query class: from org.jboss.hibernate.adminguide.Customer order by username
Has anyone encountered this problem? This is the query I tried to execute Query query = hsession.createQuery("from org.jboss.hibernate.adminguide.Customer order by username");
This is my hibernate mapping file: Customer.hbm.xml <hibernate-mapping> <class name="org.jboss.hibernate.adminguide.Customer" table="customers"> ... </hibernate-mapping> Thanks for any help forthcoming!
this seems like more of a hibernate problem than a JBoss AS problem, so I'm going to move it to the ObjectRelationalMapping forum -- I think they'll be able to help more there.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.