Commit Graph

1500 Commits

Author SHA1 Message Date
Strong Liu 8e2797d7c6 correct spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18796 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-14 12:57:30 +00:00
Emmanuel Bernard b3dca5d4d6 HHH-4911 render referencedColumnName case insensitive
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18794 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 17:22:48 +00:00
Steve Ebersole 8514f5a15e removed conflictingly named file
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18793 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 15:38:20 +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
Galder Zamarreno d88f65ff0c [HHH-4836] (Infinispan: 2L QueryCache don't considers cached queries which belong to current transaction) Fixed by not suspending transactions on get any more, since no locks are aquired on get.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18790 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 12:21:43 +00:00
Steve Ebersole 23ee88a55b HHH-4905 - Allow consistent handling of numeric primary key values by any integral data type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18789 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 06:22:52 +00:00
Scott Marlow 19de9d4ed9 HHH-4765 Enhance Dialect support for JPA-2 locking. MySQL pessimistic locking and Dialect.getForUpdateString(String aliases, LockOptions lockOptions)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18782 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 15:51:25 +00:00
Scott Marlow dafa28812a only comment change.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18780 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 14:49:24 +00:00
Richard Wilding bdc3b50493 'added publican compatibility to envers docs'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18778 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 07:27:00 +00:00
Richard Wilding 19758fe9c2 'adding translations from Core 3.3.2.GA branch and updated po files for ko-KR'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18777 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 07:20:33 +00:00
Richard Wilding 9400bc277c 'converted docs for publican compatibility and added translations from Core 3.3.2.GA branch'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18776 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-11 07:04:06 +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
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