Commit Graph

164 Commits

Author SHA1 Message Date
Steve Ebersole 00a1085b7c Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20114 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-04 15:53:09 +00:00
Steve Ebersole 7ccd261444 Updating pom versions to 3.6.0.Beta2 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20112 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-04 15:52:39 +00:00
Steve Ebersole ca051ab834 Updating pom versions to 3.6.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20001 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 20:35:55 +00:00
Steve Ebersole 173817e56a Updating pom versions to 3.6.0.Beta1 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19999 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 20:35:16 +00:00
Steve Ebersole 5d742087ac HHH-5181 - Merge hibernate-annotations module code into hibernate-core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19997 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 19:23:21 +00:00
Adam Warski 17261e1e06 HHH-5395:
- fixing the Lobs test, calculating the type name correctly

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19977 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-20 12:45:55 +00:00
Steve Ebersole 1dd65401f3 HHH-5384 - HEM should not register its own Synchronization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19962 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 19:04:26 +00:00
Adam Warski b50d8268d5 HHH-5315:
- work units executed both in the before tx completion process and in the synchronization
- each test class has its own H2 database
- tests in a JTA environment

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19928 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-10 12:48:19 +00:00
Steve Ebersole 1ca2bc19a5 HHH-5367 - Move annotations module sources into core module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19921 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 23:41:23 +00:00
Adam Warski 6e57774e42 HHH-4716:
- applying patch - thanks to Hernan Chanfreau!
- supporting the entity-name concept of Hibernate - when guessing from the class name doesn't work

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19899 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-05 17:04:29 +00:00
Adam Warski f7c7c55e2a HHH-3764:
- adding an end-revision column to the audit entities if the appropraite strategy is used

HHH-3765:
- filling in the end-revision column on audited entities changes

- applying patch by Stephanie Pau - thanks!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19888 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-02 06:32:13 +00:00
Adam Warski 704503eea2 HHH-5288:
- applying patch by Erik-Berndt Scheper - thanks!
- Envers auditReader.find() returns wrong data for embedded components using fields with default values

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19750 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-16 18:06:57 +00:00
Adam Warski 3766cea7c2 * always adding a nested type mapping, if there are type properties; not only in case of instances of CustomType
* simplifying the basic generator because of the new type hierarchy

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19703 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-09 08:52:22 +00:00
Adam Warski f0df563982 svn merge -r 19697:19698 https://svn.jboss.org/repos/hibernate/core/branches/envers-hibernate-3.3 .
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-08 07:15:42 +00:00
Adam Warski 19a1656446 HHH-5191: Applying patch by Hernan Chanfreau
CollectionMetadataGenerator failed to obtain mappedBy attribute when is defined on superclasses

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19371 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-05 10:06:47 +00:00
Steve Ebersole 421789ddcd HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 18:20:26 +00:00
Steve Ebersole 37d40d4aa4 [maven-release-plugin] prepare release Branch_3_5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19256 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 01:58:27 +00:00
Steve Ebersole 4470ebcd4d Updating pom versions to 3.5.2-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19238 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:44 +00:00
Steve Ebersole 9a5dfa9ff8 Updating pom versions to 3.5.1-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:13 +00:00
Adam Warski d4295cc604 HHH-3543: using BeforeTransactionCompletionProcess instead of a transaction synchronization. That way exceptions are not swallowed if one is thrown in the audit synchronization/process, and the tx is rolled back
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19180 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-06 20:35:15 +00:00
Steve Ebersole 6fdc0c0c69 Updating pom versions to 3.5.1-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:39:24 +00:00
Steve Ebersole adffa64173 Updating pom versions to 3.5.0-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19147 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:38:40 +00:00
Steve Ebersole 97444b2d2d Updating pom versions to 3.5.0-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18879 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:50:02 +00:00
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