Commit Graph

245 Commits

Author SHA1 Message Date
Steve Ebersole c11a297420 HHH-5543 - JEE bootstrapping should only parse and validate mapping files once
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20325 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-09 03:35:35 +00:00
Steve Ebersole 8e2ccbe451 HHH-5310 - orm_2_0.xsd compliant mapping files break in JEE use cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20323 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-09 02:53:03 +00:00
Steve Ebersole 7402098392 HHH-5310 - orm_2_0.xsd compliant mapping files break in JEE use cases
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20321 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-08 18:03:28 +00:00
Steve Ebersole 60bceb24f7 HHH-5440 - Joined collection expressions not properly "rendered" in JPA Criteria queries
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20193 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-19 16:41:31 +00:00
Hardy Ferentschik 67a59a3ea6 HHH-5485 Move hiberante dtd files from http://hibernate.sourceforge.net to http://www.hibernate.org/dtd
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20154 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-17 14:13:58 +00:00
Steve Ebersole 434dba63e4 HHH-5296 - AbstractFromImpl::getJoin() shall return empty set, not null
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20027 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-23 17:35:55 +00:00
Steve Ebersole 537f135ee1 HHH-5295 - Rendered JPAQL query shall be the same all the times, aliases shall not have random indexes
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20024 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-23 17:15:54 +00:00
Emmanuel Bernard d10415dafe HHH-5408 Change wording on "What is hibernate-jpa-2.0-api-x.y.z.jar" to suit Oracle
Lance asked us to adjust some details on how we use the word TCK. Basically better not use the word, it's too complicated :(

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20021 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-23 16:42:36 +00:00
Steve Ebersole f0bda99d68 HHH-5097 - Bug in ParameterizedFunctionExpression with two or more parameters: IllegalArgumentException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20016 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-22 20:40:12 +00:00
Steve Ebersole 173817e56a Updating pom versions to 3.6.0.Beta1 for release tagging
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19999 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-21 20:35:16 +00:00
Steve Ebersole 1dd65401f3 HHH-5384 - HEM should not register its own Synchronization
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19962 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-16 19:04:26 +00:00
Hardy Ferentschik 22131bd2e5 HHH-4945
* Removed obsolete testcase EJB3TestCase.
* Removed obsolete FlushTest (not clear what it really tested)
* Updated GetLoadTest and MergeTest to depend on ejb TestCase

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19941 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-13 10:40:39 +00:00
Steve Ebersole 21b68ef40f HHH-5370 - Building IN condition with CriteriaBuilder providing collection of values not working.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19930 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-10 13:48:34 +00:00
Hardy Ferentschik cb2993cfbb HHH-5334 Fixed bug in MetaDataCache.findMember
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19917 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 09:49:37 +00:00
Steve Ebersole 30f384d224 HHH-5357 - Rename hibernate-testing packages
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19910 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 19:39:23 +00:00
Hardy Ferentschik c0e94443b1 HHH-5094 applied some changes as on 3.5 branch
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19740 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-15 14:53:17 +00:00
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
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 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 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
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
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 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