5677 Commits

Author SHA1 Message Date
Gail Badner
9cc4e0ea2f HHH-9573 : Add EntityManager test case illustrating usage of query cache
(cherry picked from commit 3cc8cb31131e44f08abd1578ce96ab023ffe3b5a)
2015-01-16 15:14:00 -08:00
Gail Badner
e4715cc50b HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (reverts HHH-9330)
(cherry picked from commit d933c7818553e04ca18107649cda83154147b8cd)
2015-01-14 15:12:10 -08:00
Gail Badner
62bfc2781b HHH-9568 : Move test case from CascadeTest to OneToOneOrphanTest
(cherry picked from commit 083e8cf52ef18a7eaa965612a1829314fe0ff66a)
2015-01-14 15:12:09 -08:00
Martin Simka
f8c36baa77 HHH-9568 : EntityManager.flush() does not behave properly with transient one-to-one association and no cascade (test case)
(cherry picked from commit 6b4260413928e86625b1f6f3d78de27b4583d423)
(cherry picked from commit 9969f9330f7f6f3c53127592c80a6c16e16d4078)
2015-01-14 15:12:09 -08:00
Emond Papegaaij
53bc5336ba HHH-9549 : Selecting treated root generates invalid HQL
(cherry picked from commit 5e3868f58bf50196bf48b78504b6a943d2a15ca0)
(cherry picked from commit 4283f1ac480befd2c4e919299ee3c0b4bde9c082)
2015-01-06 21:34:39 -08:00
Emond Papegaaij
859fe300c7 HHH-9549 : Selecting treated root generates invalid HQL (test case)
(cherry picked from commit ea57113e814d302353343aecf67b93725e9c8da9)
(cherry picked from commit bf3130cd1c7df7010b06a607693ae7341f2a66e8)
2015-01-06 21:34:22 -08:00
Gail Badner
982c6fc0e8 4.3.8 post release 2015-01-06 18:41:32 -08:00
Gail Badner
cf350ed5c2 4.3.8.Final release 4.3.8.Final 2015-01-06 12:05:57 -08:00
Arcadiy Ivanov
f5150198de HHH-9419 : Remove after get with optimistic lock fails
(cherry picked from commit 3ee73a88b565ebaf76728345ce938e84df9cd7e3)
2015-01-06 00:23:17 -08:00
Paul Ferraro
4506987c24 HHH-9337 Region.destroy() attempts to remove a cache listener, but region class is not annotated with @Listener
(cherry picked from commit a1ba63cbc68e1b7cd163fc4719717e4423588c23)
2015-01-05 23:42:13 -08:00
Gail Badner
a98ebc4ed4 HHH-9401 : SQL warnings are never logged due to incorrect condition check 2015-01-05 22:59:02 -08:00
Gail Badner
72b1b620a5 HHH-9467 : Cannot enable NamingStrategyDelegator implementations using standalone schema tools
(cherry picked from commit 4bf3b162ad00ee977d65c02ef0f6db6fe29bde85)
2015-01-05 12:06:44 -08:00
George Gastaldi
033ea05dde HHH-9545: H2Dialect should use 'if exists' when dropping constraints 2014-12-19 11:16:20 +00:00
George Gastaldi
579675ab08 HHH-9500: H2Dialect shoud not drop constraints
The constraints are automatically dropped when the table is also dropped.
Trying to drop a constraint on a table that doesn't exist present unnecessary error messages.
2014-12-18 11:19:20 +00:00
Gail Badner
45511f10ae HHH-8401 : Unit test fixes 2014-12-17 23:21:51 -08:00
George Gastaldi
275f3337f2 HHH-6670: H2Dialect should use "if exists" when dropping sequences 2014-12-17 15:46:32 +00:00
Gail Badner
fe94cda1d1 HHH-8401 : Support fractional seconds on MySQL 5.7 2014-12-16 21:05:01 -08:00
Gail Badner
3b57f1612d HHH-9091 : Cascaded collection delete fails due to wrong execution sequence (test case) 2014-12-02 22:06:53 -08:00
Gail Badner
1ff9edfb81 HHH-9330 : Test cases for orphanRemoval=true does not work in bidirectional relationships (without cascading) 2014-11-26 15:35:22 -08:00
Gail Badner
ef3550eed5 HHH-9330 : orphanRemoval=true does not work in bidirectional relationships (without cascading) 2014-11-26 15:25:42 -08:00
Sanne Grinovero
555e229cc2 HHH-9508 Improve trace logging in ActionQueue 2014-11-18 18:25:56 +00:00
Sanne Grinovero
3aa2b8dfec HHH-9508 Avoid source syntax which doesn't work in Eclipse 2014-11-18 18:25:49 +00:00
Sanne Grinovero
439ec92627 HHH-9498 Using C3P0 connection pool but not setting hibernate.connection.isolation results in a NumberFormatException 2014-11-15 19:05:49 +00:00
Gunnar Morling
b938fa2f93 HHH-9479 Avoiding array list growth in ActionQueue constructor 2014-11-06 10:47:34 +01:00
Gail Badner
9ff134aee7 4.3.7.Final post release 2014-10-30 15:32:43 +01:00
Gail Badner
3fc0dbdf63 4.3.7.Final release 4.3.7.Final 2014-10-30 13:19:07 +01:00
Gail Badner
b943525c80 HHH-9388 : fix Entity Manager bug explicitly enabling ImprovedNamingStrategyDelegator/LegacyNamingStrategyDelegator 2014-10-22 13:46:15 -07:00
Gail Badner
460e966214 HHH-9455 : Unnecessary select count query in some cases
(cherry picked from commit 552c1c06d513bd066c0a3c6386119ea33e083cf7)
2014-10-21 13:45:37 -07:00
Gail Badner
52f2c3a002 HHH-9388 HHH-7079 : Default collection table and foreign key names are incorrect in some cases; deprecate NamingStrategy
(cherry picked from commit e5a31caa09b56ace6ad4aa4ccb99a0ad63b1ad31)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
	hibernate-entitymanager/src/test/java/org/hibernate/ejb/test/MyNamingStrategyDelegator.java
