Details
-
Sub-task
-
Status: Closed
-
TBD
-
Resolution: Fixed
-
None
-
None
-
None
-
Medium
Description
In Hibernate 4 there is no Session.connection(), so we need to provide a new way to get native SQL connection to the database.
org.openmrs.util.DatabaseUtil.executeSQL(Connection, String, boolean) is one of methods that uses connection and callers of that method need to be fixed.
Please use session.doWork() instead. See http://stackoverflow.com/a/3526626
Gliffy Diagrams
Attachments
Issue Links
- is related to
-
TRUNK-4695 Remove deprecated getMRNGeneratorLog and mrnGeneratorLog
-
- Closed
-
- resolves
-
TRUNK-4680 Refactor HibernateOrderDAO.getOrderFromDatabase
-
- Closed
-