Commit Graph

1638 Commits

Author SHA1 Message Date
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
Steve Ebersole 1d13a978bb prep 3.5.0-CR-1 release
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18768 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 19:08:50 +00:00
Steve Ebersole 341ea5b8f5 HHH-4902 - Handle JPA 2 requirement of setting id attribute to non-null with its equivalent of foreign-generator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18767 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 17:38:59 +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
Ståle W. Pedersen 09d051150c [HHH-4889]
exending the test to try to replicate an error in the specj benchmark


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18762 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 14:35:07 +00:00
Gail Badner 89acfc7692 HHH-4898 : Results from read-only Criteria and Query obtained from query cache are not read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18760 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:05:33 +00:00
Gail Badner 6abbd54e8e HHH-4896 : Read-only proxy targets initialized from second-level cache are not read-only
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18759 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:03:48 +00:00
Gail Badner b39918f247 HHH-4578 : Criteria is missing read-only flag
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18758 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-10 07:00:59 +00:00
Steve Ebersole aa82fd710c HHH-4894 - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18755 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 21:50:09 +00:00
Steve Ebersole 0255bb79fc HHH-4895 - query against derived id doesn't return expected result
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18754 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 21:45:15 +00:00
Steve Ebersole c833f33812 removed commented-out code
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18749 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:55:48 +00:00
Steve Ebersole 81fd208898 HHH-4894 - Process composite-id sub-generators PersistentIdentifierGenerator contract(s)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18748 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:54:39 +00:00
Scott Marlow f0cdfa3ac8 HHH-4895 query against derived id doesn't return expected result
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18747 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 19:22:10 +00:00
Hardy Ferentschik cb63cbb2ab HHH-4892 PackagedEntityManagerTest should not extend from the Hibernate test case. It extends now junit.framework.TestCase directly.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18741 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 12:03:41 +00:00
Steve Ebersole 527468a122 HHH-4892 - Simplify testing of persistence packages
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18738 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-09 03:53:56 +00:00
Steve Ebersole 8b12e759f0 HHH-4704 - Pass session into EntityTuplizer#setIdentifier
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18736 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 21:28:05 +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
Emmanuel Bernard 7373796908 HHH-4889 if the @IdClass support the legacy approach ie the reference to the association in the IdClass (as opposed to its pk), treat it the old way
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18732 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 19:14:29 +00:00
Ståle W. Pedersen 817fe52a55 [HHH-4848]
added an example that derive from entities not defined with component key


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18731 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 18:44:26 +00:00
Emmanuel Bernard 3d911bd658 HHH-4887 force PERSIST cascading when @XToOne is used in a @IdClass case.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18730 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-08 13:22:43 +00:00
Steve Ebersole 7cb83cac95 HHH-4664 - Implement EntityManagerFactory#getProperties()
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18712 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-07 19:27:19 +00:00
Strong Liu 71127daf09 HHH-4886 Merge minor change from IngresDialect.java from 3.3.2 for Ingres 9.2 compatibility
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18709 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-06 06:33:14 +00:00
Emmanuel Bernard 8478d5b44b HHH-4848 finish support for derived identity Yeah! More specifically @IdClass on dependent where the @IdClass points to the associated entity id type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18708 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 23:33:28 +00:00
Steve Ebersole ccad83c774 HHH-4884 - Fix binding of @TableGenerator#initialValue into org.hibernate.id.enhanced.TableGenerator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18707 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 22:02:36 +00:00
Steve Ebersole 4a72e7096f HHH-4883 - Unable to join across a component
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18706 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 21:51:24 +00:00
Steve Ebersole de585cb54a HHH-4877 - "Check Nullability" logging incorrectness in SettingsFactory
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18705 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 20:33:14 +00:00
Steve Ebersole 5c16c01064 HHH-4884 - Fix binding of @TableGenerator#initialValue into org.hibernate.id.enhanced.TableGenerator
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18704 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 18:28:39 +00:00
Emmanuel Bernard edf5e9652d Revert improper JPA 2 versions bump
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18703 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 16:29:21 +00:00
Emmanuel Bernard 5ad11ba2a1 HHH-4848 Add more of the spec test for derived identity and @IdClass. Missing example 5.a and example 6.a (bug at the moment)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18702 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 14:37:34 +00:00
Emmanuel Bernard ab4f51dce5 HHH-4848 simplify the non-jpa 2 case a bit further
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18701 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 12:35:18 +00:00
Gail Badner c18a9306b9 HHH-4880 : EntityManager.refresh does not throw EntityNotFoundException for removed entity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18700 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 06:25:59 +00:00
Gail Badner 8606c4a097 HHH-4841 : Read-only proxies in NonFlushedChanges are not read-only when applied to a new session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18699 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 04:00:04 +00:00
Steve Ebersole 53b1890c1b HHH-4848 - Derived identities: Derived entities using @IdClass and mapping a @XToOne are not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18698 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-05 02:42:55 +00:00
Steve Ebersole 80f250fca5 HHH-4704 - Pass session into EntityTuplizer#setIdentifier
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18697 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 21:05:38 +00:00
Steve Ebersole b84e1fc5fc HHH-4848 - Derived identities: Derived entities using @IdClass and mapping a @XToOne are not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18696 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 20:07:08 +00:00
Steve Ebersole b3b9482292 HHH-4599 - An embeddable class may contain ToOne or ToMany associations
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18695 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 19:32:54 +00:00
Emmanuel Bernard 252299cfee HHH-4848 partial implementation of @IdClass support in derivedidentity (example 1 case a of the spec)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18692 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 17:54:05 +00:00
Strong Liu cffff168b3 HHH-4317 Memory leak in EnumType class
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18689 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 10:57:52 +00:00
Scott Marlow 80dbc69529 HHH-4765 Enhance Dialect support for JPA-2 locking. pessimistic no wait/timed locking and additional pessimistic locking tests. Oracle support for pessimistic locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18688 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-04 00:07:31 +00:00
Steve Ebersole 46bc41c226 HHH-4879 - Support HQL index-refering functions for many-to-many, indexed collections
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18687 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 21:47:31 +00:00
Steve Ebersole c86d471453 HHH-4861 - Allow lookup by the "simple" pk type of "parent entity" in "derived identities" cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18686 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 06:58:46 +00:00
Strong Liu e2fc86d5d5 HHH-4824 localpath appeared in the doc xml
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18685 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 06:51:48 +00:00
Steve Ebersole ac1dae6952 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18684 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-03 05:16:26 +00:00
Steve Ebersole 1591e6dc03 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18682 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-02 21:32:53 +00:00
Scott Marlow 889470af88 HHH-4765 Enhance Dialect support for JPA-2 locking
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18681 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-02 17:03:05 +00:00
Steve Ebersole d761d3ef45 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18676 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-01 19:49:40 +00:00
Steve Ebersole af7c746a54 HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18675 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-01 19:42:16 +00:00
Scott Marlow 3456c533b9 HHH-4765 Enhance Dialect support for JPA-2 locking.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18673 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-30 17:27:32 +00:00