Commit Graph

535 Commits

Author SHA1 Message Date
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
Brett Meyer cc4ef44670 HHH-8160 Updated for Gradle 1.5 OSGi plugin changes and package
versioning issues
2013-04-09 09:57:36 -04:00
Steve Ebersole 378fc1378a HHH-8143 - Create a 'generateSources' task that performs all generation tasks 2013-04-04 14:45:49 -05:00
Steve Ebersole 26868ad314 HHH-8141 - Upgrade to Gradle 1.5 2013-04-04 13:01:39 -05:00
Steve Ebersole 907a2750b6 HHH-8138 - Log SQLException in DatabaseTarget with cause of schema export CREATE statement failure 2013-04-04 07:51:18 -05:00
Steve Ebersole 442c3268b3 HHH-8113 - Persistence.createEntityManagerFactory() should run schema export if JPA properties are set 2013-04-03 11:20:52 -05:00
Steve Ebersole 2f40949719 HHH-8129 - Unify BaseQueryImpl and AbstractQueryImpl hierarchies 2013-04-03 10:52:52 -05:00
Strong Liu bae5a85c26 HHH-8127 OutOfMemoryError when running tests
Conflicts:
	hibernate-core/src/test/java/org/hibernate/cfg/beanvalidation/ApplySchemaConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java
2013-04-03 10:27:38 -04:00
Steve Ebersole ea8f587800 HHH-8121 - Make property-able JPA settings defined in persistence.xml available in EMF.getProperties() 2013-04-02 20:39:37 -05:00
Steve Ebersole 076e17e5b1 HHH-7957 - Integrate Latest draft(s) of the JPA 2.1 spec 2013-04-02 20:10:44 -05:00
Steve Ebersole 8316367683 HHH-8113 - Persistence.createEntityManagerFactory() should run schema export if JPA properties are set 2013-04-02 14:55:19 -05:00
Steve Ebersole 84520cd6e3 HHH-7957 - Integrate Latest draft(s) of the JPA 2.1 spec 2013-04-02 14:46:08 -05:00
Steve Ebersole 04a9701f8b HHH-7714 - Add support for EntityMode.MAP to JPA Criteria API 2013-04-01 08:23:41 -05:00
Steve Ebersole c694c26c1d HHH-7957 - Integrate Latest draft(s) of the JPA 2.1 spec 2013-03-31 10:43:28 -05:00
Steve Ebersole bc85168015 HHH-8122 - Scrub known-sensitive settings from EMF.getProperties() 2013-03-29 12:43:17 -05:00
Brad Koehn f77b068e91 HHH-7714 Add support for EntityMode.MAP to JPA Criteria API
(cherry picked from commit 2758b8b494)

Conflicts:

	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/predicate/InPredicate.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/metamodel/MetadataContext.java
