Commit Graph

645 Commits

Author SHA1 Message Date
Gail Badner 70532259fa HHH-9106 : Merging multiple representations of the same entity merged 2014-06-12 01:46:23 -07:00
Dimitris Mandalidis 1fc74feada HHH-8885 MapJoin.key() produces unusable Path object 2014-05-27 13:14:53 -04:00
Jocki Hendry e541ab02df HHH-9080 - Can't add attribute node declared in superclass (inheritance) in EntityGraph 2014-04-21 09:04:11 -04:00
Julien Fourment 69c9950b39 HHH-9093 - Fixed typo in error message when no implicit selection could
be found
2014-04-21 08:55:21 -04:00
Steve Ebersole bbd2f1ae5b HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThenNode()
(cherry picked from commit efa5dc2f6c)
2014-04-03 13:07:15 -05:00
Steve Ebersole 76526ab3e4 HHH-6747 - ClassCastException when rendering SimpleCaseExpression 2014-04-02 14:44:44 -05:00
Brett Meyer 18b4b55d0a HHH-9092 QueryBuilderTest.testMultiselectWithPredicates failing on
most databases
2014-03-31 10:29:32 -04:00
Steve Ebersole 4bb7966102 HHH-9073 - TREAT downcasting and result restrictions 2014-03-26 13:20:19 -05:00
Scott Marlow 4a9057f31c HHH-9073 - TREAT downcasting and result restrictions 2014-03-26 13:20:19 -05:00
Guillaume Smet 1c0841180d HHH-9067 Make HibernatePersistenceProvider easier to extend
The ultimate goal is to be able to instantiate easily an HibernatePersistenceProvider
with a Spring managed interceptor.
2014-03-20 22:33:10 -05:00
Brett Meyer 24a8b63b40 HHH-8914 double negation broken on JPA criteria 2014-01-30 13:31:56 -05:00
Brett Meyer 99e6883d1c HHH-8903 bi-directional fetches in entity graphs 2014-01-28 16:44:05 -05:00
Christian Bauer d28b3fe9db HHH-8903 Inverse @OneToMany ignored in entity graph 2014-01-28 16:44:03 -05:00
Brett Meyer b9e2e6935c HHH-8404 test case 2014-01-20 17:29:39 -05:00
Benjamin Tegarden 4ac4ed23db HHH-8404: Correctly render 'ListIndexExpression' 2014-01-20 17:29:39 -05:00
Brett Meyer 7c69c7fb95 HHH-8855 HHH-8640 corrected EntityGraph loadplan strategy, support inheritance in SubGraphs 2014-01-16 01:05:01 -05:00
Brett Meyer cd964a9aca HHH-8855 corrected EntityGraph loadplan strategy, testcase cleanup 2014-01-14 19:40:22 -05:00
Christian Bauer aff694bf41 HHH-8855 Failing test for multiple @ManyToOnes load graph 2014-01-14 19:40:20 -05:00
Steve Ebersole 151719b764 HHH-8812 - JPAOverriddenAnnotationReader and @Convert annotations
(cherry picked from commit 56e6db38fc)
2014-01-14 18:30:28 -06:00
Brett Meyer 78a62acc2d HHH-5289 remove unnecessary security checks in property accessors 2014-01-10 16:06:50 -05:00
Steve Ebersole 7bd5ef0fd9 HHH-8735 - Do not log deprecation warning from org.hibernate.ejb.HibernatePersistence#getProviderUtil
(cherry picked from commit 945463e3fe)
2014-01-10 14:31:00 -06:00
Steve Ebersole 458b2dc772 HHH-8842 - Hibernate can't handle JodaTime Converters result (possible bug)
(cherry picked from commit 6fb5a899bd)
2014-01-10 09:37:26 -06:00
Steve Ebersole 5620744c53 HHH-8809 - Support @Converter on Enumerations
(cherry picked from commit dd08640725)
2014-01-09 14:06:52 -06:00
Steve Ebersole 37255e688a HHH-8807 - Wrong type mapped when using AttributeConverter
(cherry picked from commit 20d813f457)
2014-01-09 14:06:52 -06:00
Brett Meyer 4fc9c70b0c HHH-8821 corrected failing test 2014-01-09 14:41:07 -05:00
Brett Meyer a76a7e9b42 HHH-8756 cleanup 2014-01-09 14:26:29 -05:00
Rune Steinseth f4f5264cd2 HHH-8756 test cases for non select queries when lock mode is set to NONE 2014-01-09 14:21:58 -05:00
Rune Steinseth a32b5dfa74 HHH-8756 relaxed validation on non select queries when lock mode is set to NONE 2014-01-09 14:21:51 -05:00
Brett Meyer e3040599f1 HHH-8821 Scanning for META-INF/orm.xml does not work on Windows in jpa
mode
2014-01-09 13:50:33 -05:00
Lukasz Antoniak 26f19d0b4c HHH-8699 - Multiselect with boolean predicate 2014-01-08 17:46:56 -05:00
Gail Badner c9bc9e7512 HHH-8750 : Move load plan implementations from spi to internal 2013-12-03 15:52:51 -08:00
Steve Ebersole 49ff975f7d HHH-8733 - General build cleanup 2013-12-02 22:11:00 -06:00
Steve Ebersole 055a750a53 HHH-8733 - General build cleanup 2013-12-02 20:57:57 -06:00
Lukasz Antoniak 8d67d64fc2 HHH-8701 - Fix JPQL TYPE operator test 2013-12-02 12:51:45 -05:00
Brett Meyer e0d6cdc0f7 HHH-8760 improve EntityGraph JPQL query hint test 2013-12-02 12:43:45 -05:00
Steve Ebersole 14d0116af2 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit bc2855b323.
2013-11-26 17:48:25 -06:00
Steve Ebersole bc2855b323 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 13:53:18 -06:00
Steve Ebersole d1023821b1 HHH-8733 - General build cleanup 2013-11-26 13:04:55 -05:00
Brett Meyer f24e470181 HHH-8341 JtaTransaction logs excessive HHH000426 warning 2013-11-25 13:35:25 -05:00
Steve Ebersole 8fe5460ec0 HHH-8741 - More checkstyle cleanups 2013-11-24 20:07:37 -06:00
Steve Ebersole 3a2c9f83e6 HHH-8741 - More checkstyle cleanups 2013-11-24 17:20:23 -06:00
Steve Ebersole 77c85353ab HHH-8741 - More checkstyle cleanups 2013-11-24 15:29:50 -06:00
Steve Ebersole 4c91944fd9 HHH-8741 - More checkstyle cleanups 2013-11-24 15:20:45 -06:00
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole 8ec17e68e7 HHH-8741 - More checkstyle cleanups 2013-11-23 00:06:06 -06:00
Steve Ebersole ffecce514e HHH-8733 - General build cleanup 2013-11-22 21:20:27 -06:00
Steve Ebersole f9aa122b5e HHH-8733 - General build cleanup 2013-11-22 19:46:05 -06:00
Steve Ebersole 9c96e23488 HHH-8739 - Tracking of JTA Synch registration thread 2013-11-22 16:28:43 -06:00
Steve Ebersole c1612fe004 HHH-8733 - General build cleanup 2013-11-22 14:53:24 -06:00
Gail Badner f679a3c783 HHH-8597 : Rename org.hibernate.loader.plan2 to org.hibernate.loader.plan 2013-11-20 02:21:31 -08:00
Gail Badner 8e2f2a9da6 HHH-8597 : Delete org.hibernate.loader.plan2 and related code 2013-11-20 01:38:46 -08:00
Steve Ebersole 67d8a53887 HHH-8700 - Update ORM modules using JPA metamodel generator to use the new module 2013-11-18 15:36:23 -06:00
Scott Marlow 246ce294a8 HHH-8688 EntityGraph should add AttributeNode's for basic NamedAttributeNode 2013-11-08 09:59:04 -05:00
Strong Liu 7de7b7c235 HHH-8688 fix org.hibernate.jpa.test.graphs.named.multiple.NamedEntityGraphsTest failure 2013-11-08 09:59:04 -05:00
Scott Marlow 17937f8d79 HHH-8688 recreated tck failure, will fail to get AttributeNode's from the graph 2013-11-08 09:59:03 -05:00
Strong Liu 99ae2a7be5 HHH-8285 Adding more tests 2013-11-08 20:59:50 +08:00
Strong Liu 90ee768f45 HHH-8285 Initial JPA 2.1 entity graph support (EntityManager.find()) 2013-11-08 20:59:50 +08:00
Strong Liu b3871f319b HHH-8285 Initial JPA 2.1 entity graph support (EntityManager.find()) 2013-11-08 20:59:50 +08:00
Brett Meyer 0e4c2a9ed5 HHH-8627 corrected stupid test mistake 2013-10-31 06:30:17 -04:00
Brett Meyer ca2d0578ff HHH-8627 Support EntityGraphs through JPA Query hints 2013-10-30 12:12:28 -05:00
Steve Ebersole 52d095be97 HHH-8660 - NamedEntityGraphDefinition built too early 2013-10-30 10:45:19 -05:00
Strong Liu f52c14a652 Revert "HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core"
This reverts commit 61483966a7.
2013-10-29 15:53:46 +01:00
Strong Liu 61483966a7 HHH-8285 Moving jpa/internal/metamodel and jpa/graph from hem to core 2013-10-29 07:48:27 -05:00
Steve Ebersole 1658a477fb HHH-8647 - hibernate.cache.use_reference_entries + queries 2013-10-29 04:04:38 -05:00
Gunnar Morling 485096a78b HHH-8636 Wrapping all exceptions into PersistenceException in HibernatePersistenceProvider 2013-10-28 12:41:06 -05:00
Brett Meyer fcaf413acc HHH-8643 test case 2013-10-28 07:09:49 -04:00
Steve Ebersole 859eaaa1c5 HHH-8619 - Account for "shadow" services as part of ServiceRegistry impls 2013-10-17 15:19:35 -05:00
Steve Ebersole c88494698e HHH-8625 - Wrong warning about deprecated persistence provider 2013-10-17 15:19:35 -05:00
Scott Marlow 381198c206 HHH-8477 use unwrapped query 2013-10-17 09:21:00 -04:00
Juergen Zimmermann 1e42894fa7 HHH-8032 OptimisticLockException with message of the wrapped StaleObjectStateException 2013-10-15 14:39:18 -04:00
Brett Meyer 51508921a0 HHH-6859 correct AbstractEntityManagerImpl#determineCacheStoreMode 2013-10-14 13:23:20 -04:00
Steve Ebersole 1380068dc0 HHH-8354 - New dirty-checking options based on bytecode enhancement 2013-10-09 13:38:13 -05:00
Gail Badner f111600e1f HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Strong Liu 4420fa71d6 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:13:52 -05:00
Steve Ebersole dc7cdf9d88 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Steve Ebersole cb30fefd87 HHH-8445 - Implement REF_CURSOR support for StoredProcedureQuery 2013-10-08 16:33:47 -05:00
Brett Meyer 10383fb4bb HHH-8434 CriteriaUpdate with multiple assignments incorrect 2013-10-08 13:24:23 -04:00
Brett Meyer ceead77b62 HHH-8509 malformed LOG.tracef() 2013-10-08 12:46:40 -04:00
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
Tomaz Cerar 5011b4a30e HHH-8363 ClassLoaderServiceImpl should be defined as Stoppable
- also fix problem with JpaIntegrator holding references to beanmanager
2013-09-06 18:28:57 -04:00
Brett Meyer 8a0d301ba5 HHH-8474 accounted for Gradle 1.7's BND upgrade 2013-09-06 18:28:57 -04:00
Steve Ebersole 1f6daa6785 HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-06 13:38:56 -05:00
Brett Meyer a5705e011e HHH-8284 build SessionFactory before JPASchemaGenerator use to kick off
integrators
2013-09-04 23:16:00 -04:00
Brett Meyer 6963dc88d0 HHH-8316 JandexHelper uses ClassLoaderService 2013-09-04 22:38:18 -04:00
Steve Ebersole 151dd1531b HHH-8469 - Application of JPA 2.1 AttributeConverters 2013-09-03 11:43:24 -05:00
Brett Meyer 9f10ec5e74 HHH-8454 added numeric types to MySQLDialect#getCastTypeName 2013-08-29 15:06:59 -04:00
Brett Meyer a9e85716f1 HHH-8454 corrected failing test for MySQL 2013-08-29 13:49:17 -04:00
Steve Ebersole 91dace33b3 HHH-8459 - Improved handling of JPA schema-generation target files 2013-08-27 16:17:28 -05:00
Scott Marlow 7146435a42 HHH-8406 - fix for EntityManagerFactoryRegistry not being thread safe 2013-08-26 12:56:51 -04:00
Steve Ebersole cd812b6d65 HHH-8413 - Rename ProcedureResults -> ProcedureOutputs 2013-08-25 21:08:49 -05:00
Steve Ebersole e42e786e8d HHH-8442 - StoredProcedureQuery.execute() should rollback the TX for certain exceptions 2013-08-25 21:03:56 -05:00
Steve Ebersole 1a59e9194b HHH-8454 - Criteria queries sometimes lead to SQL like "... where ? in (?,?)" 2013-08-25 20:01:00 -05:00
Steve Ebersole 0ecb76f9d5 Tests for @ConstructorResult mapping of stored procedure results 2013-08-25 09:41:56 -05:00
Steve Ebersole 8cfa73c3a1 HHH-8452 - Better parameter handling for JPA criteria queries 2013-08-25 01:17:20 -05:00
Steve Ebersole bfe564e810 HHH-8444 - Fix criteriaapi failures from JPA 2.1 TCK 2013-08-24 19:25:25 -05:00
Steve Ebersole 88559e2061 HHH-8450 - Predicate#not now required to return new instance 2013-08-22 15:53:40 -05:00
Steve Ebersole 9f86babd88 HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-22 09:27:59 -05:00
Steve Ebersole bf168ca24e HHH-8111 - AttributeConverter doesn't override built-in type mappings 2013-08-19 16:07:07 -05:00
Steve Ebersole 4431f3428c HHH-8444 - Fix criteriaapi failures from JPA 2.1 TCK 2013-08-19 09:21:20 -05:00
Steve Ebersole 7bdcdca439 HHH-8444 - Fix criteriaapi failures from JPA 2.1 TCK 2013-08-19 09:21:20 -05:00
Steve Ebersole d5ceb60062 HHH-8444 - Fix criteriaapi failures from JPA 2.1 TCK 2013-08-19 09:21:20 -05:00