4061 Commits

Author SHA1 Message Date
Strong Liu
c5a1554ec8 post 4.1.7.Final development 2012-09-06 15:48:59 +08:00
Strong Liu
8ba78b3032 prepare 4.1.7.Final release 4.1.7.Final 2012-09-06 13:11:51 +08:00
John Hardin
5a3e1b076c HHH-7398 -- Added testTimeout() and modified AbstractBatchImpl.buildBatchStatement() accordingly.
(cherry picked from commit 7e0559ecdbfbb985b412ac5d4ea367f2e8995226)
2012-09-05 14:18:29 -05:00
Steve Ebersole
053b676684 HHH-7568 - Add JPA1.0 compound key compatability when orm descriptor file used to override annotations.
(cherry picked from commit 6a48cccd5d250fb25768fd9c7a28c750f002c6f9)
2012-09-05 12:42:29 -05:00
Jeremy Whiting
0c271ac77a HHH-7568 Added test case to check removal of compound key association items. Changed the detection of JoinColumns to work when orm/hbm xml is used. Added change to configure a property when JoinColumns annotation is used on entity definition.
(cherry picked from commit 961caf770a4e6fd4e97d08aef83ee07b247a49e3)
2012-09-05 12:42:29 -05:00
Steve Ebersole
bcc76ece6d HHH-1123 - Cannot put more than 1000 elements in a InExpression
(cherry picked from commit 40574b9d8ae064cf051e62bc0c96ae9e328ffb93)
2012-09-05 11:44:33 -05:00
brmeyer
6c7ef9e0da HHH-1123 Cannot put more than 1000 elements in a InExpression(cherry picked from commit 970bd8679e8e019a16e005d8db29c5c3681031fb) 2012-09-05 11:44:33 -05:00
Shawn Clowater
33255de38e HHH-7308
Change the beforeCompletion() method of the TransactionObserver() to call the beforeTransactionCompletion() method regardless of whether or not the session is open like the afterCompletion() method does when calling the afterTransactionCompletion() and also cleaned up the log message around session having after transaction events as this sort of logging had been previously moved to the close() method of SessionImpl.
(cherry picked from commit 6ac746fffce8cf920c70b20ce4a239d79ec0c08d)
2012-09-05 09:39:12 -05:00
Strong Liu
77512d01a7 HHH-7371 Natural-id: ObjectNotFoundException when found entity is marked as deleted 2012-09-05 17:21:36 +08:00
Strong Liu
a608bc3b87 HHH-7300 - TypeDefs won't be found depending of files read-order 2012-09-05 17:07:52 +08:00
Janario Oliveira
9ffc45dc34 HHH-7115 definition of returned class inside SerializableToBlobType 2012-09-05 15:19:12 +08:00
Guenther Demetz
a61a7f40e7 HHH-7059 The DerbyDialect deprecation warning should appear no more,
when using one of the version-specific dialects
2012-09-05 14:48:01 +08:00
U-MateusPimenta\Mateus Pimenta
e61e2392c3 HHH-7518 2012-09-05 14:32:09 +08:00
U-MateusPimenta\Mateus Pimenta
291ffe5031 HHH-7518 2012-09-05 14:32:09 +08:00
nrodrigues
43e0bc01d6 HHH-7532 - Override getForUpdateString with correct syntax 2012-09-05 14:39:31 +08:00
Dustin Schultz
c5eeaf71c1 HHH-7544
Fixes java.lang.VerifyError by building StackMapTables at appropriate
places.
2012-09-05 11:55:22 +08:00
Steve Ebersole
ca9079f654 HHH-7566 - Activating JOIN fetch profile involving self-referential associations causes StackOverflowError
(cherry picked from commit 4e22fb9044e0664bce3d6a3bbe93a11248e7541e)
2012-09-04 16:09:29 -05:00
Steve Ebersole
b43198a5a6 HHH-7203 - IdentityGenerator fails with JOINED Inheritance when inserting entity to PosgtreSQL
(cherry picked from commit 54f433541671da649d3ca8fe28c8fbbcd3c32f04)
2012-09-04 15:02:56 -05:00
Steve Ebersole
a1c219ee96 HHH-7567 - Better checking when @Enumerated involved
(cherry picked from commit 4450b127b2a03b4841d3e1e6a08d7f45dd602c16)
2012-09-04 12:19:36 -05:00
Steve Ebersole
ca3cc50a2f HHH-5188 - Use provided enum type ordinal/string when reading
(cherry picked from commit 076eccb7a21d8cdbc820a5d089645fabe9d6b933)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/type/EnumType.java
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/ExtraAssertions.java
2012-09-03 22:18:28 -05:00
Steve Ebersole
30162bf5ee HHH-7563 - Fallback for JBossAppServerJtaPlatform.locateUserTransaction() to look at "java:jboss" if "java:comp" not available
(cherry picked from commit d743b9b0ba7950d2ab6fa635dd384e06b9811c74)
2012-08-31 11:22:53 -05:00
Didier Villevalois
6713d24d6b HHH-7134 - Detection of wrong circularity when two tables with same name in different schemas
Fixes FKSecondPass processing to take catalog and schema in accounts. Corresponding test class is
org.hibernate.test.cfg.WrongCircularityDetectionTest.
2012-08-31 00:41:17 +08:00
Steve Ebersole
5e9c828512 HHH-7557 - Map entries get deleted
(cherry picked from commit 45f6414f92c9cec920fd84adfd92e1e2347366d0)
2012-08-30 10:47:55 -05:00
brmeyer
8d6a5ca76a HHH-7560 ehcache unit test intermittently failing
(UnknownServiceException)
2012-08-30 11:09:00 +08:00
Lukasz Antoniak
a195c6805b HHH-7543 - Fix and test 2012-08-24 22:24:08 +02:00
Lukasz Antoniak
dafe837487 HHH-7212 - Fix 2012-08-23 22:41:04 +02:00
Gail Badner
d33d481b52 HHH-7545 : Aliases for a collection key and element column can collide causing one to be excluded
(cherry picked from commit 5327ac5396dd742907fb0c01b6d9a9faa6314c8b)
2012-08-23 12:09:20 -07:00
Steve Ebersole
cde9ee1572 HHH-7524 - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections
(cherry picked from commit 52336f41509d73f9daba64cc61da4ecde7a117dd)
2012-08-16 11:29:48 -05:00
Lukasz Antoniak
0c0f951715 HHH-4751 - Fix and test 2012-08-16 09:52:58 +02:00
Steve Ebersole
128869ad7e HHH-7524 - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections
(cherry picked from commit d8651c3ba78abe0cd014df8ac966fa205502bbc4)
2012-08-15 10:59:08 -05:00
Sanne Grinovero
1931ba09ef HHH-7367 Upgrade to Infinispan 5.1.6.FINAL 2012-08-14 10:36:09 +08:00
Lukasz Antoniak
2043477e72 HHH-7157 - Fix and test 2012-08-11 10:05:22 +02:00
Strong Liu
eeda71b217 HHH-7509 NPE regression in second level cache 2012-08-09 14:50:33 +08:00
Scott Marlow
15cc02be33 HHH-7509 fix NPE in second level cache 2012-08-08 21:58:58 -04:00
Strong Liu
e53c808542 post 4.1.6 development 2012-08-09 02:02:10 +08:00
Strong Liu
01a94ea6b8 prepare for 4.1.6.Final release 4.1.6.Final 2012-08-09 00:11:09 +08:00
Strong Liu
c421d7014b HHH-6103 hibernate-entitymanager/src/test/java/org/hibernate/ejb/metamodel/Employee.java 2012-08-08 23:01:43 +08:00
Strong Liu
4d6ae731a9 HHH-7508 Debug logging throws MissingFormatArgumentException when using non standard Optimizer 2012-08-08 21:14:39 +08:00
Strong Liu
7294d15271 HHH-7385 change to use gradle 1.1 2012-08-08 20:53:43 +08:00
Strong Liu
2f6d4f615d HHH-7385 change to use gradle 1.1 2012-08-08 19:07:34 +08:00
Strong Liu
cc7d8d8e08 HHH-7385 change to use gradle 1.1 2012-08-08 17:53:17 +08:00
Gail Badner
e422250076 HHH-7493 : Documentation still refers to dom4j as an entity mode 2012-08-08 00:52:13 -07:00
Steve Ebersole
b810f1049f HHH-7457 - Enable loading of collections thats been detached from session
(cherry picked from commit 467258cffa105943877596b58c48beece070a29d)
2012-08-07 15:00:48 -05:00
Ståle W. Pedersen
98caa8e44b HHH-7457
enabled hibernate to reattach a collection that hasnt been loaded to the session.
note: this can cause data to be loaded outside a transaction. use with caution.
(cherry picked from commit a1c9ed775686e0ace4e3e38c85581000ce647ccc)
2012-08-07 15:00:31 -05:00
Steve Ebersole
98e7fc5d5f HHH-7305 - NPE in LogicalConnectionImpl when multi tenancy is used without providing a release mode manually
(cherry picked from commit a385792178688ddea1814997506c2b217b89fb84)
2012-08-07 14:05:12 -05:00
Janario Oliveira
f5e6ada7d8 HHH-6608 Replaced dot of path to property of many-to-one inside a component 2012-08-06 23:58:40 -03:00
Janario Oliveira
edeecef3cf HHH-7108 TypeDef with Enum, included inside of EnumType its own properties to create itself 2012-08-06 23:37:20 -03:00
Steve Ebersole
1fe4baecb9 HHH-7502 - Problems with multi-tenancy and 2nd level cache
(cherry picked from commit 45118e729d8f4f6b8cd22aa71f91bb25a0556fa8)
2012-08-06 18:30:37 -05:00
Strong Liu
4cdf83d1be HHH-2808 CLONE -Impossible to define caching for a subclass's collection in hibernate.cgf.xml 2012-08-06 14:39:03 +08:00
Tair Sabirgaliev
7bcdddfc88 Test: order of <mapping .../> affects caching configuration 2012-08-06 14:38:52 +08:00