Commit Graph

56 Commits

Author SHA1 Message Date
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
Adam Warski 4603c8a4dd HHH-3570: more renaming
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15517 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-05 09:13:05 +00:00
Adam Warski 843d3c648f HHH-3570: changing default names
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15514 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-05 08:41:14 +00:00
Adam Warski 979f19bab8 HHH-3570: compatibility classes - detecting @Versioned annotation
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15507 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-04 22:18:48 +00:00
Adam Warski ba3aaecbe4 HHH-3570: more renaming, some compatibility classes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15506 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-04 22:11:07 +00:00
Adam Warski cc03033e59 HHH-3565: adding support for field and property access types; changed the way properties are read. Now, instead of a sole property name, a special "PropertyData" object is passed around which encapsulates the property name and access type information.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15481 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-11-03 11:24:30 +00:00
Adam Warski f9913f9e5e Removing the unused logger integration (for Hibernate <3.3)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15465 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 12:26:41 +00:00
Adam Warski a94515206d Removing unused Hiberntae 3.2.4.SP1 integration facilities (ReflectionManager)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15464 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 12:23:27 +00:00
Adam Warski c1312db934 HHH-3575: fix with test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15463 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 12:14:46 +00:00
Adam Warski 6a7db82fe0 Removing the persister hack, as HHH-3351 has been resolved
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15462 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 12:00:22 +00:00
Adam Warski fabb73a8d1 HHH-3570: renaming versioned to audited
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15461 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 11:55:23 +00:00
Adam Warski 9fc49bf328 HHH-3570: renaming versioned to audited
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15460 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 11:53:38 +00:00
Adam Warski 90f70231c6 HHH-3570: renaming versioned to audited
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15459 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-31 11:42:38 +00:00
Steve Ebersole e6ee45c6ce HHH-3351 : import envers as core module
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15453 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-30 16:45:35 +00:00
Adam Warski da8c5a3a19 - Using an in-memory db for testing
- removed dependency on hsqldb
- changed the description

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15451 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-30 09:05:38 +00:00
Adam Warski f1c5c8a31a Tests pass, using h2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15450 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-30 08:24:20 +00:00
Steve Ebersole 4a058ff6ca HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15436 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-29 16:34:25 +00:00
Steve Ebersole 8cf6a82397 HHH-3550 : import annotations into core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15435 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2008-10-29 15:51:05 +00:00