i got an bean exception on the hibernate part and already search on the forum and count find any familiar cases.
I have done this steps with my service LesionType and now i wanted to use with an DB :
please make sure u always clearly attach the exception_log. use pasterbin to paste the whole log… thats wen we can have a clue on the possible causes
and can u specify which version f the openmrs platform your building against.
from wat i see it may be a hibernate 3/hibernate 4 incompatibility…but paste the whole stack trace
sorry totally forgot to use pastebin, im using OpenMRS dist 2.7and trying to use hibernate 3 due to on hibernate 4 to save some time on starting the server.
@tendomart im using that already
@mozzy@owais.hussain my moduleApplicationContext , the server start up with liquibase here and on the page here
ps: i cant paste the fully server log it exceeds on nr of lines on the windows command line and paste bin max size any solution for that?
2.7 cannot be an openmrs paltform version , …thats a referenece app version.
r u using the SDK to create your module?
u shud upgrade your openmrs platform version your building against, to be able to use hibernate 4 to use “sessionFactory” in your hibernate classes, otherwise sometimes its a bit challenging to use “DbsessionFactory” ,especially wen your not so familliar with configuring a new module.