2013-03-29 12:10:31 -05:00
Brett Meyer e9e29a40be HHH-8096 Re-work the OSGi class loading concepts
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/HibernatePersistence.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/HibernateBundleActivator.java
2013-03-27 15:04:48 -04:00
Steve Ebersole 3bc89ad30f HHH-8099 - CDI 1.1 2013-03-25 15:48:29 -05:00
Steve Ebersole d184cb3eb4 HHH-7462 - Make JACC service 2013-03-24 12:09:52 -05:00
Steve Ebersole e4c1db1e8f HHH-8088 - Redesign Scanner contract 2013-03-23 13:57:00 -05:00
Steve Ebersole eeca84460e HHH-8088 - Redesign Scanner contract 2013-03-21 18:17:11 -05:00
Steve Ebersole 467daa22b0 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-20 22:03:35 -05:00
Steve Ebersole 8df33227be HHH-8071 - Add debug/trace logging to HibernatePersistenceProvider 2013-03-15 15:56:05 -05:00
Steve Ebersole 3fd3fe1c9b HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 5dadc5afd2)
2013-03-14 12:33:21 -05:00
Steve Ebersole 2c5098b9c6 HHH-7997 - Integrate changes to EntityGraphs 2013-03-13 12:11:12 -05:00
Steve Ebersole e5df5541c7 HHH-8067 - Hibernate's ManagedType#getDeclaredAttribute fails to find plural attributes 2013-03-13 12:11:12 -05:00
Brett Meyer b6d740d6d2 HHH-7910 Transaction timeout can cause non-threadsafe session access by reaper thread 2013-03-08 13:03:01 -05:00
Brett Meyer 5f8ba65ce1 HHH-8053 HibernateBundleActivator should not register itself as a
PersistenceProvider
2013-03-05 16:47:05 -05:00
Brett Meyer ed549f5793 HHH-8001 Temporarily disabled failing tests 2013-02-22 14:38:10 -05:00
Aleksander Blomskøld e0cfc6bf2e HHH-6736 Added support for SELECT ... FOR UPDATE SKIP LOCKED 2013-02-20 08:49:30 -06:00
Lukasz Antoniak dc311bb027 HHH-6876 - Test case 2013-02-19 16:19:16 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00
Steve Ebersole 88c6dad9b0 HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : define XSD (working) 2013-02-08 11:13:18 -06:00
Steve Ebersole 854c94bcc7 HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-06 16:42:23 -06:00
Steve Ebersole a3083aaa7b HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 18:03:55 -06:00
Steve Ebersole 9ab924041d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 14:31:43 -06:00
Steve Ebersole 5c453fee8d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : entity graph support - phase 1 2013-02-03 14:23:59 -06:00
Steve Ebersole 7976e2396a HHH-7580 - Complete 2-phase SessionFactory building design
Conflicts:
	hibernate-core/src/main/java/org/hibernate/SessionFactory.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/MetadataSources.java
	hibernate-core/src/main/java/org/hibernate/metamodel/SessionFactoryBuilder.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/SessionFactoryBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/JaxbHelper.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataImpl.java
	hibernate-core/src/main/java/org/hibernate/service/spi/ServiceContributor.java
	hibernate-core/src/test/java/org/hibernate/cfg/beanvalidation/ApplySchemaConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/binding/BasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/AssertSourcesTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/entity/BaseAnnotationBindingTestCase.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/OrmXmlParserTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/internal/MetadataImplTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractBasicBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractUnsavedValueTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/JoinedSubclassBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/basiccollections/AbstractBasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/onetomany/AbstractUnidirectionalOneToManyBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/relational/AbstractGeneratedIdColumnTests.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/internal/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/service/schema/internal/ExistingDatabaseMetaDataImplTest.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderUsingMetamodelImpl.java
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/NodeEnvironment.java
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2013-01-29 13:58:58 -05:00
Scott Marlow fcfecb82b7 HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException (spaces to tabs) 2013-01-24 23:17:53 -05:00
Scott Marlow 6263bef63e HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException (message improvement) 2013-01-24 10:49:20 -05:00
Scott Marlow 6423754bcc HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException (change was merged into org.hibernate.jpa.spi.AbstractEntityManagerImpl) 2013-01-23 13:48:29 -05:00
Steve Ebersole 6062eb67ea HHH-7914 - Improve new stored procedure call support 2013-01-14 15:05:49 -06:00
Steve Ebersole 5de1677ce7 HHH-7914 - Improve new stored procedure call support 2013-01-11 17:48:38 -06:00
Steve Ebersole c8b20660ed HHH-7912 - Define edge-case behavior for Session.evict 2013-01-08 20:56:38 -06:00
Lukasz Antoniak b11c23fd45 HHH-7561 - Fix and test 2012-12-26 01:46:42 +08:00
Strong Liu 6c6df69535 refactor, remove redundant type cast 2012-12-25 19:25:47 +08:00
Brett Meyer 0a17d4612a HHH-7872 corrected compiling issue 2012-12-19 14:48:59 -05:00
Steve Ebersole b4e8c5a83b test asserting Hibernate handling of unclear jpa behavior wrt merging detached object with reference to transient object via non-cascaded association 2012-12-17 10:58:41 -06:00
Scott Marlow d26730fb3f HHH-7850 minor test package changes 2012-12-11 16:31:14 -05:00
Dustin Schultz 58978a486f HHH-7747 - Fixes CNFE regression for runtime field level class
enhancing. Also removes the usage of ClassPool.getDefault() and
creates a new ClassPool on each usage.

