i have added a service class to my module, added a table to the database using LIquibase,configured the hibernete.xml file and the module applicationcontext.xml file . but when i i try to run the module link from administration page , it gives me the following error
but am still confused on how to use the Dbsession class in my DAO.
Do i have first have to copy the whole Dbsession class code into my project… and that woud also ,mean copying the DBsessionFactory class code? .
yet wen i copy the whole DbsessionFactory class code , it returns errors
Thank u sir , i finally solved t. my problem was that , eventhe openmrs-api my module was using doesnt contain the hibernate-compatibility source code as most of the references in that document. so i had to first include the hibernate-compatibility module to be able to use the DbSessionFactory class