Commit Graph

328 Commits

Author SHA1 Message Date
Steve Ebersole cd304f83cf HHH-5098 - AssertionFailure thrown when collection contains a parameterized type
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19719 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-11 20:07:05 +00:00
Strong Liu 1cec58314d typo in the entitymanager doc
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19716 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-11 16:41:14 +00:00
Emmanuel Bernard e4eed4c7e5 HHH-5286 Add test on scanner with intergration map being null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19667 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 14:50:48 +00:00
Emmanuel Bernard 41bb177619 HHH-5286 Scanner instances can now be passed in the integration map
The Scanner builder was only considering the scanner key from the properties
not the integration map and hence never handled instances. Now fixed.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-02 13:17:23 +00:00
Emmanuel Bernard 30ea7142e8 HHH-5258 isLoaded and superclasses and private properties now works
Use getDeclaredField and getDeclaredMethod, use the whole class hierarchy
and use a cache to speed up both class hierarchy
and property to Member computation

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19601 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 13:08:22 +00:00
Emmanuel Bernard 66ef8d95c5 HHH-5258 add tests on isLoaded and superclasses and private properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19600 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 13:07:42 +00:00
Emmanuel Bernard 85e15cfbdf Typo in test
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19599 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-25 13:06:51 +00:00
Steve Ebersole c875076103 HHH-4966 - Entity Manager bug with ParameterExpressionImpl
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19467 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-11 15:08:54 +00:00
Gail Badner 36a2ef2699 HHH-5078 : JPA criteria query numeric expressions produce wrong result (due to wrong bracketing)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19458 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-10 22:18:47 +00:00
Steve Ebersole 421789ddcd HHH-5138 - Redesign types + introduce TypeRegistry & TypeResolver
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19335 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-05-01 18:20:26 +00:00
Scott Marlow bc1acf7028 HHH-5032 upgrade from optimistic to optimistic force does not work
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19295 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-26 17:49:26 +00:00
Steve Ebersole 37d40d4aa4 [maven-release-plugin] prepare release Branch_3_5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19256 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 01:58:27 +00:00
Steve Ebersole 1cffea4092 [maven-release-plugin] prepare branch Branch_3_5
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19254 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-21 01:56:46 +00:00
Emmanuel Bernard 5da56b7881 HHH-5069 update setup sections to reflect new distribution packages.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19240 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-15 09:37:36 +00:00
Steve Ebersole 4470ebcd4d Updating pom versions to 3.5.2-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19238 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:44 +00:00
Steve Ebersole 9a5dfa9ff8 Updating pom versions to 3.5.1-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19236 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 20:54:13 +00:00
Steve Ebersole 3f92dbb9a9 HHH-4965 - Implicit parameters abusively use TypeFactory.heuristicType losing UserType and XToOneType info
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19233 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 18:08:37 +00:00
Steve Ebersole c47267d3bb HHH-5059 - callouts and programlistings with highlighting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19232 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-14 16:27:11 +00:00
Emmanuel Bernard 38be092aae HHH-5106 add support for SQL Named Typed-Query
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19219 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-04-13 13:35:38 +00:00
Steve Ebersole 6fdc0c0c69 Updating pom versions to 3.5.1-SNAPSHOT for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19149 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:39:24 +00:00
Steve Ebersole adffa64173 Updating pom versions to 3.5.0-Final for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19147 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-31 17:38:40 +00:00
Steve Ebersole bec1835baf HHH-4870 - Cannot determine java-type from given member [null]
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19141 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 19:36:43 +00:00
Emmanuel Bernard 2451e5f31d Add comment on why some settings use the org.hibernate prefix while others don't
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19139 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 10:11:40 +00:00
Steve Ebersole 9f617a1969 HHH-4870 - Cannot determine java-type from given member [null]
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19137 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-30 01:37:23 +00:00
Steve Ebersole f9949b0295 HHH-5009 - Support NOWAIT for "SELECT ... FOR UPDATE" with JPA interfaces
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19095 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-24 14:37:56 +00:00
Emmanuel Bernard 00b0459ce5 HHH-5026 Ability to customize Scanner strategies
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19060 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-22 14:40:05 +00:00
Hardy Ferentschik bd558abcd3 HHH-4995
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18978 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 18:46:23 +00:00
Emmanuel Bernard 3153fb385d HHH-4933 finish documentation on JPA 2 and EntityManager, migrate to jHighlight
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18956 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 10:56:16 +00:00
Emmanuel Bernard a284638d01 HHH-4994 pass the properties variable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18955 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 10:37:27 +00:00
Emmanuel Bernard 863f378602 HHH-4933 Move all orm.xml files to orm_2_0.xml except on a few tests for backward compatiblilty
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18951 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-10 08:42:18 +00:00
Emmanuel Bernard 5aa0138ec2 HHH-4933 improve EM doc wrt JPA 2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18941 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-09 14:50:32 +00:00
Scott Marlow 5bd9ffa511 HHH-4972 javax.persistence.query.timeout and javax.persistence.lock.timeout can be passed when creating an EMF
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18936 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-08 21:18:03 +00:00
Scott Marlow 85b4ac5adb HHH-4972 javax.persistence.query.timeout and javax.persistence.lock.timeout can be passed when creating an EMF
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18931 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-05 22:22:05 +00:00
Hardy Ferentschik 153ad753e1 HHH-4812
Added @FetchProfile and @FetchProfiles annotations and wired them up. Added also some error handling in the AnnotationBinder.
Refactor the handling of precedence in the AnnotationConfiguration, because I thought I would be reusing it for the fetch profile as well, but in the end decided to jsut implement in a way that xml configured fetch profiles always win over annotation confgured ones.


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18924 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-04 21:55:10 +00:00
Emmanuel Bernard 5b595bcf26 HHH-4933 Work on HEM doc, refreshing it for JPA 2. architecture and configuration refreshed
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18923 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-04 18:15:19 +00:00
Hardy Ferentschik 6dce44c363 HHH-4666 - Implement the clarified rules for resource discovery (esp for <mapping-file> and co)
Refactored packaged tests while investigating this issue. Made sure packages get created in a subdirectory of target


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18918 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-02 23:11:41 +00:00
Hardy Ferentschik b763122d4c HHH-4666 - Implement the clarified rules for resource discovery (esp for <mapping-file> and co)
Removed unecessary continue statement while investigating issue


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18917 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-02 23:06:13 +00:00
Hardy Ferentschik 23264b554c HHH-4666 - Implement the clarified rules for resource discovery (esp for <mapping-file> and co)
Removed unused import statement while investigating issue.


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18916 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-03-02 23:05:00 +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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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 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 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
Gail Badner 0530b809d8 setting the version number on trunk back to 3.5.0-SNAPSHOT
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18668 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:57:52 +00:00
Gail Badner 18ed315b62 prep 3.5.0-Beta-4
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18666 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-29 00:46:30 +00:00
Emmanuel Bernard 80156b4170 HHH-4859 fix NPE on true embedded ids (ie no property) when building the metamodel
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18661 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-28 00:00:50 +00:00
Hardy Ferentschik fde085a09a HHH-4856 updated to 1.0.0-Beta-3
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18654 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 18:23:11 +00:00
Emmanuel Bernard 3e766c1397 HHH-4855 globally quoting identifiers was incorrectly considered an actual table name
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18653 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 17:22:13 +00:00
Scott Marlow 75149489d5 HHH-4853 3.4.4.3 Lock Mode Properties and Uses, Vendor-specific hints must be ignored if they are not understood.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18644 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-27 14:00:57 +00:00
Steve Ebersole 091c2d2269 HHH-4822 - Add @FailureExpected annotation to annotations and entitymananger modules to allow the skipping of tests
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18638 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 20:11:51 +00:00
Hardy Ferentschik 6e6263012f HHH-4822 reverted a test which was accidently marked with @FailureExpected
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18637 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 19:44:57 +00:00
Steve Ebersole 7f8c1896e4 HHH-4678 - Apply PersistenceUnitInfo#getSharedCacheMode and #getValidationMode
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18636 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 18:36:59 +00:00
Emmanuel Bernard 8386be117a HHH-4843 guard against null properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18631 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 17:11:04 +00:00
Scott Marlow 82c5616343 HHH-4846 fix NPE and also address JCTS-946
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18630 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-26 14:51:54 +00:00
Steve Ebersole c57ab61dcf HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18621 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-25 18:49:02 +00:00
Emmanuel Bernard 690792493b HHH-4834 Take into account that collections can be of raw type.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18609 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 19:21:33 +00:00
Steve Ebersole d24ed1a1d3 HHH-4659 - Add support for standard declarative cache (@Cacheable)
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18605 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 07:22:50 +00:00
Steve Ebersole 9bb0da4e69 HHH-4660 - Support Cache Retrieve Mode and Cache Store Mode Properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18603 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-22 01:55:20 +00:00
Hardy Ferentschik 7acb557f5b HHH-4822 - Moved the test annotations into the testing module in order to be able to reuse them in entitymanager module.
Also create a common base class for ann and em tests.


