Commit Graph

125 Commits

Author SHA1 Message Date
Hardy Ferentschik 79bb60ea89 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18552 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 02:01:24 +00:00
Hardy Ferentschik 1f8019b3fc Version upgrade for preperation of 3.5.0-Beta-3 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18550 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 01:34:37 +00:00
Steve Ebersole 062c5b6ccc HHH-4791 - Invalid assumption made in org.hibernate.envers.tools.Tools#getTargetFromProxy
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18548 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 00:04:32 +00:00
Steve Ebersole 69d7a853f1 HHH-4790 - Envers test failing, disabling for beta-3 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18547 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-13 23:59:03 +00:00
Adam Warski 461e2c10ac HHH-4063:
- making the tests working also with maven

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18431 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 14:43:39 +00:00
Adam Warski ae48c83a54 HHH-4063:
- removing unnecessary test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18430 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 14:29:32 +00:00
Adam Warski 23a2e5b3dc HHH-4063:
- applying patch from Hernán Chanfreau - thanks!
- fixing metadata reading for interfaces
- tests when entities are interfaces

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18429 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-07 14:13:51 +00:00
Scott Marlow 0776dbab9a HHH-4546 JPA-2 locking. LockOptions can include per table alias LockMode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18243 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 18:23:31 +00:00
Adam Warski 1336b83e03 HHH-4694:
- using the correct entity name in case of inheritance
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18239 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 14:20:52 +00:00
Adam Warski a90cf3e5eb HHH-4694:
- support for indexed "fake" bidirectional relations
- adding a field-calculation-phase, after all metadata is read from annotations, but before any audit entities generation is done

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-16 11:09:34 +00:00
Adam Warski ad0be2d822 HHH-4694:
- if a field is non-insertable in a "fake" bidirectional relation, not storing modifications made on the non-insertable side
- also, not generating bidirectional collection changes in such case
- updating test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18226 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 12:52:20 +00:00
Adam Warski 3740a20550 HHH-4694:
- adding support for multiple "fake" bidirectional relations
- downgrading testng back to 5.8 as using 5.10 was OOMing the tests
- updating h2 dependency to a newer version

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18225 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 12:27:01 +00:00
Adam Warski 31f9f8ffc5 HHH-4694:
- adding support for "fake" bidirectional many-to-one relations using an experimental @AuditMappedBy annotation
- adding a new work unit, extracting common work unit code
- upgrading TestNG to 5.10

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18224 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-15 10:50:11 +00:00
Steve Ebersole b5fb73c5ee HHH-4672 - Upgrade JPA dependency to hibernate-jpa-2.0-api-1.0.0-CR-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18216 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-12 23:56:45 +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
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
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
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
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
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
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
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
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
Adam Warski df17063144 HHH-4608:
- options to specify default schema/catalog name for audit tables

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18056 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-25 07:45:45 +00:00
Adam Warski 49f7b49bdc HHH-4608:
- options to specify default schema/catalog name for audit tables

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18035 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 16:19:58 +00:00
Adam Warski f39550fff1 HHH-4540:
- applying patch from Nicolas Rougé
- the revision timestamp can now be a j.u.Date or a j.s.Date, and be mapped to a Date in the DB
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18032 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 15:21:10 +00:00
Adam Warski 9d5f0d084a Not swallowing exceptions in some cases when a tx is rolled back by Envers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18028 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-24 09:19:47 +00:00
Adam Warski deabfeb485 An error message (instead of an NPE) when a suprclass of an audited entity is not audited
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18024 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-23 15:43:31 +00:00
Gail Badner c97e15d28f HHH-2762 : Add AbstractDelegateSessionImplementor.getNonFlushedChanges()/applyNonFlushedChanges()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17958 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-11 18:56:29 +00:00
Adam Warski ecaf3990b8 Removing the org.jboss compatibility classes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17912 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-04 18:40:13 +00:00
Steve Ebersole 5ecfeb5cb8 prep 3.5.0-Beta-2 by hand because maven rocks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17892 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:20:40 +00:00
Steve Ebersole c42e871b95 prep 3.5.0-Beta-2 by hand because maven rocks
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17890 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-02 18:09:43 +00:00
Adam Warski 37dc5e05ba Removing disabling of metamodel generation in tests after it's been fixed in EM.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17875 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-29 07:23:12 +00:00
Adam Warski 356063a33f HHH-4488:
- applying patch (making collection proxy serializable) + test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17853 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 19:58:19 +00:00
Adam Warski 2f7092c17c Diabling generation of the metamodel for tests as the generation breaks them
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17852 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-27 19:53:14 +00:00
Adam Warski 99dac200f2 HHH-4449:
- applying patch

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17587 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-30 17:16:01 +00:00
Adam Warski c987deb619 HHH-4447:
- applying patches

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17586 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-30 17:11:04 +00:00
Adam Warski 58fdaeb637 HHH-4437:
- applying patches

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17584 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-30 16:28:00 +00:00
Steve Ebersole 85c34f356a restting pom versions to SNAPSHOT after manual tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17373 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 21:10:09 +00:00
Steve Ebersole 122aa3f7e4 [maven-release-plugin] prepare branch hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:24:23 +00:00