693 Commits

Author SHA1 Message Date
Steve Ebersole
691d8725d9 HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph
(cherry picked from commit 287a5167604a20f0e60f8f2862f91c746a12ca5b)
2015-10-29 09:54:09 -05:00
Janario Oliveira
81eaf8a70c 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()
(cherry picked from commit 41879f6d1aa6449bdaed214b2789dbf57b1ef493)
2015-10-28 22:02:14 -05:00
Steve Ebersole
12ada0ce34 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field"
(cherry picked from commit bf41b43c16edd4c923b0ed0ecf18bf10c7665c5c)
2015-10-28 21:27:40 -05:00
Steve Ebersole
2ed2319eb6 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field"
(cherry picked from commit dbb84be8106e9160dad513431d0602f22c567a21)
2015-10-28 20:45:16 -05:00
Hardy Ferentschik
7a0e98aeec HHH-6475 - Metamodel check fails when subclasses are used
(cherry picked from commit 25d8a66ac7df6388a4eec0539d11f4601a06827d)
2015-10-28 13:27:25 -05:00
Réda Housni Alaoui
3da8d8542f HHH-9374 EntityGraph applied to subquery when using collection function
(cherry picked from commit 1677e0662b92a7d8e63a0437f87e296fc157ebe7)
2015-10-26 17:53:17 -05:00
Andrea Boriero
076ee5f026 HHH-10104 - Add Test 2015-10-15 11:19:01 +01:00
Steve Ebersole
e27fb3f592 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

(cherry picked from commit 7af7ebaf875918331f2d1cacbdabcb8d68f16c5f)
2015-09-30 12:38:19 -05:00
Andrea Boriero
d04d86ce2e HHH-9996 - Finish Derby database profile - SelectCaseTest#selectCaseWithValuesShouldWork() and SelectCaseTest#simpleSelectCaseWithValuesShouldWork require H2Dialect 2015-09-30 14:38:55 +01:00
Steve Ebersole
3305c71fbc HHH-10121 - Have EMF#getProperties expose ValidatorFactory injected via 2-phase load
(cherry picked from commit eb544140a1e4727102bf57509060941db1d06ecf)
2015-09-30 00:21:14 -05:00
Andrea Boriero
ab8e679f41 HHH-9996 - Finish Derby database profile 2015-09-28 21:29:49 +01:00
Steve Ebersole
e9f99a8c7a HHH-10111 - AttributeConverter based attributes are not marked for update when their state is modified
(cherry picked from commit 70c9c8e8552871e7425fe91f7c8d1e017d952d31)
2015-09-24 17:04:24 -05:00
Andrea Boriero
ff7644f722 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:42:08 +01:00
Steve Ebersole
5c36abf508 HHH-9409 - non-auto-apply converter fails at element collection
(cherry picked from commit 39e3dbb8b6ef7a710e26a3d2ddda3dbac9879750)
2015-09-15 11:25:20 -05:00
Andrea Boriero
b9fce690ea HHH-9731 : Wrap Criteria CaseStatement params in string casts 2015-09-04 14:35:53 +01:00
Andrea Boriero
7141bf85bc HHH-9731 - Add test for issue 2015-09-04 14:35:17 +01:00
Steve Ebersole
f6879787e2 HHH-9954 - Equality checking should consider arrays
(cherry picked from commit ca1c2efaf9552412ee296070a76d9bb4fe9f8013)
2015-08-31 09:27:04 -05:00
Steve Ebersole
84a42b1065 HHH-10059 - Make EntityManagerFactoryBuilderImpl.populate methods protected
(cherry picked from commit dee80ab5669614c3cbc7c345f92c1445d93b7576)
2015-08-31 09:26:50 -05:00
Kamil Szymanski
c66dba9799 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 16:04:25 -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 e7475f12b0eafd37c7134b6643e0ade36b9716a0)
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
Steve Ebersole
b272080645 HHH-9859 - ResourceLocalTransactionCoordinatorImpl#isJoined bad impl 2015-06-09 15:25:56 -05:00
Steve Ebersole
0ea03fd9a4 HHH-9856 - EntityManager.find() and getReference() throw incorrect exception for non-entity 2015-06-08 18:04:56 -05:00
Steve Ebersole
9e063ffa25 HHH-9837 - Remove reliance during annotation binding on org.hibernate.internal.util.ClassLoaderHelper
HHH-9841 - Redesign org.hibernate.property.PropertyAccessorFactory
2015-06-04 14:12:17 -05:00
barreiro
f795dfc2bc HHH-9811 - Change EntityPersister#resolveAttributeIndexes to take String[] 2015-05-27 12:07:19 -05:00
Steve Ebersole
bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -05:00
Steve Ebersole
d5951c6e02 HHH-9803 - Checkstyle fix ups 2015-05-18 21:49:44 -05:00
Steve Ebersole
cf1971b4bb HHH-9771 - Registering JPA Entity-Listeners in orm.xml doesn't work 2015-05-18 21:27:36 -05:00
Steve Ebersole
611f8a0e1c HHH-9803 - Checkstyle fix ups 2015-05-18 13:35:27 -05:00
Steve Ebersole
7308e14fed HHH-9803 - Checkstyle fix ups 2015-05-15 18:07:07 -05:00
Andrea Boriero
e4e76ba23b HHH-9765 - Re-introduce ExceptionMapper, ManagedFlushChecker and AfterCompletionAction 2015-05-15 14:50:44 -05:00
Steve Ebersole
ae0b5f8577 HHH-9665 - Allow EntityManagerFactoryImpl to be unwrapped only into public interfaces/classes 2015-05-14 13:33:16 -05:00
Hardy Ferentschik
a2c3c74251 HHH-9665 Changing the EntityManagerFactoryImpl#unwrap method
- Introducing HibernateEntityManagerFactory to host public EntityManagerFactory extension points
- Letting EntityManagerFactoryImpl#getEntityTypeByName return EntityType instead of EntityTypeImpl
- Updating tests to use unwrap to HibernateEntityManagerFactory instead of a cast to EntityManagerFactoryImpl
2015-05-14 13:33:15 -05:00
Steve Ebersole
13736ab5da HHH-9790 - Remove deprecated methods from Session and SessionFactory 2015-05-13 09:03:44 -05:00
Steve Ebersole
288f490418 HHH-9761 - Make native APIs typed;
HHH-9790 - Remove deprecated methods from Session and SessionFactory
2015-05-12 22:56:37 -05:00
Steve Ebersole
88a6e4ba27 HHH-9760 - TransactionImpl itself should not be throwing new TransactionExceptions 2015-05-08 13:08:01 -05:00
Gail Badner
490fb1cf7b HHH-9737 : Back out of change that quoted ANSI keyword in hibernate-core 2015-05-01 11:15:57 -07:00
Steve Ebersole
148159fadc HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 13:34:42 -05:00
Andrea Boriero
b476094d43 HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 10:58:08 -05:00
John O'Hara
3e5a8b6603 HHH-9701 - Develop "immutable EntityEntry" impl 2015-04-22 13:24:02 +01:00