Commit Graph

493 Commits

Author SHA1 Message Date
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
Steve Ebersole b12ad4f5cc HHH-8444 - Fix criteriaapi failures from JPA 2.1 TCK 2013-08-19 09:21:19 -05:00
Steve Ebersole 6162a4b394 HHH-8444 - Fix criteriaapi failures from JPA 2.1 TCK 2013-08-15 19:02:03 -05:00
Strong Liu 4f2088856f HHH-7216 'java.lang.IllegalStateException: No supertype found' thrown on query with COUNT aggregate function 2013-08-14 00:39:40 +08:00
Brett Meyer 6c708e2180 HHH-8420 multiple test-only fixes from matrix failures 2013-08-06 10:43:29 -04:00
Jan Šimek 5255c5074f ignoring collections and maps of any during populating JPA metamodel,
see HHH-6589
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/metamodel/AttributeFactory.java
2013-08-05 23:20:08 -04:00
Steve Ebersole 3d595febc5 HHH-8419 - Tie javax.persistence.Parameter instance to javax.persistence.Query instance 2013-08-05 11:24:31 -05:00
Steve Ebersole 6beb5acb4b HHH-8415 - Throw exception types expected by JPA spec wrt StoredProcedureQuery 2013-08-02 19:18:14 -05:00
Sanne Grinovero aea6b767ae Micro-tuning for StandardListenerFactory 2013-08-02 18:09:56 +01:00
Steve Ebersole 59d2bff81b HHH-8413 - Rename ProcedureResults -> ProcedureOutputs 2013-08-02 10:02:50 -05:00
Steve Ebersole f99e1e4b4a HHH-8411 - StoredProcedureQuery : getResultList and hasMoreResults() mot implemented properly 2013-08-01 21:17:27 -05:00
Brett Meyer 2301fd215f HHH-8373 fix and test case 2013-08-01 12:02:35 -04:00
Steve Ebersole c1d1695606 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 01:19:33 -05:00
Steve Ebersole 1a3a2a52a2 HHH-8400 - Positional parameters defined on NamedStoredProcedureQuery not applied 2013-08-01 00:18:56 -05:00
Steve Ebersole 15e9b028b5 HHH-8398 - StoredProcedureQuery passed resultClasses chooses incorrect aliases to extract results 2013-07-31 12:09:06 -05:00
Brett Meyer d210c0cae2 HHH-8389 removed a @FailureExpected 2013-07-31 12:26:29 -04:00
Steve Ebersole cd1c80b82d HHH-8395 - JPA StoredProcedureQuery#getUpdateCount should prefer return -1 rather than throw exceptions 2013-07-31 08:35:27 -05:00
Steve Ebersole 033bf4a22e HHH-8385 - Check whether EMF is closed (throwing ISE if so) when indicated methods are called 2013-07-26 18:26:33 -05:00
Steve Ebersole c101258e03 HHH-8389 - Look at JPA TCK StoredProcedureQuery related failures 2013-07-26 18:12:52 -05:00
Steve Ebersole cf9bd9d13f HHH-8388 - pull in final jpa-api 2.1 2013-07-26 14:22:53 -05:00
Steve Ebersole fb4697d51a HHH-8386 - Commit transaction on connection used to export schema (JPA) 2013-07-26 13:00:40 -05:00
Brett Meyer 58622f3e10 HHH-7996 arquillian-based OSGi unit test, minor CL fixes 2013-07-01 16:38:20 -04:00
ouzned d49f68f1e3 HHH-8283 JdbcSQLException with CompositeCustomType and java.util.Date 2013-06-07 10:37:08 -04:00
Steve Ebersole 3bc26b6448 HHH-8270 - Support for accessing JPA schema export script files specified by URL 2013-05-29 12:39:35 -05:00
Steve Ebersole 120dbbb311 HHH-8257 - More concisely obtaining a JBoss logger 2013-05-21 16:25:21 -05:00
Strong Liu 21444339ec HHH-8247 Implement XML binding of NamedEntityGraph 2013-05-21 09:46:55 -07:00
Brett Meyer 19da1ad211 HHH-8241 Reusing of scanner instance is impossible with Apache Aries JPA 2013-05-21 10:50:15 -04:00
Gail Badner b846fa35b5 HHH-7841 - Redesign Loader 2013-05-21 01:07:20 -07:00
Strong Liu a03d44f290 HHH-8246 Implement XML binding of NamedStoredProcedureQuery 2013-05-20 20:37:16 -07:00
Steve Ebersole 14993a4637 HHH-8223 - Implement @NamedEntityGraph binding 2013-05-17 12:50:19 -05:00
Brett Meyer 21ae220a4c HHH-8254 throw HibernateException when transaction is rolledback by a
reaper thread
2013-05-17 13:22:46 -04:00
Scott Marlow 3e311a1370 HHH-8233 fix for exclude-unlisted-classes (was being ignored) 2013-05-14 13:36:26 -04:00
Gail Badner 4620ff4b4f HHH-7841 - Redesign Loader 2013-05-13 12:10:47 -07:00
Steve Ebersole 1337d36a79 HHH-8235 - Drop database profiles upstream 2013-05-10 15:59:02 -05:00
Steve Ebersole 0ff155d065 HHH-8231 - Pass along IOException as cause when trying to open script outputs 2013-05-09 14:52:54 -05:00
Steve Ebersole 8c95a6077a HHH-8222 - Implement @NamedStoredProcedureQuery binding 2013-05-09 14:47:58 -05:00
Steve Ebersole 3275855c5b HHH-8159 - Apply fixups indicated by analysis tools 2013-05-02 10:11:59 -05:00
Steve Ebersole ad1d1ab8b4 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 22:42:16 -05:00
Brett Meyer 60513d2e2e HHH-7995 Pushing class missed in previous commit 2013-05-01 15:05:31 -04:00
Steve Ebersole a1d190d674 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 09:23:52 -05:00
Brett Meyer 04fe84994d HHH-7995 Added support for TypeContributors in OSGi. Integrated with
envers
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiPersistenceProvider.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java
2013-05-01 00:05:03 -04:00
Brett Meyer 0edd7b75b8 HHH-7943 C3P0 and Proxool OSGi support 2013-04-29 11:51:02 -04:00
Steve Ebersole 194cd5e4bd HHH-8159 - Apply fixups indicated by analysis tools 2013-04-29 09:55:39 -05:00
Steve Ebersole eaef21076d HHH-8159 - Apply fixups indicated by analysis tools 2013-04-25 17:38:43 -05:00
Gail Badner 073bb53c8f HHH-7841 - Redesign Loader 2013-04-18 14:23:33 -07:00
Steve Ebersole 3600ffb7f2 HHH-7841 - Redesign Loader 2013-04-18 12:47:18 -05:00
Steve Ebersole 8eeef7af3b HHH-8146 - Update to use maven-publishing plugin 2013-04-16 18:26:02 -05:00
Brett Meyer 079fd4ac01 HHH-8160 Corrected Import-Package in module manifests 2013-04-16 10:29:44 -04:00
Steve Ebersole fafce001e7 HHH-7841 - Redesign Loader 2013-04-15 20:46:18 -05:00
Steve Ebersole 8429d2bcb8 HHH-8173 - AvailableSettings constants for javax.persistence.schema-generation contain space 2013-04-15 10:36:17 -05:00
Steve Ebersole 8bca70e6a9 HHH-7841 - Redesign Loader 2013-04-12 14:08:35 -05:00
Zbyněk Roubalík 03daecfe49 Test fix: em2 should be closed before we do latch.countDown() 2013-04-11 19:52:34 -04:00
Steve Ebersole 87012e8101 HHH-8077 - Add MDC usage into attribute walking to help decode logs from recursive calls 2013-04-11 14:31:25 -05:00