Commit Graph

191 Commits

Author SHA1 Message Date
Steve Ebersole 9bba4e970b Updating pom versions to 3.5.0-CR-2 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18877 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:49:36 +00:00
Adam Warski a3cb88ac68 Removing unused field/method
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18829 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 09:21:17 +00:00
Adam Warski 0689459efd Removing unused field/method
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18828 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 09:19:31 +00:00
Adam Warski 6c44b281b5 HHH-4928:
- using unsupported constructs in ids of non-audited entities doesn't cause an exception

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18827 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 09:17:24 +00:00
Adam Warski ecf4f4fa66 HHH-4899:
- fixing mutable property types in composite ids
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18791 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 12:47:15 +00:00
Steve Ebersole 7d0258ec55 prepare 3.5.0-CR-1 ++ dev
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18771 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:42:49 +00:00
Steve Ebersole 7a9b5f1781 prep 3.5.0-CR-1 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18769 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:17:55 +00:00
Adam Warski d3886e2012 HHH-4899:
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18765 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 16:00:29 +00:00
Adam Warski 420a0b8e92 HHH-4731:
- a simple API to check if an entity is audited or not
- applying patch by Hernán Chanfreau - thanks!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18764 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 15:38:27 +00:00
Adam Warski beebf85e88 HHH-4792:
- fixing the way properties are checked to be mutable
- applying patch to Slawek Garwol - thanks!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18763 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 15:30:48 +00:00
Steve Ebersole 839e23458a HHH-4704 - Pass session into EntityTuplizer#setIdentifier
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18733 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 19:27:00 +00:00
Gail Badner 0530b809d8 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18668 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:57:52 +00:00
Gail Badner 18ed315b62 prep 3.5.0-Beta-4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18666 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:46:30 +00:00
Adam Warski 62e4d6e227 HHH-4792:
- validating fix - removing unused commented out code

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18649 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 15:50:44 +00:00
Adam Warski de0545a989 HHH-4693:
- applying patch, making map proxies serializable

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18616 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-25 07:56:21 +00:00
Adam Warski c9b7d112b8 HHH-4793: enabling test after fixes in core/annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18576 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 21:27:25 +00:00
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
Steve Ebersole cb337e6f2c [maven-release-plugin] rollback the release of hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17370 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:04:32 +00:00
Steve Ebersole 677ed6f9c9 [maven-release-plugin] prepare release hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17369 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 19:00:59 +00:00
Steve Ebersole 33d5534b14 [maven-release-plugin] rollback the release of hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17364 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-19 15:02:46 +00:00
Steve Ebersole bcecf23302 [maven-release-plugin] prepare release hibernate-3.5.0.Beta-1
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17349 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-18 13:48:31 +00:00
Steve Ebersole 9254c3e876 moved to separately released hibernate-commons-annotations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17343 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-17 22:19:04 +00:00
Adam Warski e44e8c6d6a HHH-3957:
- when all properties of an embedded object are null, don't set the embedded object on the entity

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17273 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-12 14:49:55 +00:00
Adam Warski 5d08386293 HHH-4010:
- applying patch: allow audited relations to non-audited entities
- doc update

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17248 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-06 18:21:38 +00:00
Steve Ebersole 1f98fc9ed6 EJB-447 - Implement JPA 2.0 criteria apis
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17183 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-07-21 13:54:31 +00:00
Adam Warski 8165b1d70c HHH-3819:
- adding an option to store the data when an entity is deleted in the revision (instead of having to read the last-but-one revision)

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16981 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-30 15:56:49 +00:00
Adam Warski 206283ad66 Searching for Session recurses when reading delegates of EntityManager
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16980 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-30 15:11:37 +00:00
Adam Warski 2ce2f49d24 - the default revision entity is serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16979 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-30 15:10:53 +00:00
Steve Ebersole f70fd82cb6 HHH-3979 - Upgrade to javassist 3.9.0
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16892 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-23 07:09:35 +00:00
Adam Warski d14805e920 HHH-3939:
- not creating a join table when the association is not audited

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16702 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-06-05 12:25:08 +00:00
Adam Warski f0eb349e87 Fixinga bug with storing null values for fields in a superclass
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16641 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-31 13:39:00 +00:00
Adam Warski c44ff38d6d HHH-3847:
- applying a patch to fix the NPE

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16640 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-31 13:00:56 +00:00
Adam Warski 8003b501fe HHH-3708:
- improving error reporting for relations where only one entity is audited

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16610 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-21 14:52:22 +00:00
Adam Warski f20c97f921 HHH-3706:
- applying patch from Jesse Jose C (thanks!) to fix generating schema in using the ant task when using annotation configuration

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16609 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-21 14:13:32 +00:00
Hardy Ferentschik 062e0b5ecd ANN-831 - upgraded to the Beta2 version of JPA2 and reverted some code
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16551 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-12 13:09:57 +00:00
Emmanuel Bernard 11668ca67c HHH-3906 EJB-436 ANN-830 Move to JPA 2 API as a dependency
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16523 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-07 21:34:21 +00:00
Adam Warski 17e89371b8 Rolling back the TX when an exception occures in a revision listener
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16502 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-05-03 13:57:41 +00:00
Adam Warski 8a58b176b9 HHH-3878:
- fixing reading deleted entities with null-only values, when the field is primitive

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16487 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 08:39:38 +00:00
Adam Warski 04802d5c26 HHH-3823:
- adding a method to obtain the current revision entity + test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16485 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 07:36:14 +00:00
Adam Warski 1553578808 HHH-3888, ENVERS-70:
- copying the scale, precision and sql-type attributes to the column definition

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16483 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-30 05:47:36 +00:00
Adam Warski ac0889dbd6 HHH-3871:
- not loading proxied objects when not necessary
- test

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16393 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-22 08:38:05 +00:00
Scott Marlow bffe7ec6e9 HHH-3832 Upgrade to cglib-2.2 (asm 3.1)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16253 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-04-02 16:29:06 +00:00
Adam Warski 996f87451b Fixed looking for session delegate
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16204 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-20 14:57:08 +00:00
Adam Warski b0f07a6e10 HHH-3794:
- fixing interfaces of components support
- tests for interfaces in components and to-one relations

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16062 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-03 16:10:51 +00:00
Adam Warski cd01125e76 * a disabled tests for collecitons of components
* fixing a bug whit auditing collections when the hashcode of the elements in the colleciton changes

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16055 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-03-02 16:08:45 +00:00
Steve Ebersole dfc657db27 change to build with local entitymanager
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16051 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-28 04:55:29 +00:00
Steve Ebersole e34c0d7007 change versions from 3.4 to 3.5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16050 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-28 04:45:24 +00:00
Adam Warski 38e6babc34 HHH-3741: fix and testcase; properly computing the referencing property name in a unidirectional collection
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15912 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-06 23:10:40 +00:00
Adam Warski dafb54a60f HHH-3729: applying patch with tests
Thank you to Erik-Berndt Scheper for providing the patches!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15899 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-02-05 08:22:40 +00:00
Adam Warski 5e77669afd HHH-3740: fix with test
Thanks for the test to Erik-Berndt Scheper

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15836 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-30 13:38:07 +00:00
Adam Warski 1a1118c0bb HHH-3744: applying the patch.
Thank you to Ben Clark!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15835 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-30 12:01:00 +00:00