|
10 | 10 | package org.openmrs.module.reporting.report.service.db; |
11 | 11 |
|
12 | 12 | import org.hibernate.HibernateException; |
13 | | -import org.hibernate.engine.spi.SharedSessionContractImplementor; |
14 | 13 | import org.hibernate.usertype.UserType; |
15 | 14 |
|
16 | 15 | import java.io.IOException; |
@@ -104,17 +103,17 @@ public boolean isMutable() { |
104 | 103 | } |
105 | 104 |
|
106 | 105 | /** |
107 | | - * @see UserType#nullSafeGet(ResultSet, String[], SharedSessionContractImplementor, Object) |
| 106 | + * @see UserType#nullSafeGet(ResultSet, String[], Object) |
108 | 107 | */ |
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 { |
110 | 109 | String s = rs.getString(names[0]); |
111 | 110 | return assemble(s, null); |
112 | 111 | } |
113 | 112 |
|
114 | 113 | /** |
115 | | - * @see UserType#nullSafeSet(PreparedStatement, Object, int, SharedSessionContractImplementor) |
| 114 | + * @see UserType#nullSafeSet(PreparedStatement, Object, int) |
116 | 115 | */ |
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 { |
118 | 117 | String val = (String) disassemble(value); |
119 | 118 | st.setString(index, val); |
120 | 119 | } |
|
0 commit comments