HHH-7747 - Add the entity class to the ClassPool to support modular
classloading like OSGI. Remove unused import in FieldTransformer.

HHH-7747 - Enhanced test to ensure that class enhancement sees all
classes of an entity. Added test to ensure that StackMapTables are
non-null for Javassist added methods.
2012-12-11 15:27:50 -05:00
brmeyer 598c6d3d25 HHH-7849 Cleaner fix. Added additional regression test. 2012-12-10 14:16:20 -05:00
brmeyer 1f690e7aa6 HHH-7835 Updated the largeJar test to be completely isolated 2012-12-06 16:17:32 -05:00
brmeyer 230dc55d80 HHH-7835 Inefficient implementation of
JarVisitorFactory.getBytesFromInputStream
2012-12-06 14:58:10 -05:00
brmeyer 2fad160bd6 HHH-7835 Inefficient implementation of
JarVisitorFactory.getBytesFromInputStream
2012-12-06 14:26:13 -05:00
Steve Ebersole 4785d7eb2e HHH-7233 - unmuck EntityManager#getSingleResult wrt auto-setting of max results 2012-11-26 10:34:59 -06:00
Steve Ebersole 4b2871cfba HHH-1168 - Problem combining locking and paging on Oracle 2012-11-20 13:23:10 -06:00
Steve Ebersole 2ecf840f0e HHH-7407 - Second collection-valued IN expression throws QuerySyntaxExpression 2012-11-08 13:07:10 -06:00
Esen Sagynov 36f519d02e HHH-7717 Wrapped "value" column names into "`value`" as they can be
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:13 -04:00
Esen Sagynov 014bc42a86 HHH-7717 Wrapped column names which may be reserved in some dialects.
Also added
column declarations for properties which lacked column attribute.
2012-10-26 11:08:41 -04:00
brmeyer 11dcd9ab46 HHH-6655 trim function on DB2 is broken 2012-10-09 11:29:05 -04:00
brmeyer 3e5184e6d7 HHH-6043 PostLoad method invoked before collection initialised 2012-09-26 00:19:05 -04:00
brmeyer 67beb085d3 HHH-6043 PostLoad method invoked before collection initialised 2012-09-25 23:33:13 -04:00
Steve Ebersole 563af13c1f test failure fix 2012-09-21 08:36:52 -05:00
Steve Ebersole 5aad2bf84b HHH-7621 - allow DataSource to be passed into EntityManagerFactoryBuilder 2012-09-20 06:48:25 -05:00
Steve Ebersole d0f88347af HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder : reordered EMF builder processing to better allow late ValidatorFactory and DataSource (HHH-7621) passing 2012-09-20 05:40:15 -05:00
Steve Ebersole 595f068977 HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder 2012-09-20 04:25:48 -05:00
brmeyer 6660d2412a HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-19 05:24:51 -04:00
brmeyer f9c33a32b0 HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-18 04:31:41 -04:00
brmeyer 5306dda1c9 HHH-7569 Correct multiple failures/issues in
hibernate-core-master-matrix CI job
2012-09-11 18:30:10 -04:00
brmeyer f63b0c5f69 HHH-7569 Correct multiple failures/issues in
hibernate-core-master-matrix CI job
2012-09-11 18:30:07 -04:00
Steve Ebersole 4ad49a02c9 HHH-7556 - Clean up packages 2012-08-28 14:12:15 -05:00
Steve Ebersole 110c3a4b92 HHH-7550 - Fix UP-TO-DATE checking for APT-based tasks 2012-08-24 20:39:53 -05:00
Steve Ebersole 63a2f0d7dc HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI via reflection 2012-08-24 20:39:53 -05:00
Strong Liu 07d154fbf2 HHH-7514 fixing compile error 2012-08-23 23:02:51 +08:00
Steve Ebersole fd8a45b2b2 HHH-7514 - Upgrade to Jandex 1.1 2012-08-22 13:41:16 -05:00
Steve Ebersole 4282e23caa HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change) 2012-08-18 12:30:21 -05:00
Steve Ebersole c9ff6f2fe2 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change) 2012-08-17 18:31:13 -05:00
Steve Ebersole f74cf0b83f HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI support 2012-08-17 18:20:03 -05:00
Steve Ebersole af4fedc98b HHH-7527 - OSGI manifests for hibernate-orm 2012-08-16 15:20:32 -05:00
Steve Ebersole 6b5a428b3f HHH-7527 - OSGI manifests for hibernate-orm : clean up org.hibernate.engine.spi package duplication between hem and core 2012-08-16 14:21:21 -05:00
Steve Ebersole 7120b85bbc HHH-7521 - JBoss 7 / JPA 2.1 integration work 2012-08-15 13:47:21 -05:00
Steve Ebersole b38e160cba HHH-7521 - JBoss 7 / JPA 2.1 integration work 2012-08-13 11:47:21 -05:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Steve Ebersole 183c914f57 HHH-6204 - JoinColumn on non key field fails to populate collection 2012-07-24 14:59:27 -05:00
Steve Ebersole 693185a8ac Re-applying commit for HHH-6304 missed during rebase of JPA 2.1 branch with master due to JPA package refactoring 2012-07-18 18:19:47 -05:00
Steve Ebersole 30d8fdaa8b HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : more ejb->jpa rename 2012-07-18 18:05:06 -05:00
Steve Ebersole 06d44951c6 HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : more ejb->jpa rename 2012-07-18 17:48:59 -05:00
Steve Ebersole 6a65c3e7e6 HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : SynchronizationType 2012-07-18 17:48:59 -05:00
Steve Ebersole f8d06216e5 HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : criterias 2012-07-18 17:48:59 -05:00
Steve Ebersole cb13cea1ac HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec + HEM boot cleanup (HHH-6159) 2012-07-18 17:48:59 -05:00
Steve Ebersole 9ce3afd8da HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter + HEM boot cleanup (HHH-6159) 2012-07-18 17:03:09 -05:00
Steve Ebersole 153eb4a913 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : stored procedure queries 2012-07-18 17:00:19 -05:00
Steve Ebersole 4174c14675 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : UPDATE/DELETE criterias 2012-07-18 16:52:33 -05:00
Steve Ebersole 2adab60d15 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : TREAT 2012-07-18 16:52:32 -05:00
Steve Ebersole 8b87ae8830 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : FUNCTION keyword 2012-07-18 16:52:32 -05:00
Steve Ebersole 0a37440431 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : ON keyword 2012-07-18 16:52:32 -05:00
Steve Ebersole 1dd3e3a0bc HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec 2012-07-18 16:52:32 -05:00
Steve Ebersole 3edb72db48 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : addNamedQuery support 2012-07-18 16:52:32 -05:00
Steve Ebersole 00059fee2f HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec 2012-07-18 16:48:45 -05:00
Scott Marlow b76e7c4987 HHH-7454 added DEBUG log message 'PersistenceUnitUtil#isLoaded is not always accurate; consider using EntityManager#contains instead' 2012-07-18 11:02:27 -04:00
Rob Worsnop dbff4c1839 HHH-2394 Got filters working on sub-classes. 2012-07-12 22:58:09 +08:00
Strong Liu 97ac8311d4 HHH-7426 Setting cacheable='true' in orm.xml does not enable caching of entity in 2lc 2012-07-12 15:00:44 +08:00
Strong Liu 973451d5e8 HHH-6304 HHH-6695 Error 'Cannot create TypedQuery for query with more than one return' with named queries 2012-07-12 11:53:27 +08:00
Steve Ebersole 7cda27b6aa cleanup missed references to matrix sourceSet 2012-06-08 08:08:13 -05:00
Steve Ebersole bd7b54a4ea cleanup missed references to matrix sourceSet 2012-06-08 07:59:54 -05:00
Steve Ebersole e6234bd2bd consolidate src/test and src/matrix 2012-06-07 14:11:03 -05:00
Steve Ebersole d971317e1b HHH-6896 - Metamodel.managedType(...) implemented incorrectly 2012-06-05 15:02:24 -05:00
Steve Ebersole 9b1521c29a HHH-6896 - Metamodel.managedType(...) implemented incorrectly 2012-06-05 13:52:28 -05:00
Strong Liu bf69f8a382 HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest 2012-05-31 17:08:46 +08:00
Strong Liu 1de554b68a HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest 2012-05-31 10:42:10 +08:00
Strong Liu fe7a5d74c5 HHH-7350 read-only entities can not be deleted from 2LC 2012-05-31 00:54:08 +08:00
Strong Liu dddc959311 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:32:17 +08:00
Strong Liu 0c1569c4f4 HHH-6846 lock timeout is in milliseconds 2012-05-30 23:25:33 +08:00
Strong Liu ed266c593a HHH-6256 persistence.xml-specified javax.persistence.lock.timeout is ignored
HHH-6846 Support for Query.setHint(javax.persistence.lock.timeout)
2012-05-29 18:15:59 +08:00
Strong Liu 4266cd3585 HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery 2012-05-29 17:44:09 +08:00
Strong Liu 32d36f6ea9 HHH-7356 add failure expected test 2012-05-29 16:58:28 +08:00
Strong Liu 975877e5c7 fail test if timeout 2012-05-15 12:49:39 +08:00
Steve Ebersole 070ee532f5 HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest 2012-05-03 11:02:41 -05:00
Bryan Varner 8b40d71c84 Renamed the test case to be more consistent. 2012-05-02 17:17:42 -05:00
Bryan Varner 5c0d449082 Cleaned up the dialect error conversion a little bit for PostgresSQL. I was doing more than I needed to.
Updated the LockTest to enable another nowait test for postgresql.
2012-05-02 17:17:42 -05:00
Bryan Varner cb1c485774 Yes, much cleaner... 2012-05-02 17:17:42 -05:00
Bryan Varner c1849d56f6 Changing the test case to no longer fail when PersistenceException is thrown. This feels sooo wrong.
I know dialects aren't mapping lock exceptions properly, and this test case exposes that if you fail the test when PersistenceException is thrown. So what do I do now?

