Changeset 7380
- Timestamp:
- May 22, 2017, 2:04:48 PM (6 years ago)
- Location:
- branches/hibernate-5.2/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hibernate-5.2/src/clients/web/net/sf/basedb/clients/web/servlet/Upload.java
r7242 r7380 215 215 } 216 216 217 // We don't need the database connection while uploading218 dc.disconnect();219 220 217 // Read the uploaded data 221 218 InputStream uploadStream = uploadedFile.getInputStream(); … … 246 243 // to the end in case it contains info that we need 247 244 upload.next(); 248 249 // The upload is done, now set other properties250 dc.reconnect();251 245 } 252 246 -
branches/hibernate-5.2/src/core/net/sf/basedb/core/AnnotationBatcher.java
r7377 r7380 215 215 @since 3.11 216 216 */ 217 @SuppressWarnings({ "unchecked" })217 @SuppressWarnings({ "unchecked", "rawtypes" }) 218 218 private AnnotationBatcher(DbControl dc, Item itemType, Integer projectId) 219 219 { -
branches/hibernate-5.2/src/core/net/sf/basedb/core/HibernateUtil.java
r7379 r7380 2227 2227 } 2228 2228 2229 @SuppressWarnings("deprecation") 2229 2230 static ClassMetadata getClassMetadata(String entityName) 2230 2231 { -
branches/hibernate-5.2/src/core/net/sf/basedb/core/LogControl.java
r7374 r7380 137 137 scalar values only, not entities. 138 138 @return A Query 139 */ 139 @deprecated In 3.12. use {@link #createHqlQuery(String, Class)} instead 140 */ 141 @Deprecated 140 142 public org.hibernate.query.Query<?> createHqlQuery(String hql) 141 143 { … … 184 186 implementation. The query uses the stateless session. 185 187 @return A query 186 */ 188 @deprecated In 3.12. use {@link #createSqlQuery(String, Class)} instead 189 */ 190 @Deprecated 187 191 public org.hibernate.query.Query<?> createSqlQuery(String sql) 188 192 { -
branches/hibernate-5.2/src/core/net/sf/basedb/core/hibernate/SessionWrapper.java
r7364 r7380 76 76 @base.modified $Date$ 77 77 */ 78 @SuppressWarnings("unchecked") 78 79 public class SessionWrapper 79 80 extends AbstractQueryCache … … 859 860 } 860 861 861 @SuppressWarnings({ "rawtypes" , "unchecked"})862 @SuppressWarnings({ "rawtypes" }) 862 863 @Override 863 864 public NativeQuery createNativeQuery(String sql, Class resultClass) … … 1089 1090 } 1090 1091 1091 @SuppressWarnings("unchecked")1092 1092 @Override 1093 1093 public <T> T unwrap(Class<T> cls)
Note: See TracChangeset
for help on using the changeset viewer.