Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
TBD
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Platform 2.0.0
-
Component/s: None
-
Labels:None
-
Complexity: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
-