There are other tests in this very test class that don't fail the build when the wrong exception is thrown, even though they clearly should.
2012-05-02 17:17:42 -05:00
Bryan Varner 327002ab02 Adding a test case for HHH-7252. In this branch, the test case currently fails for PostgreSQL matrix tests, unless HHH-7251 is also applied. 2012-05-02 17:17:42 -05:00
Bryan Varner 089a36a260 HHH-7252
The code was a bit non-obvious (assignment in a method call argument) where it was being done, and the local variable (lockOptions) assignment was missing in the find() method implementation.
I changed all instances of lockOptions assignment to assign before the method call where it's required as an argument, ensuring proper scope for exception mapping.
2012-05-02 17:17:42 -05:00
Steve Ebersole 23aa8875d8 HHH-7265 - ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to SynchronizationRegistryImpl.clearSynchronizations clearing SynchronizationRegistryImpl.synchronizations 2012-05-02 14:14:48 -05:00
Gail Badner 3a5b231187 HHH-7265 : ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion 2012-05-02 14:14:48 -05:00
Gail Badner fc068be040 HHH-7265 : Test case to repro ConcurrentModificationException 2012-04-20 17:55:27 -07:00
Steve Ebersole 3cd58b6e79 HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing 2012-04-20 18:59:06 -05:00
Strong Liu d3b640cb75 HHH-7197 reimport imports 2012-03-26 16:17:45 +08:00
Strong Liu e4a82a0b6b HHH-7197 - update build scripts to not use deprecated gradle apis and change manual's xml declation to use doc namespace 2012-03-26 15:12:10 +08:00
Steve Ebersole 8f7b8e10d0 HHH-7192 - NullPointerException in QueryTranslatorImpl on erroneously typed delete query 2012-03-20 19:24:46 -05:00
Steve Ebersole e532dc5e7d HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts 2012-03-14 12:05:28 -05:00
Strong Liu b51b2ff4cb HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6) 2012-03-13 21:58:48 +08:00
Strong Liu b0f2658ecf HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings 2012-03-06 23:04:32 +08:00
Strong Liu ae5d030ae1 HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings 2012-03-06 23:04:31 +08:00
Steve Ebersole f26435dfec HHH-6589 - Skip non-JPA features populating JPA "static metamodel" 2012-03-02 10:16:04 -06:00
mam f4c9b284a1 HHH-6589 - Skip non-JPA features populating JPA "static metamodel" 2012-03-02 10:15:41 -06:00
Steve Ebersole 7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Scott Marlow 608c2fadc8 HHH-7018 EntityManagerFactory should be serializable even if it references nonserializable objects and also changed the HHH-6897 fix to use a UUID for emf name 2012-02-08 15:22:48 -05:00
Eric Dalquist 1569e6194b HHH-6974 Complete second level caching of natural id resolution 2012-02-07 08:34:23 -06:00
Eric Dalquist c473520585 HHH-6974 Class level naturalId cache and stats
Add class level @NaturalIdCache annotation to denote if second level natualId caching should be done
Flush out stats model for naturalId cache related stats
Add ehcache support classes for naturalId region
2012-02-07 08:34:23 -06:00
Eric Dalquist 72fe79a3f2 HHH-6974 Addition of NaturalIdRegion SPI
Adds NaturalIdRegion to RegionFactory
Adds creation of NaturalIdRegions to SessionFactoryImpl setup
Basic copy of collection cache region behavior for first pass at naturalId region support in ehcache
2012-02-07 08:34:23 -06:00
Steve Ebersole 30deb20ff1 HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:46 -06:00
Steve Ebersole 102c31497b HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:46 -06:00
Steve Ebersole 8352ab39fb HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Steve Ebersole 3cf41ee3dc HHH-6082 - Incorporate EntityManager documentation into main dev guide 2012-02-07 00:22:45 -06:00
Strong Liu 6dfe24983c HHH-7006 keyword top causes test fail on ms sql server 2012-01-29 17:26:17 +08:00
Gail Badner ebee6b731e HHH-6957 : Throw TransientPropertyValueException if there are unresolved entity insert actions after persist/save/merge listeners execute 2012-01-27 00:15:38 -08:00
Gail Badner bb4738b1e4 HHH-5299 : Multi-Level cascading of unsaved instances with bidirectional associations fails with TransientObjectException 2012-01-26 19:33:37 -08:00
Steve Ebersole 830d4cd2ab HHH-5755 - javax.persistence.criteria.Expression.as() is broken 2012-01-25 22:25:40 -06:00
Guy Veraghtert 181496ac7c HHH-5755
Signed-off-by: Michael Rudolf <michael.rudolf01@sap.com>
2012-01-25 14:29:23 +01:00
Steve Ebersole 75bd6b319b HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-24 11:57:24 -06:00
Steve Ebersole 537481adbd HHH-6923 - Remove org.hibernate.service.instrumentation.spi.InstrumentationService 2012-01-23 14:49:23 -06:00
Steve Ebersole 7a31958ce4 HHH-6974 - Add caching to new "load access" api for natural id loading 2012-01-22 08:27:59 -06:00
Steve Ebersole e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -06:00
edalquist f74c5a7fa5 HHH-2879 Apply hibernate code templates and formatting 2012-01-12 16:15:19 -06:00
edalquist eecee618c6 HHH-2879 Add ResolveNaturalId event, listener and entity persister api
HHH-2879 Adds ResolveNaturalIdEvent with listener and default impl
HHH-2879 Adds API to EntityPersister to get an entity's ID based on its natural-id
HHH-2879 Add unit test for initial verification of loading an entity by natural-id
2012-01-12 16:14:28 -06:00
Steve Ebersole 066fea02c7 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-10 10:06:18 -06:00
Steve Ebersole 35ce5bfef7 HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields 2012-01-09 17:53:11 -06:00