Scott Marlow
18bb17061f
HHH-4546 JPA-2.0 locking. More pessimistic lock exception support and timeout exception support
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18209 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 13:23:17 +00:00
Adam Warski
2fef8a4acc
HHH-4670:
...
- changing the way work unit collision is resolved: now work units are merged, the result is a work unit (possibly new)
- work units should behave as immutable objects
- test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18208 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 12:40:05 +00:00
Adam Warski
b402af2eae
- making the test actually assert that the results are correct
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18207 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 10:37:54 +00:00
Emmanuel Bernard
36fddaf4fc
add test on Bean Validation in HEM
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18206 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 09:12:10 +00:00
Adam Warski
edd5bed074
- Lists also can be the inverse side of bidirectional one-to-many relationships
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18204 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-11 07:43:34 +00:00
Adam Warski
04fae574ae
HHH-4090:
...
- adding support for many-to-many relations from an audited, to a non-audited entity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18201 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 20:28:27 +00:00
Emmanuel Bernard
e183c40ee7
HHH-4659 HHH-4668 add mapping support for validation-mode and shared-cache-mode
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18200 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 16:49:46 +00:00
Emmanuel Bernard
11d10450ce
HHH-4665 PersistenceUnitUtil.getIdentifier()
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18198 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 15:27:00 +00:00
Emmanuel Bernard
a0ddead69f
HHH-4663 Add test showing the serialization failure for CriteriaQuery
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18196 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 14:27:30 +00:00
Emmanuel Bernard
3703d4c71c
HHH-4662 do not rollback when the exception occurs
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18195 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 14:11:33 +00:00
Emmanuel Bernard
ba3639a25a
HHH-4657 add support for DETACH
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18191 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 09:32:25 +00:00
Scott Marlow
49bc0e7acf
comment change
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18190 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 00:34:12 +00:00
Scott Marlow
cf0e1c6476
HHH-4546 JPA-2.0 locking support. Derby read and write pessimistic lock
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18189 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-10 00:33:22 +00:00
Galder Zamarreno
77e57b6727
Added JDBC transaction test.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18185 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-09 18:21:07 +00:00
Galder Zamarreno
16528acc0b
[HHH-4520] (Infinispan second level cache integration can cache stale collection data) testManyUsers now enabled after ISPN-277 was fixed.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18184 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-09 18:20:38 +00:00
Hardy Ferentschik
6512e3e708
HHH-4655
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18181 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 23:24:39 +00:00
Steve Ebersole
02323188c6
HHH-4654 - Criteria quries must support referencing parameters by name
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18169 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 21:19:42 +00:00
Steve Ebersole
1005f19b1a
HHH-3860 - Cascading performance problems when session contains many entities
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18168 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 18:56:15 +00:00
Emmanuel Bernard
48c2ec7e91
unwrap should raise a PE if the type is not unwrappable by the provider
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18166 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 16:32:59 +00:00
Emmanuel Bernard
cab99355a9
remove getSupportedProperties(): it's no longer part of the spec
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18164 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 16:09:42 +00:00
Adam Warski
7af9b42d23
HHH-4650:
...
- fix for removing an item from a persistent collection, flushing, and adding the same item again: merging the collection change work units data
- test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18163 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 16:08:13 +00:00
Emmanuel Bernard
c7149b0da4
Bind Hibernate Core deprecated lock modes for completeness and map UPGRADE_NOWAIT like PESSIMISTIC_WRITE with a timeout of 0
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18162 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 16:01:36 +00:00
Emmanuel Bernard
e71c0e4ba4
add a comment on flush mode
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18161 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 15:40:12 +00:00
Emmanuel Bernard
084d84b8f8
Remove System.err.println oops
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18160 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 15:39:37 +00:00
Emmanuel Bernard
8eb02db44c
HHH-4649 Properly bind Environment#GLOBALLY_QUOTED_IDENTIFIERS to orm.xml <delimited-identifier/>
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18159 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 14:20:56 +00:00
Steve Ebersole
6b9e796074
HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18158 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-08 13:14:47 +00:00
Adam Warski
25343680c9
HHH-4645:
...
- shortening the names of the default schema/default catalog properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18156 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 12:43:06 +00:00
Adam Warski
cd7a5cac7b
HHH-4645:
...
- renaming properties from camel case to use _ to separate words, as is the Hibernate convention
- old property names are still supported
- updating documentation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18152 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 08:55:15 +00:00
Adam Warski
e9ff8cf3b6
HHH-4644:
...
- when using join-inheritance, the columns in child entities which map to the revision number use the correct sql-type
- test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18150 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 08:36:49 +00:00
Strong Liu
9dbb880df6
minor change, correct javadocs spell
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-07 06:58:40 +00:00
Steve Ebersole
a2bf14ae7c
HHH-4553 - Hibernate doesn't support official JPA2 escape char for table name
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18148 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-06 22:20:58 +00:00
Adam Warski
ecb103cf55
HHH-4641:
...
- support for @PrimaryKeyJoinColumn on inherited entities
- test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18136 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-04 16:30:16 +00:00
Adam Warski
acecf71618
HHH-4633:
...
- enabling and fixing the test for same-table m2m mapppings
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18123 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 14:47:45 +00:00
Adam Warski
de48820558
HHH-4633:
...
- enabling and fixing the test for same-table m2m mapppings
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18122 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 14:39:52 +00:00
Adam Warski
ed2d72e492
HHH-4633:
...
- supporting where clauses on collections (e.g. @WhereJoinTable)
- test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18120 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 10:23:16 +00:00
Galder Zamarreno
df2f9a8270
[HHH-4575] (When Infinispan is configured for INVALIDATION don't send cluster message on entity insert) Fixed.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18119 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 09:03:35 +00:00
Adam Warski
6f978e52bb
HHH-4634:
...
- adding a register of all audit entity names generated so far
- generating a unique entity name in case of a relation owned by both sides
- fixing the test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18118 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 09:03:31 +00:00
Galder Zamarreno
c817ba17be
[HHH-4631] (Infinispan integration module is causing build problems) Build issues sorted. Re-enabling infinispan module.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18117 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 09:02:31 +00:00
Scott Marlow
5233aeb158
HHH-4546 add JPA 2.0 locking. First pass of support of code around AbstractEntityPersister.getAppropriateLoader
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18116 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 19:41:21 +00:00
Adam Warski
07ec77023e
HHH-4634:
...
- testcase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18113 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 12:09:56 +00:00
Adam Warski
b46895ff17
HHH-4633:
...
- testcase
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18112 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-02 11:38:32 +00:00
Steve Ebersole
5916bf0161
HHH-4631 - Infinispan integration module is causing build problems
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18111 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 15:55:26 +00:00
Adam Warski
7b6b156869
* Skipping auditing id mapping generation if the id mapping is unsupported (e.g. key-many-to-one)
...
* Some logging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18109 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 07:20:17 +00:00
Steve Ebersole
bf9f27215a
HHH-4625 - Use of maven-injection-plugin intermittently leads to build failures
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18107 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 04:53:49 +00:00
Steve Ebersole
fa13096363
HHH-4625 - Use of maven-injection-plugin intermittently leads to build failures
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18106 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-01 04:51:57 +00:00
Steve Ebersole
2b2df21f2f
HHH-4625 : upgrade injection plugin
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18105 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-30 18:18:44 +00:00
Emmanuel Bernard
6458ff4771
minor doc enhancement
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18103 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-30 16:50:25 +00:00
Galder Zamarreno
05a02472a9
[ISPN-277] (LRU data container endlesly looping or exhibiting heavy contention) Update to trunk and check if testManyUsers runs fine now.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18077 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-27 16:53:33 +00:00
Adam Warski
393f09eeba
HHH-4611:
...
- handling the case when the revision number in the revision entity uses a @Column(columnDefinition=): the sql-type is property is then set on the REV property of audit entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18068 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 16:32:05 +00:00
Adam Warski
096437dec2
HHH-4608:
...
- options to specify default schema/catalog name for audit tables
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18059 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 08:35:22 +00:00