3380 Commits

Author SHA1 Message Date
Andrea Boriero
bf2bc323f6 HHH-11188 - SessionImpl.refresh() throws IllegalArgumentException, 'Entity not managed' for detached instances when JPA bootstrapped 2016-10-26 11:15:31 +03:00
Martin Simka
957ec3fa79 [HHH-11203] fix some minor test issues 2016-10-25 19:27:17 +01:00
Chris Cranford
0e2b2f11e7 HHH-11145 - Fix limit handler to ignore regex search keywords that are quoted. 2016-10-25 09:57:17 -04:00
Nick
dd14feac5a HHH-11179 - NullPointerException on lazy load of non-existed entity outside transaction 2016-10-25 15:17:30 +03:00
Vlad Mihalcea
7b263f8697 HHH-10465 - Loss of precision in temporal JavaTypeDescriptor implementations
Fix test to work on UTC-X timezones as well
2016-10-25 14:54:01 +03:00
Andrea Boriero
3e5025ac10 HHH-11177 - Duplicate queries during startup 2016-10-25 10:51:51 +01:00
Andrea Boriero
7f5419ad74 HHH-11166 - JPA & JTA - java.lang.IllegalStateException: Session/EntityManager is closed when EntityManaer is closed with an active Transaction 2016-10-25 11:56:16 +03:00
Vlad Mihalcea
50346775b0 HHH-10465 - Loss of precision in temporal JavaTypeDescriptor implementations
Test to validate if the Timestamp time handles fraction of a second
2016-10-24 18:29:23 +03:00
Christian Beikov
877a05213c Fix failing WithClauseTest 2016-10-24 16:14:11 +02:00
Christian Beikov
556aa265c0 Add property for disabling subquery join rewrites and handle mysql quoted identifiers 2016-10-21 13:44:08 -05:00
Andrea Boriero
9e8fd60e26 HHH-11159 - JPA CriteriaUpdate, NnullLiteral causes IllegalArgumentException: Could not convert java type to Hibernate type 2016-10-20 22:58:31 -07:00
Andrea Boriero
1c1fe2a9af HHH-11159 - Add test for issue 2016-10-20 22:58:30 -07:00
Andrea Boriero
b3151de647 HHH-11182 - HQL subquery with constraint property in superclass does not join superclass table 2016-10-20 13:19:53 -07:00
Gail Badner
38379a537a HHH-11182 - Add test for issue 2016-10-20 13:19:53 -07:00
Yordan Gigov
3b196fb2e1 HHH-11171 - Java 8 time types fail Externalization 2016-10-20 16:20:34 +03:00
Andrea Boriero
0439e855cc HHH-11184 - SessionFactoryDelegatingImpl.registerNamedSQLQueryDefinition call wrong delegate method 2016-10-20 10:52:28 +01:00
barreiro
5f61ee0b43 HHH-11050 - [bytecode enhancement] Add support for getters/setters through delegation 2016-10-18 12:32:10 -05:00
barreiro
90ffcec3fa HHH-11050 - [bytecode enhancement] Test case 2016-10-18 12:32:10 -05:00
Christian Beikov
416fe7e6a8 Fixed HHH-11157 and extended identifier handling 2016-10-11 11:53:10 +03:00
Brian Peterson
5f50e1e919 HHH-10489 : DB2400Dialect could use the same LimitHandler as DB2Dialect
HHH-11150 : DB2 on AS400 (DB2400 Dialect) fails to paginate.

Leveraged code from the DB2 Dialect and placed in DB2400Dialect. This was then tested on an AS400 successfully.
2016-10-11 11:32:34 +03:00
Vlad Mihalcea
0c8261b0ae HHH-9864 - foreign key violation with order_inserts=true and batches with mixed subclass entities 2016-10-10 18:03:30 +03:00
Andrea Boriero
774a16c2d9 HHH-6562 - Unknown collection role when accessing ElementCollection in Embeddable via Criteria API 2016-09-29 22:36:41 -07:00
barreiro
20c2037529 HHH-10981 - No need to add template methods for inherited persistent fields 2016-09-29 18:15:46 +01:00
barreiro
e2641afb12 HHH-10981 - Support private persistent fields in @MappedSuperclass 2016-09-29 18:15:46 +01:00
barreiro
63af953566 HHH-10981 - Test case 2016-09-29 18:15:46 +01:00
Christian Beikov
5d6678a414 Added testcase that demonstrates issue with join table index column usage 2016-09-29 11:58:26 -05:00
Christian Beikov
1d823ceb76 Test and fix for HHH-9329 2016-09-29 11:58:26 -05:00
Chris Cranford
de7ca7882b HHH-11131 - Refactored generator and database structure code. 2016-09-29 17:45:14 +01:00
Christian Beikov
d48ac0f0f7 HHH-10229 - Select value from element collection results in wrong SQL being produced 2016-09-29 11:35:29 -05:00
Steve Ebersole
9aa164ed27 HHH-10818 - Allow AttributeConverter on attributes marked as Lob (REALLY this time) 2016-09-29 11:27:27 -05:00
Christian Beikov
b6aa191720 Test and fix for HHH-11140 2016-09-29 09:08:41 -05:00
Gail Badner
f34508e3f3 HHH-10998 : NullPointerException when using join with subselect in hbm mapping 2016-09-28 17:34:09 -07:00
Chris Cranford
2d03ba9747 HHH-11133 - Add discriminator-value attribute support for joined-subclass hbm mapping elements. 2016-09-28 16:27:45 -05:00
Andrea Boriero
de3153a8e1 HHH-11023 - Startup performance regression : schema update/validate 2016-09-28 19:12:46 +01:00
Andrea Boriero
30165d4aef HHH-11092 - NamedNativeQueries ordinal parameters are zero based 2016-09-28 16:26:07 +01:00
Andrea Boriero
f8f5486fda HHH-11092 - Add test for issue 2016-09-28 16:26:07 +01:00
Andrea Boriero
306c151fff HHH-11121 - Wrong NativeQueryImpl.setZeroBasedParametersIndex when Session#createSQLQuery is executed after EM#createNativeQuery 2016-09-28 16:26:07 +01:00
Andrea Boriero
47e925ead4 HHH-11121 - Add test for issue 2016-09-28 16:26:07 +01:00
Vlad Mihalcea
8201c69103 HHH-11076 - Lazy collections ignore filters when allowLoadOutsideTransaction is true
Roll back fix since it got rejected due to some corner cases that are now added to ProxyPreservingFiltersOutsideInitialSessionTest
2016-09-28 17:18:18 +03:00
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
ChristophDreis
d2d947068d HHH-11136 - Reduce memory consumption caused by Method.getParameterTypes() 2016-09-27 09:08:41 +02: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
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
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