667 Commits

Author SHA1 Message Date
Steve Ebersole
3d366a526e HHH-8561 - hibernate.dialect_resolvers causes failures 2013-10-07 14:40:18 -05:00
Scott Marlow
4428464d09 HHH-8593 EntityManager.refresh should throw EntityNotFoundException if the entity no longer exists in the database 2013-10-07 15:20:28 -04:00
Brett Meyer
0ba9a3a289 HHH-7150 added Cache#evictAllRegions 2013-10-07 12:14:17 -04:00
Scott Marlow
fa6a222ab1 HHH-8586 Synchronization beforeCompletion/afterCompletion should check if EM is closed and this helps us pass the tck entityManagerFactoryCloseExceptions test. 2013-10-03 11:27:26 -04:00
Steve Ebersole
a3f48ec06f HHH-8584 - Prefer returning UNKNOWN from PersistenceUtilHelper 2013-10-02 16:03:33 -05:00
Steve Ebersole
3e24ee50b6 HHH-8584 - Prefer returning UNKNOWN from PersistenceUtilHelper 2013-10-02 16:03:33 -05:00
Steve Ebersole
ffa67243b8 HHH-8576 - Query not properly locking non-versioned entities associated with PersistenceContext 2013-09-30 13:43:56 -05:00
Steve Ebersole
f79271d60e HHH-8563 - javax.persistence.Query#getLockMode should throw ISE in some cases 2013-09-26 14:53:22 -05:00
Steve Ebersole
f2b272f468 HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Steve Ebersole
185fa1d68b HHH-8550 - Order of remove/delete calls important for associated data 2013-09-25 13:36:48 -05:00
Brett Meyer
a20b0bd9ea HHH-8556 QueryStructure#collectCorrelatedJoins should add
correlationRoots implementing Join
2013-09-25 12:09:33 -04:00
Steve Ebersole
ae3f1117e0 HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-23 16:05:22 -05:00
Steve Ebersole
0e40a9e6fc HHH-8543 - Complete org.hibernate.ejb.HibernatePersistence deprecation 2013-09-23 13:05:51 -05:00
Steve Ebersole
498735aa37 HHH-8478 - AttributeConverters need to be applied to JPQL and Criteria queries 2013-09-23 12:55:55 -05:00
Brett Meyer
2243fa68ff HHH-8521 LockMode should be checked on query execution, not during call
to setLockMode
2013-09-22 20:44:57 -05:00
Steve Ebersole
903321fe92 HHH-8542 - javax.persistence.Query#setLockMode should throw ISE if not a SELECT JPQL or Criteria query 2013-09-22 19:57:02 -05:00
Steve Ebersole
ccd1fb07c8 HHH-8541 - EntityManager#getLockMode should technically throw TransactionRequiredException if transaction is not active 2013-09-22 15:36:21 -05:00
Steve Ebersole
b839720cd3 HHH-8540 - Throw ISE on attempts to create EntityManager using any form of createEntityManager accepting SynchronizationType if RESOURCE_LOCAL 2013-09-22 15:03:03 -05:00
Steve Ebersole
c9c2e0427a HHH-8540 - Throw ISE on attempts to create EntityManager using any form of createEntityManager accepting SynchronizationType if RESOURCE_LOCAL 2013-09-22 14:59:17 -05:00
Steve Ebersole
1f9c157db6 HHH-8539 - @Column#table naming primary table fails 2013-09-22 14:41:00 -05:00
Steve Ebersole
2bb866a616 HHH-8534 - Metamodel#managedType(SomeMappedSuperclass.class) returns null 2013-09-22 14:20:25 -05:00
Steve Ebersole
a1ff3a29cb HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 16:55:05 -05:00
Steve Ebersole
4473f0302f HHH-8529 - AttributeConverter not applied to @ElementCollection 2013-09-21 14:06:57 -05:00
Steve Ebersole
4d5174f55f HHH-8533 - Add tests of JPA Metamodel handling for MappedSuperclass and mixed @Id/@IdClass declaration 2013-09-20 22:05:24 -05:00
Steve Ebersole
9360f4d9d4 HHH-8533 - Add tests of JPA Metamodel handling for MappedSuperclass and mixed @Id/@IdClass declaration 2013-09-20 20:42:43 -05:00
Steve Ebersole
bfb05f5694 HHH-8532 - ManagedType#getAttribute(String) should throw IAE rather than return null 2013-09-20 14:27:10 -05:00
Steve Ebersole
bf0eed907f HHH-8530 - Align JPA "positional parameter" handling in javax.persistence.Parameter impl 2013-09-20 12:02:49 -05:00
Steve Ebersole
5a3233b915 HHH-8523 - Incorrect parameter binding for Calendar and TemporalType 2013-09-19 13:20:40 -05:00
Steve Ebersole
5a7d37aa80 HHH-8518 - Validate EMF#addNamedQuery transfers all query settings 2013-09-18 15:12:45 -05:00
Steve Ebersole
346d958c20 HHH-8518 - Validate EMF#addNamedQuery transfers all query settings 2013-09-18 14:21:15 -05:00
Steve Ebersole
a4d4152204 HHH-8514 - EntityManager#createQuery(CriteriaQuery) should throw IAE rather than ISE 2013-09-18 09:52:14 -05:00
Steve Ebersole
31f50f3280 HHH-8515 - EntityManager#createStoredProcedureQuery( String, String...) should throw IAE if result set mapping name(s) do not exist 2013-09-18 08:48:51 -05:00
Steve Ebersole
75dc1138de HHH-8514 - EntityManager#createQuery(CriteriaQuery) should throw IAE rather than ISE 2013-09-18 08:10:08 -05:00
Steve Ebersole
37d2e1804a Added some simple tests for using the JPA Cache API 2013-09-18 07:51:01 -05:00
Steve Ebersole
a2881b3a35 HHH-8498 - Full ConstructorResult handling 2013-09-17 17:29:53 -05:00
Juergen Zimmermann
e903b3d3cf HHH-8394 Wrong processing of package-info.java on Windows 2013-09-12 13:37:34 -04:00
Steve Ebersole
9e54c418ab HHH-8499 - Prepare for 4.3 Beta4 release 2013-09-12 11:44:42 -05:00
Farah Juma
93a67bec94 HHH-8492: Making the validator factory available via EntityManagerFactory.getProperties().get("javax.persistence.validation.factory"). 2013-09-12 11:37:24 -04:00
Steve Ebersole
d0b556ece6 HHH-8459 - Improved handling of JPA schema-generation target files 2013-09-12 08:49:52 -05:00
Steve Ebersole
0bf29bc2fd HHH-8493 - Implement ConstructorResults handling 2013-09-12 07:10:44 -05:00
Brett Meyer
eef090d5bf HHH-8364 corrected test 2013-09-11 14:31:54 -04:00
beamerblvd
34965da78f HHH-8364 exclude-unlisted-classes parsing handles content incorrectly
Parsing for exclude-unlisted-classes handles content within the element incorrectly. The value correctly defaults to false. <exclude-unlisted-classes /> and <exclude-unlisted-classes>true</exclude-unlisted-classes> are correctly parsed as true. However, <exclude-unlisted-classes>false</exclude-unlisted-classes> is incorrectly parsed as true. This commit fixes that.
2013-09-11 14:31:54 -04:00
Brett Meyer
3869845ee0 HHH-8364 test case 2013-09-11 14:31:54 -04:00
Scott Marlow
bcb84dd49b HHH-8442 certain EntityManager operations (createQuery()) should rollback the TX for when Runtime exceptions are thrown 2013-09-11 12:49:36 -04:00
Steve Ebersole
4027f131e3 HHH-8487 - Auto-flush on JPA native SQL query 2013-09-11 10:52:48 -05:00
Steve Ebersole
c6fbd4be4c HHH-8487 - Auto-flush on JPA native SQL query 2013-09-11 09:18:04 -05:00
Steve Ebersole
05dcb8f5c1 HHH-8486 - javax.persistence.Tuple#get(String,Class) impl does not validate type 2013-09-10 18:46:23 -05:00
Steve Ebersole
a3f1c247bc HHH-8480 - JPA Predicate#not() on a simple predicate should leave the operator as AND, not mutate it to OR 2013-09-10 17:16:11 -05:00
Steve Ebersole
b8b586a65e HHH-8477 - Cannot create named queries at runtime - exception results 2013-09-09 14:15:13 -05:00
Scott Marlow
f198392364 HHH-8442 certain EntityManager operations (e.g. StoredProcedureQuery.execute()) should rollback the TX for when Runtime exceptions are thrown 2013-09-06 19:50:56 -04:00