Commit Graph

662 Commits

Author SHA1 Message Date
barreiro d5740b00eb HHH-10356 - Make runtime bytecode enhancement configurable 2015-12-16 15:27:55 -06:00
barreiro 6828f5ee9b HHH-10354 - Rename 'field access' to 'extended enhancement' 2015-12-16 13:56:56 -06:00
Eskil Bylund 5cc2175033 Fix missing parenthesis around composite properties in WHERE clauses
The currentClauseType field would not be correct if the query contained a
subquery.

Signed-off-by: Andrea Boriero <andrea@hibernate.org>
2015-12-16 10:48:30 +00:00
Gail Badner e150a6140e HHH-10349 : PersistenceUtilHelper should call getDeclaredField/Method inside of privileged block
(cherry picked from commit 986b2b65ad)
2015-12-15 22:32:12 -08:00
Andrea Boriero 4b99c1b79d HHH-9343 - Case/when in criteria with string literal result fails type checking 2015-11-27 16:35:04 +00:00
Andrea Boriero 462585c532 HHH-9343 - Add test fro issue 2015-11-27 16:14:50 +00:00
Gail Badner 24841e4e59 HHH-10328 : Unit test failure due to database identifier too long
(cherry picked from commit 24ee708de7)
2015-11-24 20:58:02 -08:00
Gail Badner c3ffe16ff0 HHH-10323 : Unit test failure on Oracle because constructor cannot be found 2015-11-23 22:16:20 -08:00
Gail Badner d5017c339c HHH-10312 : Unit test failures due to DB problems interpreting proper type for null value when bound to a query
(cherry picked from commit 519ba7175f)
2015-11-20 18:57:41 -08:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Gail Badner b4dbb90f17 HHH-10161 : Hibernate ignores return value from javax.persistence.Parameter#getParameterType() 2015-11-16 22:30:09 -06:00
Steve Ebersole 1e44e7420b HHH-10267 - Support defining lazy attribute fetch groups 2015-11-16 15:43:11 -06:00
Steve Ebersole 472f4ab9ef HHH-10280 - Remove legacy bytecode enhancement artifacts 2015-11-12 19:47:50 -06:00
Steve Ebersole 4132a4293a HHH-8847 - Exception thrown when trying to select a treated property 2015-11-09 22:41:59 -06:00
Steve Ebersole f940c72aa9 HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType 2015-11-09 22:05:47 -06:00
Steve Ebersole 7a2fbbd79a HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType 2015-11-09 22:04:10 -06:00
Steve Ebersole 2e6811f413 HHH-8802 - Class cast exception thrown when trying to access Embedded type relationship path in Tuple 2015-11-05 09:35:14 -06:00
Steve Ebersole 1a2bdd09e8 HHH-8775 - Exception when mapping a class more than once - applying tests from https://github.com/hibernate/hibernate-orm/pull/677 + fix 2015-11-04 20:32:46 -06:00
Steve Ebersole eb2f33328d HHH-9160 - javax.persistence.Query#getParameterValue(String) returns the ParameterRegistration not the parameter value 2015-10-30 12:55:16 -05:00
Steve Ebersole 287a516760 HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph 2015-10-29 09:52:53 -05:00
Janario Oliveira 41879f6d1a HHH-5948 - Trying to get a PluralAttributePath from a @MappedSuperclass throws org.hibernate.MappingException: Unknown collection role - Changed to read path from entity (not mappedclass) as defined in CollectionBinder.bind() 2015-10-28 21:56:14 -05:00
Steve Ebersole bf41b43c16 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field" 2015-10-28 21:26:48 -05:00
Steve Ebersole dbb84be810 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field" 2015-10-28 20:44:05 -05:00
Hardy Ferentschik 25d8a66ac7 HHH-6475 - Metamodel check fails when subclasses are used 2015-10-28 13:26:06 -05:00
Réda Housni Alaoui 1677e0662b HHH-9374 EntityGraph applied to subquery when using collection function 2015-10-26 17:43:45 -05:00
Andrea Boriero 0e93d0050c HHH-10104 - Add Test 2015-10-15 10:19:57 +01:00
Steve Ebersole 7af7ebaf87 HHH-10129 - Evaluate AttributeConverter tests in hibernate-entitymanager for move to hibernate-core;
HHH-10154 - Change built-in JavaTypeDescriptor impls to not auto-register themselves with JavaTypeDescriptorRegistry
2015-09-30 12:37:49 -05:00
Andrea Boriero 14e207d692 HHH-9996 - Finish Derby database profile - SelectCaseTest#selectCaseWithValuesShouldWork() and SelectCaseTest#simpleSelectCaseWithValuesShouldWork require H2Dialect 2015-09-30 14:36:24 +01:00
Steve Ebersole eb544140a1 HHH-10121 - Have EMF#getProperties expose ValidatorFactory injected via 2-phase load 2015-09-30 00:20:35 -05:00
Andrea Boriero 8d3b2e723b HHH-9996 - Finish Derby database profile 2015-09-28 21:28:12 +01:00
Steve Ebersole 70c9c8e855 HHH-10111 - AttributeConverter based attributes are not marked for update when their state is modified 2015-09-24 17:03:53 -05:00
Andrea Boriero c5b1cf94f3 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:11:43 +01:00
Steve Ebersole 39e3dbb8b6 HHH-9409 - non-auto-apply converter fails at element collection 2015-09-15 11:23:48 -05:00
Andrea Boriero 0aca04ff7a HHH-9731 : Wrap Criteria CaseStatement params in string casts 2015-09-04 12:00:38 +01:00
Andrea Boriero 9a6ecb914e HHH-9731 - Add test for issue 2015-09-03 16:03:18 +01:00
Steve Ebersole ca1c2efaf9 HHH-9954 - Equality checking should consider arrays 2015-08-31 09:25:53 -05:00
Steve Ebersole dee80ab566 HHH-10059 - Make EntityManagerFactoryBuilderImpl.populate methods protected 2015-08-31 08:09:56 -05:00
Kamil Szymanski 5f5e5f82c4 HHH-9593 Remove superfluous references to enclosing class
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java
2015-08-26 15:55:45 -04:00
Martin Simka 37964f12e4 [HHH-9994] Finish mariadb (mysql) database profile - added transaction to EnhancerTest and FlushAndTransactionTest 2015-08-18 16:47:43 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Gail Badner 0b6ea757e3 HHH-7573 : Re-work test case to be similar to org.hibernate.test.instrument tests 2015-07-28 20:10:48 -07:00
Gail Badner 8653c3195e HHH-7573 : Improve fix readability and test case 2015-07-28 20:10:48 -07:00
ballm 91995cf951 HHH-7573 Added check for handle LazyPropertyInitializer.UNFETCHED_PROPERTY
Added test to check that the change handles the various possible scenarios.
Test requires build time instrumentation.

(cherry picked from commit e7475f12b0)
2015-07-28 20:10:48 -07:00
Hynek Svabek 7dbd199876 HHH-9972 - fix table names were too long on Oracle DB 2015-07-24 15:29:19 +01:00
Steve Ebersole f34c69cf11 HHH-9927 - Explicit calls to EntityManager.joinTransaction() with no active JTA transaction should throw a TransactionRequiredException 2015-07-23 14:47:48 -05:00
Scott Marlow 289e59a2c0 HHH-9927 add testcase for calling EntityManager.joinTransaction() with no active JTA transaction to verify that a TransactionRequiredException is thrown 2015-07-23 13:08:02 -05:00
Gail Badner 6bb8d03595 HHH-9637 : Join is reused when 2 explicit joins are used for the same ToOne association 2015-07-21 17:06:50 -07:00
Steve Ebersole ae070f32c9 HHH-9822 - Switch runtime JPA Class transformation to use new bytecode Enhancer 2015-07-06 16:28:28 -05:00
Steve Ebersole 9b5bb9751c HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 15:47:08 -05:00
Steve Ebersole 0d6393a8b1 HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 02:50:12 -05:00