When i ran the first query (to check for ‘?’) - i got 0 results - turns out there are no entries for ‘reporting_report_design’ table in the information schema
I have checked that my user - “root” has access to the INFORMATION_SCHEMA and openmrs db. I can also query the liquibase tables via workbench.
Overall - I have downloaded the openmrs war and am running it locally via tomcat and the small demo data set.
Could someone please help me out with potential solutions?
Thanks for the response! I installed the reporting module and restarted
tomcat but i’m still getting the same error and the query still returns
empty. Anything else I can try please?
Hello, I am creating a new Drug Order module. I am trying to create a new table ‘drugorders’. I have updated by liquibase file and the DrugOrders.hbm.xml file and I see my config file updated with tag. I am getting the same error while uploading the module.
I am working on OpenMRS 2.3
Could you please let me know what I am missing…
I have followed the suggestion posted here but that didn’t help.
Sorry, I am unable to locate the missing requirement.
“Error while trying to start module
Unable to update data model using liquibase.xml. Module: drugorders”
I don’t find any link / file where I can see the detailed error.
Btw - I am able to see the table created when I upload it for the first time, but thereafter when I rebuild my module again, it fails…
@hariniparth the root cause is: org.hibernate.PropertyNotFoundException: Could not find a getter for startdate in class org.openmrs.module.drugorders.drugorders
I had the get and set methods removed from comments before i got that error…but Thanks for the link on naming conventions - I see that I had got them wrong. However I still see the same error when I try to rebuild the next time
“Error while trying to start module Unable to update data model using liquibase.xml. Module: drugorders”
It seems like it was the naming conventions of the Getters/Setters that was causing that issue. I added a few more columns according to my requirements yesterday and it still works fine.
Thanks for the help!