Commit Graph

8497 Commits

Author SHA1 Message Date
Steve Ebersole 409596235c HHH-12097 - EntityManagerFactory open/closed checks per JPA spec 2017-12-13 06:19:30 -06:00
Steve Ebersole 25ba7bd60d HHH-12096 - Problem finding correlated getter-method for field access 2017-12-13 06:19:30 -06:00
Steve Ebersole 4688d4412f HHH-12098 - prep 5.3 2017-12-13 06:19:30 -06:00
Steve Ebersole dedc9ef8eb HHH-12098 - prep 5.3 2017-12-13 06:19:30 -06:00
Andrea Boriero 5111a468c4 HHH-11913 : Schema generation ignores index DESC/ASC order 2017-12-13 06:19:01 -06:00
Andrea Boriero 8b313976d9 HHH-11913 : Add test for issue 2017-12-13 06:19:01 -06:00
Jonathan Bregler 7b59cb2f8d HHH-12132: HANA boolean type mapping doesn't work for existing schema definitions
- introduce parameter hibernate.dialect.hana.use_legacy_boolean_type to enable
  switching between new and legacy behavior.
2017-12-12 16:45:48 -05:00
Chris Cranford a0f430a94d Checkstyle fixes. 2017-12-12 13:40:29 -05:00
Chris Cranford 6c1948b6b3 HHH-12159 - Fix Warning HHH000274 when using Formula with a string-based size constrained property. 2017-12-11 18:05:27 -05:00
Sanne Grinovero 2296ee7768 HHH-12158 No longer need a custom repository to fetch geolatte 1.2 2017-12-11 20:40:25 +00:00
Chris Cranford e3cc2d78e9 HHH-12119 - Fix NameQueryTupleTransformer discarding alias name case. 2017-12-11 12:08:38 -05:00
Jonathan Bregler db2e3906ab HHH-12138: HANA dialect doesn't support procedure parameter mode REF_CURSOR 2017-12-11 14:43:02 +02:00
Vlad Mihalcea 55ab0d5677 Add test to check if persisting a @OneToOne child entity which has @MapsId works when referencing a parent entity 2017-12-06 11:56:58 +02:00
Chris Cranford 4946397082 HHH-12063 - Enable Envers to work with AttributeAccessor annotation. 2017-12-05 10:56:33 +01:00
Chris Cranford d7da90f9cc HHH-12063 - Added test case. 2017-12-05 10:55:33 +01:00
Chris Cranford 0dc788f42f HHH-12062 - Make sure AttributeAccessor annotation is read. 2017-12-05 09:41:55 +01:00
Chris Cranford 80f315c328 HHH-12062 - Added test case. 2017-12-05 09:41:19 +01:00
Vlad Mihalcea 9ebd56e762 HHH-12120 - Update StandardDialectResolver to reflect the latest Dialects of PostgreSQL and MySQL
- add License header to Database class
2017-11-30 13:52:22 +02:00
Edward.Wilson 7011347b9a HHH-12140 - Allow session scoped interceptors to be managed by DI providers (e.g Spring) 2017-11-30 13:31:53 +02:00
graemerocher 5415d635dd HHH-11721 - PreInsertEventListener that just vetoed ends up throwing NullPointerException because the entity is still managed 2017-11-28 12:07:21 +02:00
Yanming Zhou 304a0a89da HHH-12120 - Update StandardDialectResolver to reflect the latest Dialects of PostgreSQL and MySQL 2017-11-28 11:59:25 +02:00
Steve Ebersole 400a4bc24e HHH-12115 - No Dialect mapping for JDBC type: 1899073220 in Wildfly (AttributeConverter and Short)
Improved JavaDocs pointing to the exact parts of the JDBC spec that the JdbcTypeJavaClassMappings mappings come from;
Added mapping for BigInteger as well
2017-11-27 11:11:59 -06:00
Tiger Wang 6b1f3e51a9 HHH-12115 - attribute converter add mapping of Java Short type to JDBC SMALLINT type 2017-11-27 17:07:50 +02:00
Andrea Boriero f0d49c5be4 HHH-12113 - Fix Checkstyle error 2017-11-27 14:48:35 +00:00
Vlad Mihalcea 47382f69cc HHH-12113 - The JDBC batch sorting algorithm can be simplified due to latest modifications 2017-11-21 17:40:45 +02:00
Vlad Mihalcea 7f70dccc71 HHH-12108 - Fix tests failing on Oracle 2017-11-21 16:47:16 +02:00
Vlad Mihalcea 5b710533f7 HHH-11028 - {h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate
Trim the sQL query before checking it for {h-schema} placeholders
2017-11-21 15:46:36 +02:00
Vlad Mihalcea 88c2bda837 HHH-12112 - The query optimizer hint fails on Oracle 2017-11-21 15:13:06 +02:00
Vlad Mihalcea 26041f49e1 HHH-12111 - Oracle does not support positive/negative initial sequence values for descending/ascending sequences unless MAXVALUE/MINVALUE is defined as well 2017-11-21 15:02:45 +02:00
Vlad Mihalcea 9b062e4a6b HHH-11028 - {h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate
Skip substitute brackets for stored procedures
2017-11-21 14:03:59 +02:00
Vlad Mihalcea 44a31550c4 HHH-12087 - Pagination does not work with Oracle views
Roll back change because it breaks the follow-on-locking mechanism
2017-11-21 12:26:59 +02:00
Vlad Mihalcea 779dcc4078 Change log file to log.txt because otherwise it's ingored by git 2017-11-20 19:21:09 +02:00
rustem.yagudin d6441b7081 HHH-12087 - Pagination does not work with Oracle views 2017-11-20 16:00:28 +02:00
Andrea Boriero 8aa8485a54 IntelliJ created out folder should not be included into distribution artifacts 2017-11-20 12:38:19 +00:00
Andrea Boriero 877e790995 HHH-5645 - Fix Checkstyle errors 2017-11-20 12:33:50 +00:00
Andrea Boriero d330fdcfca HHH-12086 - Fix Checkstyle error 2017-11-20 12:33:50 +00:00
Anders Wallgren 7a32ea62b6 HHH-12105 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation 2017-11-20 12:41:27 +02:00
Gary LosHuertos c4010d0af0 HHH-9158 - cascade-persist in orm.xml does not apply to annotation-based relationships 2017-11-16 11:10:55 +02:00
Vlad Mihalcea abb3590d33 HHH-11117 - LazyPropertyInitializer$1 cannot be cast to [B when calling Session.merge() on compile time enhanced composed entities
Add a test case to prove it works after HHH-12054 got fixed
2017-11-16 10:43:55 +02:00
barreiro ae8c365bf5 HHH-12054 - Handle UNFETCHED_PROPERTY in CollectionType.replace() 2017-11-16 10:14:22 +02:00
Gail Badner d2a19c9a77 HHH-12007 : Executing JPA query results in persistence of new/unmanaged entity 2017-11-15 20:37:48 -08:00
Vlad Mihalcea a9f1caf998 HHH-9331 - Aggregate functions for subqueries not working 2017-11-15 12:37:17 +02:00
Vlad Mihalcea 5a91673ef2 HHH-5274 - HQL-Insert with Select and Sub-Select fails 2017-11-15 11:50:30 +02:00
Vlad Mihalcea fe60239301 HHH-5645 - Criteria.createAlias with specified criterion results in wrong parameters passed into SQL statement
Roll back changes since the test passes even without them
2017-11-15 08:46:01 +02:00
Eric Haas dbd5f81f79 HHH-5645 - Criteria.createAlias with specified criterion results in wrong parameters passed into SQL statement 2017-11-14 18:42:22 +02:00
Vlad Mihalcea eaeda2f41d HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
Add a maximum iteration threshold, to avoid a stack overflow error in case there will be circular dependency that's not properly detected
2017-11-13 20:54:28 +02:00
randymay a5d50c3bd5 HHH-12076 - Query not built properly when joining a table based on class
Add replicating test case for HBM mappings
2017-11-13 18:12:02 +02:00
randymay 26ae3c6726 HHH-12076 - Query not built properly when joining a table based on class
Add test case that proves the issue does not replicate for annotation mappings
2017-11-13 17:32:43 +02:00
Vlad Mihalcea 427bba4212 HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
Fix indentation.
2017-11-13 11:04:40 +02:00
Anders Wallgren 9ae9810f85 HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation 2017-11-13 10:49:50 +02:00