Commit Graph

1461 Commits

Author SHA1 Message Date
Emmanuel Bernard 6a7727163e HHH-4933 deprecate legacy annotations, document @ElementCollection, reorganize collection description, remove legacy annotations documentation when a new one is in place
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18915 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-02 22:39:12 +00:00
Emmanuel Bernard f32f68476b HHH-4933 Doc on Map and List support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18911 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-01 13:26:56 +00:00
Emmanuel Bernard 95ab3e5ecc HHH-4933 minor fixes while reading
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18899 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-26 08:27:46 +00:00
Sharath Reddy 03649bc406 HHH-4374 Subselect. Also implemented Synchronize annotation.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18884 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 13:12:27 +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
Steve Ebersole be58b6b386 HHH-4951 - Correct DTD entities for injecting version and date into docs
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18876 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-25 03:20:01 +00:00
Steve Ebersole 09fe22710e misc minor doc cleanups
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18875 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 21:40:58 +00:00
Steve Ebersole 1fa3112156 HHH-4949 - Document JPA 2 metamodel
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18874 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 21:26:24 +00:00
Gail Badner 3df8bc5712 HHH-4809 : Immutable entities added to a session have Status.MANAGED unless loaded by the Session
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18873 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 21:20:26 +00:00
Gail Badner d26e4f1cad HHH-4948 : Session.flush() does not always cascade save or update to read-only or immutable entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18872 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 20:21:08 +00:00
Brian Stansberry 5e71ea4c55 [HHH-3817] Add missing lock release to test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18871 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 19:11:53 +00:00
Hardy Ferentschik 523842514f HHH-4606 Functionality was actually already there. Just added a test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18870 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 18:45:11 +00:00
Hardy Ferentschik 7a26f5862c HHH-4605 - Add support for @OneToMany @JoinColumn in XML
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18869 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 17:11:05 +00:00
Galder Zamarreno 5756213195 Upgraded to Infinispan 4.0.0.FINAL
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18868 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 09:22:43 +00:00
Steve Ebersole ec8aa8bc93 HHH-4936 - Document JPA criteria queries
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18867 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 07:31:58 +00:00
Gail Badner 863f6a8fb7 HHH-4948 : Session.flush() does not always cascade save or update to read-only or immutable entities
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18866 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 00:11:24 +00:00
Hardy Ferentschik 003658834d HHH-4942 Rectified some problem with earlier commit. Some files got deleted which should not have been. And some files were wrongly added
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18865 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 23:55:06 +00:00
Gail Badner d44d367134 HHH-4810 : Persistent immutable and read-only entities are updated before being deleted
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18864 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 22:18:43 +00:00
Strong Liu 2b43c74780 HHH-4825 mapping order impacting behavior leading to bug
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18861 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 21:45:34 +00:00
Emmanuel Bernard cd3db638aa HHH-4933 Write documentation on composite identity, partial generated value and derived identity
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18860 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 19:12:49 +00:00
Hardy Ferentschik 170f7b273e HHH-4942 Refactored JarVistitorTest and PackagedEntityManagerTest to use Shrinkwrap to build the packages needed for the tests. This removed the need for some custom antrun plugin stuff. Also created a baseclass for the packaged tests.
HHH-4845 Refactored PersistTest to extend from the main em base test case. This allows the em test to run in forkMode 'once'

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18859 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 14:55:16 +00:00
Hardy Ferentschik b4e5322cfb HHH-4942 Refactored JarVistitorTest and PackagedEntityManagerTest to use Shrinkwrap to build the packages needed for the tests. This removed the need for some custom antrun plugin stuff. Also created a baseclass for the packaged tests.
HHH-4845 Refactored PersistTest to extend from the main em base test case. This allows the em test to run in forkMode 'once'

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18858 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 12:57:17 +00:00
Galder Zamarreno ddd1d72e5a [HHH-4944] (putFromLoad calls could store stale data) Fixed.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18857 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 12:11:34 +00:00
Galder Zamarreno 011ef60c10 [HHH-4640] (Add test with JNDI bound JBoss Transactions Transaction Manager) Test was not closing SessionFactory instance.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18856 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 12:09:45 +00:00
Brian Stansberry 2b72b05522 [HHH-3817] Better handle race between putFromLoad and removal
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18855 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 02:11:31 +00:00
Scott Marlow f84f262013 HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18854 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 01:12:57 +00:00
Scott Marlow 32e3b9c2c9 HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18853 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 01:06:16 +00:00
Scott Marlow 02451f12fb HHH-4662 Implement javax.persistence.query.timeout
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18852 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 23:27:16 +00:00
Hardy Ferentschik f3aa0c63bb HHH-4676
* now a transaction is marked for rollback for all RuntimeExceptions not only the CosntraintViolationExcpetion.
* Also updated FlushAndTransactionTest which had invalid assertions.


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18850 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 21:17:12 +00:00
Galder Zamarreno b15adba4ef Disable lock striping to avoid potential deadlocks like the ones explained in http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218955#4218955. It's worth noting that In Infinispan, each entity/collection has its own cache and the update timestamps and query cache are maintained separately, so the chances of this happening are much lower.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18849 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 16:43:06 +00:00
Galder Zamarreno 89b9b4e79f [HHH-4640] (Add test with JNDI bound JBoss Transactions Transaction Manager) Done.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18848 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 16:37:22 +00:00
Steve Ebersole a363947c69 Moved biblio to end; fixed bookinfo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18847 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-21 17:36:27 +00:00
Strong Liu 230f173146 correct javadoc typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18845 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:30:08 +00:00
Strong Liu 9cab0f821f correct typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18844 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:17:21 +00:00
Strong Liu 27b173b7ec correct javadoc typo
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18843 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-20 06:10:58 +00:00
Steve Ebersole 84d1ac5f7d HHH-4936 - Document JPA criteria queries
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18842 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-19 21:16:50 +00:00
Steve Ebersole de0d4c1cd5 HHH-4936 - Document JPA criteria queries
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18841 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-19 17:08:37 +00:00
Steve Ebersole f6680548b5 HHH-4934 - Improve logging in MetadataContext and AttributeFactory
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18840 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 19:19:45 +00:00
Steve Ebersole 894665481c HHH-4583 - Incorrect handling of empty conjunction and disjunction
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18839 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 17:00:47 +00:00
Emmanuel Bernard 6ca968f0e9 HHH-4933 fix syntax inconsistencies in XML
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18838 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 16:19:05 +00:00
Hardy Ferentschik 61e68a22a3 HHH-4932
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18837 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 15:33:57 +00:00
Emmanuel Bernard 994472e77d HHH-4933 update non core annotatios doc
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18833 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 14:20:36 +00:00
Strong Liu 67a32eca9e HHH-4908 Multiple failures reported during ReadOnlyProxyTest with Ingres
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18832 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 12:47:31 +00:00
Emmanuel Bernard b5529c05a5 HHH-4930 drop org. prefix on properties.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18831 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 09:59:16 +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
Steve Ebersole 32cd3b4359 HHH-4583 - Incorrect handling of empty conjunction and disjunction
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18826 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-18 05:07:20 +00:00
Steve Ebersole 5a4e37495e HHH-4583 - Incorrect handling of empty conjunction and disjunction
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18823 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 21:07:42 +00:00