Skip to content

Commit 7d3a450

Browse files
committed
Revert PropertiesType
1 parent 69b590b commit 7d3a450

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

api-1.9/src/main/java/org/openmrs/module/reporting/report/service/db/PropertiesType.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
package org.openmrs.module.reporting.report.service.db;
1111

1212
import org.hibernate.HibernateException;
13-
import org.hibernate.engine.spi.SharedSessionContractImplementor;
1413
import org.hibernate.usertype.UserType;
1514

1615
import java.io.IOException;
@@ -104,17 +103,17 @@ public boolean isMutable() {
104103
}
105104

106105
/**
107-
* @see UserType#nullSafeGet(ResultSet, String[], SharedSessionContractImplementor, Object)
106+
* @see UserType#nullSafeGet(ResultSet, String[], Object)
108107
*/
109-
public Object nullSafeGet(ResultSet rs, String[] names, SharedSessionContractImplementor session, Object owner) throws HibernateException, SQLException {
108+
public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws HibernateException, SQLException {
110109
String s = rs.getString(names[0]);
111110
return assemble(s, null);
112111
}
113112

114113
/**
115-
* @see UserType#nullSafeSet(PreparedStatement, Object, int, SharedSessionContractImplementor)
114+
* @see UserType#nullSafeSet(PreparedStatement, Object, int)
116115
*/
117-
public void nullSafeSet(PreparedStatement st, Object value, int index, SharedSessionContractImplementor session) throws HibernateException, SQLException {
116+
public void nullSafeSet(PreparedStatement st, Object value, int index) throws HibernateException, SQLException {
118117
String val = (String) disassemble(value);
119118
st.setString(index, val);
120119
}

0 commit comments

Comments
 (0)