In my DAO, I want to query all data from database. 
In Appfuse1.9.x, I write:
    "getHibernateTemplate().find("from DqMenu");

Now, In appfuse2.0. When execute this code there will be a error. because
there is no hbm.xml in appfuse2.0

when i  use "getHibernateTemplate().find("from
com.bt.agora.dqviewer.security.model.DqMenu");
there still will be a error: :no persistent classes found for query class:
from com.bt.agora.dqviewer.security.model.DqMenu

    if i want to still use find("") method, what can i do? I mean: I don't
know how to create relationship between an object name in find("object
Name") and a model.
-- 
View this message in context: 
http://www.nabble.com/A-serious-problem-about-appfuse2-hibernate-tf4716958s2369.html#a13483962
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to