2014-10-20 22:55:40 -07:00
Gail Badner
1cba98022e HHH-9388 HHH-7079 : Default collection table and foreign key names are incorrect in some cases; deprecate NamingStrategy
(cherry picked from commit 36576046b8df859a672c90182522048dd18e1e74)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java
	hibernate-core/src/main/java/org/hibernate/cfg/HbmBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/Mappings.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
	hibernate-core/src/main/java/org/hibernate/cfg/annotations/TableBinder.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/IdentifierGeneratorResolver.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/AvailableSettings.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
2014-10-20 22:18:05 -07:00
jmoore
c60c97b468 HHH-3868 Fix null pointer exception on merge of entity with transient component 2014-10-17 15:01:35 +01:00
Maxim Frolov
83f29d1e1a HHH-8895: fixed 2014-09-30 15:40:40 +01:00
Andrea Boriero
d85f2c8d03 HHH-8895 Add test 2014-09-30 15:40:40 +01:00
andreas
fff49977ab HHH-9369 Fix @Formula of enum type results in ClassCastException 2014-09-18 11:15:16 +01:00
Sanne Grinovero
193c8cef20 HHH-9344 Convert QueryLoader to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:56 +01:00
Sanne Grinovero
16b067cd7d HHH-9344 Convert Loader to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:56 +01:00
Sanne Grinovero
0d1460cc1e HHH-9344 Convert QueryTranslatorImpl to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:55 +01:00
Sanne Grinovero
23936fd510 HHH-9344 Convert DefaultResolveNaturalIdEventListener to use nanoTime instead of currentTimeMillis 2014-09-17 14:27:55 +01:00
Sanne Grinovero
067e38a78b HHH-9344 Remove dead code from BatchTest 2014-09-17 14:27:55 +01:00
Sanne Grinovero
42cd3ff2cf HHH-9344 Guard against unneeded invocation to System.currentTimeMillis() in HQLQueryPlan 2014-09-17 14:27:55 +01:00
Gail Badner
d4d5fcc9e2 HHH-9390 : Default join column name (FK) for @ManyToMany uses owning entity primary table name (test cases) 2014-09-11 12:52:52 -07:00
Gail Badner
f2ae61abf6 HHH-9387 HHH-9389 : Default collection table and join column names generated for @ElementCollection (test cases)
HHH-9387 HHH-9389 : Default collection join column names generated for @ElementCollection (test cases)
2014-09-11 12:51:18 -07:00
Gail Badner
c63bc19d8a HHH-9327 : NamingStrategy regression (reverts HHH-9280)
(cherry picked from commit 30c6e060dba6933702a347e4f82f4579604a2aab)
2014-09-10 13:22:29 -07:00
Christian Beikov
4505843f02 Added regression test for HHH-9327
(cherry picked from commit 3da903f064e9c4963efd1f2c21d69af70e4aa1f1)
(cherry picked from commit 1df6c45f8a1a16d16e9a33938787bd2a0c8f1b8c)
2014-09-10 13:22:07 -07:00
Gail Badner
35edd56907 HHH-8839 : Eager Map with entity key causes IllegalStateException: Collection element (many-to-many) table alias cannot be empty 2014-08-18 14:00:02 -07:00
Gail Badner
153c4e32ef HHH-9090 : HQL parser is trying to reuse parent implied join for subquery 2014-08-12 16:11:54 -07:00
Brad Koehn
b1c02c85cb HHH-9142 fixed a bug where joining to a non-class-based entity (EntityMode.MAP) would fail, added regression test. 2014-08-04 16:39:24 -04:00
Steve Ebersole
78e208d3b4 HHH-9312 - Database connection leak with JTA transaction tracking and background thread not releasing database connection 2014-08-04 15:15:46 -05:00
Henady Zakalusky
0f85e8476b HHH-8949 @QueryHint( name="javax.persistence.cache.retrieveMode", value="<valid value>") does not work 2014-08-04 15:59:50 -04:00
Steve Ebersole
72e9645d4b HHH-9312 - Database connection leak with JTA transaction tracking and background thread not releasing database connection
(cherry picked from commit 9e1afbaf49dacb3e345666ca1f27b1a6e74d3de2)
2014-08-04 13:35:08 -05:00