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
and here is my module on it hub
. i have tried to google , one of the suggested cause was about the spring and hibernate version incompatibility.
@dkayiwa @tendomart @wyclif @ssmusoke @k.joseph
thx @dkayiwa… let me surely look at it
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
ive failed to configure how to use the db session
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
Exactly what I was looking for
Thanks again @dkayiwa and @mozzy
oops , i even had forgotten about some of these posts i used to make