git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18602 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-21 20:48:59 +00:00
Hardy Ferentschik 76f2f88038 HHH-4651 - Add support for EntityManager properties
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18585 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 22:16:05 +00:00
Steve Ebersole e474a00c4a HHH-4669 - Implement JDBC driver properties support
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18578 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-19 03:09:22 +00:00
Steve Ebersole 6eb54445aa HHH-4816 - Cleanup JPA setting name constants
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18577 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 22:05:16 +00:00
Hardy Ferentschik edb211e8af HHH-4813 - annotation and entitymanager module should use the maven-injection-plugin to generate version string
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18575 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-18 19:17:27 +00:00
Hardy Ferentschik 7fa50f7a18 HHH-4677 - just some import cleanups and addition of source headers. no code changes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18567 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 20:59:56 +00:00
Emmanuel Bernard ecbe5dd854 HHH-4805 take better care of generics.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18566 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 18:47:54 +00:00
Emmanuel Bernard f93b0441b7 HHH-4806 Wrap all .commit() exceptions in a RollbackException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18562 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 12:53:35 +00:00
Emmanuel Bernard c8c9263918 HHH-4797 Ignore backref properties for JPA 2 model
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18561 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-15 10:47:18 +00:00
Hardy Ferentschik f45fceece0 HHH-4789 Made sure that the plugins are configured in the parent pom. Made the em docbook generation work. xml formatting
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18558 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 19:30:04 +00:00
Emmanuel Bernard 8146ab3f9e Add more test on ConstraintViolationException and transaction behavior
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18556 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 15:20:50 +00:00
Emmanuel Bernard ae34143257 Bump version numbers
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18555 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-14 10:33:11 +00:00