Commit Graph

7270 Commits

Author SHA1 Message Date
Vlad Mihalcea 23326608f7 HHH-5409 - bag and idbag should implement equals() and hashCode() the same way as other collections
This test does not verify how equals is implemented for Bags,
but rather if the child entity equals and hashCode are used properly for both
managed and detached entities.
2016-09-28 16:23:18 +03:00
Chris Cranford 3e64c710c5 HHH-11063 - Fix long entity names for pgsql test failure. 2016-09-28 09:11:36 -04:00
Vlad Mihalcea cd41d71b06 HHH-11132 - Add a Performance Tuning and Best Practices chapter
Add more details related to associations and fix typos
2016-09-28 15:04:54 +03:00
Vlad Mihalcea a705b48c41 HHH-11132 - Add a Performance Tuning and Best Practices chapter 2016-09-28 12:37:57 +03:00
ChristophDreis d2d947068d HHH-11136 - Reduce memory consumption caused by Method.getParameterTypes() 2016-09-27 09:08:41 +02:00
Steve Ebersole e3bee9eede enable build scans;
removed bad project dependency on hibernate-gradle-plugin in documentation
2016-09-26 17:33:20 -05:00
Vlad Mihalcea dda90ef3d0 HHH-11108 - Add test to prove that @Basic( fetch = FetchType.LAZY ) really works as expected
Roll back changes since we already have the JpaRuntimeEnhancementTest to prove this works and it does not use build-time enhancement
2016-09-22 12:40:22 +03:00
Chris Cranford f521017b90 HHH-11084 - Fix injection of TOP for subselect cases that use select distinct clause. 2016-09-21 16:21:02 -04:00
Chris Cranford a41b726236 HHH-11063 - Added test case. 2016-09-21 16:21:02 -04:00
Chris Cranford 2f3798de03 HHH-11063 - Fix collection change logic for addition/removal of elements with same hash. 2016-09-21 16:21:02 -04:00
Chris Cranford 20ae4920b7 HHH-5908 - Avoid unnecessary updates on detached un-modified entities with SelectBeforeUpdate.
HHH-11056 - Envers audits unchanged objects for a certain use case
2016-09-21 16:38:59 +03:00
Boris Byk 348f92b340 HHH-11120 - SessionFactoryOptionsImpl#releaseResourcesOnCloseEnabled never initialized 2016-09-21 16:34:28 +03:00
ChristophDreis d4d2b8f74f HHH-11119 Improve performance of StringHelper.qualify() and StringHelper.unqualify() 2016-09-21 10:44:05 +01:00
Chris Cranford 2b5e201653 HHH-7681 - Fix setting fake bidirectional attributes to null on collection change work units. 2016-09-20 15:22:41 -04:00
Chris Cranford 16fd531b6a HHH-7681 - Envers test case. 2016-09-20 15:22:41 -04:00
Vlad Mihalcea cc21eeb1af Skip test failing on Java 1.9 using Gradle 2016-09-20 20:01:13 +03:00
Vlad Mihalcea bd8c3c226d Disable bytecode enhancement for documentation module as well as the test that makes use of this feature if the JDK version is 1.9 2016-09-20 18:23:45 +03:00
Vlad Mihalcea 2b30cabf2f HHH-11116 - Improve the JPA bootstrapping section in the User Guide 2016-09-20 16:57:33 +03:00
Damien Hollis 9498b52566 HHH-10659 - Natural Id 2nd level Cache not working when Identity is database generated 2016-09-20 14:26:44 +03:00
Andrea Boriero dc7a1c96a3 HHH-11061 - Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign when keywords auto quoting is enabled 2016-09-20 10:45:18 +03:00
Andrea Boriero 5f60cd3b65 HHH-11099 - Closing EntityManager with an active transaction causes JTA connection leak 2016-09-19 17:45:28 +03:00
Giovanni Lovato ae40de125d HHH-11076 - Lazy collections ignore filters when allowLoadOutsideTransaction is true 2016-09-19 13:57:02 +03:00
Gail Badner 87e69c9d34 HHH-11038 : Invalid statement generated for @MapKeyColumn(updatable=false) for @OneToMany 2016-09-18 21:47:24 -07:00
Gail Badner c3f7c332f5 HHH-11038 : test case 2016-09-18 21:46:47 -07:00
Andrea Boriero 9cf4fecbfe HHH-11101 - Missing unique constraint for many-to-many with unique=true in list mapping 2016-09-15 23:43:52 -07:00
Andrea Boriero a3eac62761 HHH-11101 - Add test for issue 2016-09-15 23:43:52 -07:00
Andrea Boriero fd918c2a6e HHH-10972 - Fix checkstyle error 2016-09-15 15:04:36 +01:00
Vlad Mihalcea b995d7a70e HHH-10972 Use UTF-8 charset for reading file content of scripts that are used for initializing databases
Fix tests failing on Linux because the processTestRessources filter task was assuming UTF-8 source files even for the ISO-8859-1 files
2016-09-15 16:39:00 +03:00
Vlad Mihalcea 55e175ce31 HHH-11108 - Add test to prove that @Basic( fetch = FetchType.LAZY ) really works as expected 2016-09-15 14:42:06 +03:00
Jaikiran Pai 7247f05a21 HHH-10972 Use UTF-8 charset for reading file content of scripts that are used for initializing databases 2016-09-15 11:52:41 +03:00
Andrea Boriero c9c50d8afd HHH-11081 - JPA join with treat causes QuerySyntaxException: Invalid path 2016-09-14 23:34:48 -07:00
Andrea Boriero 4d3ece8c09 HHH-11081 - Add test for issue 2016-09-14 23:34:48 -07:00
Vlad Mihalcea 6f43d40e0a HHH-10399 - Add support for specifying TimeZone for ZonedDateTime type
Fix test failing in TimeZones with negative offsets
2016-09-15 08:27:59 +03:00
Steve Ebersole 81aba17771 HHH-11098 - Attributeconverter converttoEntityAttribute and convertToDatabaseColumn code is called within a query.list() call -> slow 2016-09-14 10:25:47 -05:00
Martin Simka 4bf4e3b81a HHH-11037 - fix tests on Oracle
fixes ORA-00972: identifier is too long on Oracle databases
2016-09-14 11:24:16 +03:00
Steve Ebersole 0a2a5c622e HHH-11097 - Performance problem if cached entity has attribute state with an expensive toString() method (LOB, etc) 2016-09-13 21:10:23 -05:00
Steve Ebersole c7c9e42145 HHH-11097 - Performance problem if cached entity has attribute state with an expensive toString() method (LOB, etc) 2016-09-13 17:00:02 -05:00
Vlad Mihalcea a00a30f488 Fix broken tests on Jenkins 2016-09-13 14:57:32 +03:00
Vlad Mihalcea 62e499538c HHH-10399 - Add support for specifying TimeZone for ZonedDateTime type
Add documentation and supply more tests
2016-09-13 13:35:01 +03:00
Vlad Mihalcea 553942d2f9 HHH-10399 - Add support for specifying TimeZone for ZonedDateTime type 2016-09-12 10:50:54 +03:00
Vlad Mihalcea d229534647 Add test to replicate if JOINED inheritance ends up in a Cartesian Product 2016-09-09 10:31:45 +03:00
Piotr Findeisen f18656473d HHH-11082 Log the failing SQL when the batched execution throws a RuntimeException (e.g. StaleStateException) 2016-09-05 16:42:49 +03:00
Sanne Grinovero 5527bd0d60 Delete git module which was unintentionally added 2016-09-02 13:01:30 +01:00
dewarder 8de4ff2a3a HHH-10406 - Provide @CreationTimestamp and @UpdateTimestamp for Java Time 2016-08-31 15:32:36 +03:00
Yanming Zhou fec5afc8b6 HHH-11074 - Add method setTimeout for DetachedCriteria 2016-08-31 14:29:56 +03:00
Gail Badner 839bf0b6f9 HHH-11073 : Casting to boolean in HQL query fails on MySQL 2016-08-31 00:22:16 -07:00
Gail Badner 4551e521c1 HHH-11073 : test case 2016-08-31 00:21:25 -07:00
Gail Badner b28e0974df HHH-11072 : Skip CriteriaLiteralInSelectExpressionTest#testStringLiteral2 for Oracle, Db2, SQL Server, and Sybase dialects 2016-08-30 23:10:00 -07:00
Steve Ebersole d5cbd8fdf0 HHH-8630 - random map key column generated when using @AttributeOverrides and @ElementCollection 2016-08-30 18:41:56 -05:00
姜禹 19834a0046 HHH-10502 - ORDER BY FIELD(..) throws java.sql.SQLException: Operand should contain 1 column(s) 2016-08-30 15:56:52 +03:00