Commit Graph

73 Commits

Author SHA1 Message Date
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
Adam Warski e6c9326438 HHH-3736: fix and testcase.
Thank you to Erik-Berndt Scheper for providing the patches!

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15834 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-30 10:39:53 +00:00
Adam Warski 45e93dc562 HHH-3563: changing tests to use the same convention
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15803 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-20 09:00:54 +00:00
Adam Warski bf8e6fed6f HHH-3563: relation support in components
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15802 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-01-20 08:13:54 +00:00
Adam Warski 50ec688066 HHH-3563, HHH-3561: component handling rework
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15744 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-31 11:29:37 +00:00
Adam Warski 92a4af082b HHH-3573: fix with tests (a not-insertable column can now be a many-to-one relation)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15743 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-29 08:52:31 +00:00
Adam Warski 76c4685117 HHH-3633: classes can be audited also if they don't contain any properties (w/ test)
Some corrections in the manual

Performance tests

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15722 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-12-22 19:16:28 +00:00
Adam Warski e2ae25a9a9 HHH-3623: collectin proxies are serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15615 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-25 15:25:46 +00:00
Adam Warski 0e8bdf990b HHH-3623: collectin proxies are serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15614 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-25 15:23:40 +00:00
Adam Warski 266fbedbd3 Performance tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15601 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-20 13:09:44 +00:00
Adam Warski 3ad01d08f5 Removing unused HibernateVersion class, updating demo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15593 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-19 14:35:40 +00:00
Adam Warski ef45d04181 HHH-3611: improved query interface
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15589 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-19 13:10:40 +00:00
Adam Warski f5253722a4 HHH-3564: support for joined inheritance with tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15571 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-17 07:19:44 +00:00
Adam Warski 18074af9b4 HHH-3564: support for table-per-class inheritance strategy with tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15566 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-15 15:23:25 +00:00
Adam Warski 044efaeeb3 HHH-3602: bug fix with test (generating a CollectionChangeWorkUnit for the proper entity in case a relation is owned by a superclass, when inheritance is used)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15565 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-14 15:16:23 +00:00
Adam Warski edf3822cfb HHH-3594: bug fix with test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15551 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-12 12:28:54 +00:00
Adam Warski 1013fef216 HHH-3598: revision type property can be used as query restriction
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15550 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-12 11:03:15 +00:00
Adam Warski b4d814bbff HHH-3568: all audit entites are mapped with update="false"
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15519 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-05 09:23:49 +00:00
Adam Warski 5f0bb2f691 HHH-3570: more renaming
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15518 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-05 09:17:10 +00:00