Commit Graph

1482 Commits

Author SHA1 Message Date
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
Steve Ebersole d7de0dad4e HHH-4613 - KEY, VALUE and ENTRY should not be strict keywords
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18822 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 19:56:41 +00:00
Steve Ebersole 9f6e1ada66 HHH-4917 - Keyword TYPE not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18821 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 18:49:38 +00:00
Galder Zamarreno 1ec20855ee Update to Infinispan 4.0.0.CR4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18819 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 12:51:06 +00:00
Hardy Ferentschik 8b660e582c HHH-4926
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18817 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-17 12:00:26 +00:00
Steve Ebersole 6acf72f54a HHH-4917 - Keyword TYPE not supported
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18814 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-16 21:39:52 +00:00
Hardy Ferentschik 6a2843f98a Removed core/trunk/documentation/manual/src/main/docbook/de-DE/Author_Group.po
File conflicted with author_group.po on Mac

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18802 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-15 14:35:46 +00:00
Strong Liu 494caf6dbd correct spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18801 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-15 13:02:33 +00:00
Richard Wilding 3fda092751 HHH-4918: updated pom with de-DE translation goal
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18800 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-15 01:32:56 +00:00
Richard Wilding 1677384530 'HHH-4918: updated de-DE preface with translated strings; deleted old book master file'
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18799 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-15 00:41:59 +00:00
Strong Liu 05a0db703e correct the wrong spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18798 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-14 15:32:04 +00:00
Strong Liu 1ec662e924 correct the wrong spell
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18797 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-14 14:16:50 +00:00
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