Commit Graph

671 Commits

Author SHA1 Message Date
Chris Cranford 03aa47ab76 HHH-10468 - Fix Envers global_with_modified_flag to allow override behavior when set to false. 2016-05-11 22:24:13 -05:00
Chris Cranford a67b42ca64 HHH-9178 - Fix QueryException when querying audited entities with embeddables. 2016-05-11 16:03:52 -05:00
Naros 9b13e3bb82 HHH-10706 - Correct native queries that fail when using a case-sensitive database dialect. 2016-05-06 20:03:02 -05:00
Naros b775dd1847 HHH-6374 - Add test case for EnumMap support. 2016-05-06 19:09:10 -05:00
Chris Cranford 2b66cd72bb Checkstyle fixups 2016-05-06 18:37:59 -05:00
Chris Cranford 58473c87dd HHH-10664 - Prep 5.2 feature branch - Envers 2016-05-06 14:37:00 -05:00
Andrea Boriero 9ae57a6f7a remove hibernate-entitymanager project 2016-05-06 13:13:29 -05:00
Steve Ebersole 87e3f0fd28 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core) 2016-05-06 13:12:32 -05:00
Naros cc10cbebc2 HHH-10670 - Removed deprecated ValidTimeAuditStrategy 2016-04-07 17:38:48 +03:00
Vlad Mihalcea 0ed39c7746 Change hibernate.properties to take configurable environment settings 2016-03-16 09:30:29 +02:00
Steve Ebersole e01e9b52fb HHH-3555 - more checkstyle cleanup 2016-02-09 15:21:06 -06:00
Steve Ebersole c783aab919 HHH-3555 - Extend the Envers query system with the ability to traverse associations 2016-02-09 14:31:23 -06:00
Felix Feisst 83f060bea7 HHH-3555 - Extendend Envers Criteria API to express relation traversion
(traverseRelation) with different Join Types. Implementation is done for
inner joins and will be extended to support further join types in future
commits.
2016-02-09 14:15:17 -06:00
vladmihalcea dc991d29d9 Cherry pick spelling corrections from https://github.com/hibernate/hibernate-orm/pull/1238 2016-01-25 11:36:25 +02:00
Steve Ebersole 6ed765ede3 HHH-6225 Add support to find entities by date in one single query (checkstyle fixes) 2016-01-11 14:20:57 -06:00
Felix Feisst 55f35cc239 HHH-9207 Added unit test. 2016-01-09 21:21:26 -05:00
Naros 6e31e61f1a HHH-6225 Add support to find entities by date in one single query. 2016-01-09 19:48:37 -05:00
Steve Ebersole b1d1a3c143 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA 2016-01-08 11:12:58 -06:00
Jan Martiska 6bf2c78f7e HHH-10200 fix too long identifiers causing failures on Oracle databases 2015-12-16 13:16:45 -08:00
Sanne Grinovero 45c6f9b4ef HHH-10335 Upgrade to Hibernate Commons Annotations 5.0.1.Final 2015-11-25 22:59:39 +00:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Steve Ebersole 5e87397902 HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-16 22:04:07 -06:00
Steve Ebersole a6f3319eaf HHH-9685 - Envers should do nothing when JTA transaction is already marked as rollback-only 2015-09-30 00:34:33 -05:00
Andrea Boriero 86bbb1de8f HHH-10141 - Fix issue with ClassicQueryTranslatorFactory and revision parameter type detection 2015-09-28 21:28:12 +01:00
Andrea Boriero 8d3b2e723b HHH-9996 - Finish Derby database profile 2015-09-28 21:28:12 +01:00
Andrea Boriero c5b1cf94f3 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:11:43 +01:00
Steve Ebersole 73c46e298c HHH-10056 - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners 2015-09-02 09:05:34 -05:00
Steve Ebersole 29de3c87ab HHH-10056 - Separate settings for notions of (1) disabling EnversService and (2) auto-registering Envers listeners 2015-09-02 08:51:26 -05:00
Steve Ebersole 518033eabe HHH-10068 - Missing generated JPA static metamodel class for envers revision entity 2015-09-02 08:23:20 -05:00
Gunnar Morling 1376b12ca9 HHH-10073 Not propagating XML node names configured in mappings 2015-09-01 11:34:56 -05:00
Kamil Szymanski 5f5e5f82c4 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 15:55:45 -04:00
Andrea Boriero 444c7f0eda HHH-9994 - Finish mariadb (mysql) database profile - Fix hibernate-envers tests hang on 2015-08-20 17:53:33 +01:00
barreiro c622d39199 HHH-9985 - remove hack based on exposed state and route all field access to enhanced methods, if present 2015-08-05 19:33:18 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Steve Ebersole 1f9b1c00f6 HHH-9955 - EnumType mapped via hbm.xml not always resolved properly as far as named/ordinal 2015-07-23 09:55:15 -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
Steve Ebersole c777938ce9 HHH-9675 - org.hibernate.envers.boot.internal.EnversIntegrator throws NPE in WF9 2015-05-26 16:08:27 -05:00
Steve Ebersole bd256e4783 HHH-9803 - Checkstyle fix ups - headers 2015-05-18 23:25:14 -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
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
Andrea Boriero b476094d43 HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 10:58:08 -05:00
Brett Meyer 7ca12c7d80 HHH-9722 cleanup, removed StringHelper methods 2015-04-17 15:53:24 -04:00
10urshin 1361925bc7 HHH-9722
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).
2015-04-17 15:53:24 -04:00
Steve Ebersole 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05:00
Steve Ebersole c021d12ee2 HHH-9550 - Allow a dialect to specify the level of catalog/schema support 2015-04-07 16:36:13 -05:00
Brett Meyer 410a785dfe HHH-9680 updated OSGi quickstarts, added necessary contracts to Envers blueprint, corrected a few uses of ReflectionManager 2015-03-30 15:36:57 -04:00
Steve Ebersole e9230758b4 HHH-9446 - ClassCastException on loaded entities under GlassFish 4.0 2015-03-27 15:13:53 -05:00
Steve Ebersole a92ddea9ca HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) - Gunnar's feedback 2015-03-26 00:25:52 -05:00
Steve Ebersole 5f6d1d24f7 HHH-8844 - Add support for Java 8 date and time types (JSR-310) 2015-03-24 16:01:15 -05:00
Brett Meyer b70bc0080e HHH-8769 gracefully handle the lack of dynamic mode support in Envers 2015-03-22 01:30:52 -04:00
Felix Feisst a05460a23f Added regression test for HHH-8769 2015-03-22 00:49:40 -04:00
Steve Ebersole 22730624fc HHH-9042 - Envers fails with @Converter and AttributeConverter 2015-03-20 11:17:48 -05:00
Steve Ebersole 63a0f03c5a HHH-9654 - Adjust envers for 5.0 APIs + JAXB 2015-03-18 20:22:26 -05:00
Steve Ebersole 9caca0ce37 HHH-9490 - Migrate from dom4j to jaxb for XML processing;
HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc);
HHH-7078 - Split NamingStrategy into ImplicitNamingStrategy/PhysicalNamingStrategy;
HHH-6005 - Better handling of implicit column naming with @ElementCollection of @Embeddables;
HHH-9633 - Add tests that explicitly test the "main" NamingStrategy impls
2015-03-10 16:53:51 -05:00
Eric Haas 6f6b3264f3 HHH-9043
Added the ability to customize the modified field name for audited fields.
2015-01-19 17:27:36 -05:00
Gail Badner 493808ddc1 HHH-8401 : Unit test fixes
(cherry picked from commit 45511f10ae)
2014-12-17 23:32:43 -08:00
Steve Ebersole 66ce8b7fb5 HHH-9466 - Drop metamodel package from source 2014-10-30 07:43:55 -05:00
Gail Badner 95070f50a9 HHH-9193 : Default audit behavior of mapped-superclass (test cases) 2014-05-27 14:25:25 -07:00
Gail Badner 27da278f07 HHH-9194 : Revert HHH-8908 fix 2014-05-27 14:25:25 -07:00
Gail Badner d259f8d62a HHH-9150 : Envers test table is too long causing Oracle failure 2014-04-30 18:09:15 -07:00
Gail Badner f693f5c320 HHH-8908 : Column of Embedded missing in Audit Table; reorg tests 2014-04-17 14:12:36 -07:00
Gail Badner b3b2312482 HHH-8908 : Column of Embedded missing in Audit Table; additional test, format, cleanup 2014-04-17 14:12:36 -07:00
Gail Badner ce6018563c HHH-8908 : Column of Embedded missing in Audit Table 2014-04-17 14:12:36 -07:00
Gail Badner e0677a1ae1 HHH-8908 : Column of Embedded missing in Audit Table (test case) 2014-04-17 14:12:36 -07:00
Lukasz Antoniak 3b2a09d2e7 HHH-8968 - Fix and test by FiatLox 2014-02-24 22:18:08 +01:00
Lukasz Antoniak 612e795ad2 HHH-8912 - Test case
(cherry picked from commit e025725f66)
2014-01-29 23:30:09 +01:00
Labi0 7c7c65f42e HHH-8912 - @NotFound applied to *-to-one relation in superclass
(cherry picked from commit 1e7b03a2ae)
2014-01-29 23:29:56 +01:00
Lukasz Antoniak 522ce1d974 HHH-8243 HHH-8329 - Avoid flushing in validity audit strategy
(cherry picked from commit f0bd12f823)
2014-01-28 13:36:48 -06:00
Brett Meyer 3ff64a55c5 HHH-8763 OsgiServiceUtil#getServiceImpls broken 2013-12-06 14:58:42 -05: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
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
Steve Ebersole cd590470c0 HHH-8741 - More checkstyle cleanups 2013-11-24 09:44:55 -06:00
Steve Ebersole e59a0170af HHH-8741 - More checkstyle cleanups 2013-11-23 21:30:05 -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 50d17da870 HHH-8733 - General build cleanup 2013-11-22 18:57:31 -06:00
Steve Ebersole c1612fe004 HHH-8733 - General build cleanup 2013-11-22 14:53:24 -06: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
Lukasz Antoniak e65abd026c HHH-8497 - Fix and test 2013-11-06 21:25:06 +01:00
zuchos 2bac8d8cbe HHH-8505: Additional test cases 2013-10-28 15:06:01 +01:00
zuchos c9d4305bf1 HHH-8505: Fixed todos 2013-10-28 15:05:59 +01:00
zuchos e971a8e14a HHH-8505: Test that counts the revisions 2013-10-28 15:05:57 +01:00
zuchos 4e93c91050 HHH-8505: Test suplemented with List of user types 2013-10-28 15:05:54 +01:00
zuchos 180639a18b HHH-8505: Test suplemented with user type 2013-10-28 15:05:52 +01:00
zuchos b11c14f00c HHH-8505: Missing assert statement in test 2013-10-28 15:05:49 +01:00
zuchos 03449c1d37 HHH-8505: Reformating to hibernate code style 2013-10-28 15:05:45 +01:00
zuchos 631616ec74 HHH-8505: Small improvements to tests 2013-10-28 15:05:44 +01:00
zuchos 6bc1d2ef01 HHH-8505: Query test cases & small fixes 2013-10-28 15:05:42 +01:00
zuchos 4e810effe5 HHH-8505: Query tests 2013-10-28 15:05:38 +01:00
zuchos bf469ca0e4 HHH-8505: More advanced tests 2013-10-28 15:05:36 +01:00
zuchos 7c492ddbc3 HHH-8505: Advanced test - OneToOne & ManyToOne 2013-10-28 15:05:34 +01:00
zuchos 0aefe3a55b HHH-8505: boolean added to test 2013-10-28 15:05:33 +01:00
zuchos 7dd862eeb5 HHH-8505: Better test for proxy generator 2013-10-28 15:05:31 +01:00
zuchos f70189f416 HHH-8505: Auditing of dynamic components 2013-10-28 15:05:28 +01:00
Steve Ebersole 859eaaa1c5 HHH-8619 - Account for "shadow" services as part of ServiceRegistry impls 2013-10-17 15:19:35 -05:00
Lukasz Antoniak e5e5ef14eb HHH-8567 - Query identifier properties 2013-10-11 15:50:05 +02:00
Brett Meyer c28748f989 HHH-8502 synchronize AuditConfiguration#destroy 2013-09-25 14:22:37 -04:00
Becca Gaspard 99be129200 HHH-8495 - Support ilike in Hibernate Envers 2013-09-20 07:20:19 +02:00
Steve Ebersole 280313dac4 HHH-8518 - Validate EMF#addNamedQuery transfers all query settings 2013-09-18 18:54:55 -05:00
Steve Ebersole 34459efc2e HHH-8502 - EnversIntegrator#disintegrate needs to check config for null 2013-09-16 06:37:56 -05:00
Steve Ebersole 9e54c418ab HHH-8499 - Prepare for 4.3 Beta4 release 2013-09-12 11:44:42 -05:00
Brett Meyer 29ab1766c0 HHH-8363 SessionFactoryServiceRegistryImpl should not call parent#destroy, test failures, formatting 2013-09-06 18:28:58 -04:00
Tomaz Cerar 360567beac HHH-8363 Some more mem leak fixes 2013-09-06 18:28:58 -04:00
Brett Meyer 40ac5094a1 HHH-8465 corrected check in EnversListenerDuplicationStrategy 2013-09-04 18:19:59 -04:00
Brett Meyer 858c68364a HHH-8439 optional OSGi manifest imports in envers 2013-08-13 11:03:29 -04:00
Lukasz Antoniak 456dfd83f9 HHH-7807 - Cascade delete revisions
Conflicts:
	documentation/src/main/docbook/devguide/en-US/Envers.xml
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
2013-08-05 23:42:05 -04:00
Brett Meyer b9d3fa5581 HHH-8420 multiple test-only fixes from matrix failures 2013-08-05 17:05:24 -04:00
Lukasz Antoniak bf11088e70 HHH-5845 - Collection proxy of deleted state 2013-08-02 12:37:20 +02:00
Lukasz Antoniak dd1bec53fb HHH-8280 - Identifiers reuse option 2013-08-01 13:13:39 +02:00
Adar Dembo 80873328d1 HHH-8280 - validity audit strategy breaks when entity IDs are reused 2013-08-01 13:13:39 +02:00
Lukasz Antoniak f2d435ddc1 HHH-8174 - Envers support for @NotFound 2013-06-11 09:08:56 -07:00
Steve Ebersole 120dbbb311 HHH-8257 - More concisely obtaining a JBoss logger 2013-05-21 16:25:21 -05:00
Steve Ebersole 1337d36a79 HHH-8235 - Drop database profiles upstream 2013-05-10 15:59:02 -05:00
Steve Ebersole 364a47f2c7 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-02 10:01:21 -05:00
Steve Ebersole a1d190d674 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 09:23:52 -05:00
Brett Meyer fe9e2798de HHH-7944 envers classloader issues
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/spi/AuditConfiguration.java
2013-05-01 00:05:03 -04: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 30d63bf58f HHH-7995 Auto-discovery of Hibernate extension points in OSGi 2013-04-29 11:51:02 -04:00
Lukasz Antoniak a8f0552b81 HHH-8189 - Rollback audit records on flushed transaction rollback 2013-04-17 15:57:54 +02:00
Lukasz Antoniak 8342194057 HHH-5845 - Lazy loading of audited entites with revision type DEL 2013-04-17 09:31:20 +02: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
Lukasz Antoniak f2b9ab8278 HHH-8171 - Cleanup 2013-04-14 22:27:05 +02:00
Kristoffer Lundberg 4796553a3f HHH-8171 - SETORDINAL to support set of embeddables 2013-04-14 22:27:03 +02:00
Steve Ebersole 1d9f6201a0 HHH-7841 - Redesign Loader 2013-04-12 09:05:15 -05:00
Brett Meyer 505904026d HHH-7478 Corrected test for envers package changes 2013-04-11 18:16:10 -04:00
Lukasz Antoniak 6be8b4aad0 HHH-7478 - Fix and test 2013-04-11 18:13:58 -04:00
Brett Meyer 6386ba4d88 HHH-7944 Corrected envers JPA imports in manifest 2013-04-10 15:25:20 -04: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
Lukasz Antoniak 802fcf7b4e HHH-8049 - Fix and test 2013-04-09 11:52:40 +02:00
Lukasz Antoniak 5cc051e1df HHH-7944 - Separation of Envers API, SPI and internal packages 2013-04-08 14:43:29 +02:00
Lukasz Antoniak 4213e3c13a HHH-5845 - Cleanup 2013-04-05 11:51:12 +02:00
Adar Dembo 52ab4baafb HHH-5845 (partial fix) Lazy Loading of audited entites with revision type 'delete'
Fixed for to-one associations, but not for one-to-many and other collection types.
2013-04-05 11:51:11 +02: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
Lukasz Antoniak 03a56f58b9 HHH-8087 - Cleanup 2013-03-22 16:02:47 +01:00
Lukasz Antoniak fa12131267 HHH-8087 - Fix and test 2013-03-22 15:23:54 +01:00
Lukasz Antoniak bd7840dd0f HHH-8072 - Fixing Sybase tests 2013-03-15 22:17:35 +01:00
Steve Ebersole 889405b3f5 HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 93f4fe0668)
2013-03-14 12:33:21 -05:00
Lukasz Antoniak 11287c2e02 HHH-8061 - Fixing EnumSet test on Oracle 2013-03-13 20:43:14 +01:00
Brett Meyer 8673e08e7f HHH-8061 envers tests failing on master-matrix CI 2013-03-11 17:08:54 -04:00
Lukasz Antoniak 98c12081ec HHH-8036 - Fix and test 2013-03-04 22:17:47 +01:00
Lukasz Antoniak 51a7df596e HHH-6613 - Support for audited @ElementCollection 2013-02-28 13:22:14 +01:00
Brett Meyer 7bf544716a HHH-8019 Multiple tests creating identifiers too long for Oracle 2013-02-19 14:22:07 -05:00
Brett Meyer 4d68ddf7b0 HHH-7991 Correct all instances of
Thread.currentThread().getContextClassLoader()
2013-02-14 10:44:36 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00
Brett Meyer b5de4cda15 HHH-7999 Oracle test failures due to lack of support for identity
columns
2013-02-13 22:30:38 -05:00
Lukasz Antoniak d702dfbc8c HHH-7948 - Fix and test 2013-01-30 15:49:10 +01:00
Lukasz Antoniak c05238bad3 HHH-7948 - Fix and test 2013-01-29 19:03:06 +01:00
Lukasz Antoniak 2f71f071ec HHH-7934 - Test case 2013-01-24 08:27:48 +01:00
Lukasz Antoniak 69230d1ebd HHH-7934 - Fix and test 2013-01-24 07:52:49 +01:00
Lukasz Antoniak 8e38db5833 HHH-7918 - Completely recalculate entity state on merge 2013-01-14 22:34:33 +01:00
Lukasz Antoniak 2a9f3ad9ed HHH-7918 - Fix and test 2013-01-14 22:34:32 +01:00
Brett Meyer 9ce5c32dd7 HHH-7902 Replace JDBC proxies with a set of contracts/helpers
HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator.  Parts of
LogicalConnection moved into JdbcCoordinator as well.

HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release

HHH-7902 Enforced the use of StatementPreparer, instead of Connection

HHH-7902 ResultSetExtractor.  Replaced all instances of execute,
executeQuery, executeUpdate, etc.

HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator

HHH-7902 Corrected test failures

HHH-7902 Removed resource registry use from JdbcIsolation workers

HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.

HHH-7902 ResultSetExtractor -> ResultSetReturn.  Reworked proxy tests to
test the new APIs.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
	hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java
2013-01-14 14:25:06 -05:00
Lukasz Antoniak 0713cea180 HHH-7870 - Fix and test 2013-01-10 14:38:11 +01:00
Lukasz Antoniak bcf73bd32c HHH-7437 - Fix and test 2013-01-03 13:10:16 +01:00
Strong Liu 6c6df69535 refactor, remove redundant type cast 2012-12-25 19:25:47 +08:00
Lukasz Antoniak da32690828 HHH-7827 - Documentation 2012-12-05 10:27:37 +01:00
Lukasz Antoniak 516577ea80 HHH-7827 - Correlating aggregated and outer queries 2012-12-05 10:27:35 +01:00
Lukasz Antoniak 468c58358e HHH-7800 - Tests cleanup 2012-11-22 12:02:35 +01:00
Csaba Varga dadc43af23 HHH-7800: Fixed "maximize" doesn't work inside a disjunction issue 2012-11-22 12:02:31 +01:00
Csaba Varga cd3363151b HHH-7800: added unit test to demonstrate broken behavior ("maximize"
does not work inside an AuditDisjunction)
2012-11-22 12:02:28 +01:00
Csaba Varga ff25434d1f HHH-7800: Fixed "between" doesn't work inside a disjunction issue 2012-11-22 12:02:24 +01:00
Csaba Varga 54760bb61e HHH-7800: added unit test to demonstrate broken behavior ("between"
does not work inside an AuditDisjunction)
2012-11-22 12:02:21 +01:00
Lukasz Antoniak c01dd40a65 HHH-5910 - Fix and test 2012-11-19 19:03:59 +01:00
Lukasz Antoniak 5b004e4cbd HHH-7780 - Proper enumeration named/ordinal discovery 2012-11-14 16:15:43 +01:00
Lukasz Antoniak 97b1f0749e HHH-3854 - Fix and test 2012-11-11 17:58:23 +01:00
Lukasz Antoniak 0e3fe2b3d5 HHH-6349 - Test cleanup 2012-10-30 16:57:38 +01:00
Erik-Berndt Scheper 7b093fbc31 HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 16:57:36 +01:00
Erik-Berndt Scheper 47ae4e3ced HHH-6349 Testcase: AuditJoinTable rows missing when detached entities with collections are merged into the persistence context 2012-10-30 16:57:35 +01:00
Lukasz Antoniak 363048f44a HHH-7669 - Oracle sequences ordered 2012-10-30 08:48:28 +01:00
Lukasz Antoniak cbe619f9ba HHH-7727 - Mark Envers demo as test source 2012-10-28 22:13:14 +01:00
brmeyer b7855e944b HHH-7682 Audit records are not rolled back when transaction is rolled
back
2012-10-25 10:13:37 -04:00
Lukasz Antoniak ac511bf72e HHH-7690 - @EmbeddedId with @ManyToOne inside 2012-10-25 12:56:27 +02:00
brmeyer 1a00abc3a6 HHH-7669: JtaTransaction test fails on Oracle RAC
https://hibernate.onjira.com/browse/HHH-7669
2012-10-23 17:44:36 -04:00
Steve Ebersole 595f068977 HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder 2012-09-20 04:25:48 -05:00
brmeyer 69442c6ea7 HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-18 07:13:20 -04:00
Steve Ebersole 4ad49a02c9 HHH-7556 - Clean up packages 2012-08-28 14:12:15 -05:00
Lukasz Antoniak a9c28bf28f HHH-7543 - Fix and test 2012-08-24 22:30:37 +02:00
Lukasz Antoniak edfe8afaf1 HHH-7212 - Fix 2012-08-23 23:51:46 +02: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
Lukasz Antoniak 773d0793f1 HHH-4751 - Fix and test 2012-08-16 10:34:16 +02:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Lukasz Antoniak 9aa88b9a24 HHH-7157 - Fix and test 2012-08-07 19:07:56 +02:00
Strong Liu d0e13b664a HHH-7108 HHH-6608 2012-08-07 15:08:23 +08:00
Lukasz Antoniak 414e6111a8 HHH-6662, HHH-7445 - Fix and test 2012-07-25 23:23:17 +02: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 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
Lukasz Antoniak ffa9cf5768 HHH-5565 - Fix and test 2012-06-17 15:26:11 +02:00
Steve Ebersole bd7b54a4ea cleanup missed references to matrix sourceSet 2012-06-08 07:59:54 -05:00
Steve Ebersole b0bdda1141 consolidate src/test and src/matrix 2012-06-07 14:12:06 -05:00
Lukasz Antoniak 77d83b8a10 HHH-5411 - Fix and test 2012-06-07 14:08:15 +02:00
Lukasz Antoniak 8211c97ace HHH-7295 - Simplify ValidityAuditStrategy#perform() method 2012-05-30 18:49:40 +02:00
Steve Ebersole 06f0a13ee3 HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-30 08:55:20 -05:00
Steve Ebersole 835f4452eb HHH-7295 - ParentAuditing Test in Envers Testsuite fails across different databases with different error messages because Hibernate does not set LockMode correctly 2012-05-29 15:45:07 -05:00
Lukasz Antoniak af554fe59b HHH-7093 - ValidityAuditStrategy behaviour depending on row value constractor feature 2012-05-23 21:32:47 +02:00
Lukasz Antoniak 007bbe45a9 HHH-7294 - Fixing test case 2012-05-03 14:42:25 +02:00
Lukasz Antoniak 779e70df4d HHH-7187 - Fix ValidityAuditStrategyRevEnd tests 2012-04-29 13:27:28 +02:00
Lukasz Antoniak f7708a9c6c HHH-7246 - Fix and test 2012-04-24 22:41:49 +02:00
Lukasz Antoniak 6a7b70d4cc HHH-7187 - Fixing tests on Sybase 2012-04-22 12:50:23 +02: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
Lukasz Antoniak 95ec3457af HHH-7187 - Renaming and documenting enhanced revision entity 2012-04-19 23:49:41 +02:00
Lukasz Antoniak c41fee2a07 HHH-7187 - Moving AbstractEntityTest 2012-04-19 20:15:46 +08:00
Lukasz Antoniak c7aa99d0d3 HHH-7187 - New Envers base test classes 2012-04-19 20:15:46 +08:00
Lukasz Antoniak 7e6815c80c HHH-7187 - Enable USE_NEW_ID_GENERATOR_MAPPINGS 2012-04-19 20:15:45 +08:00
Lukasz Antoniak c76810ac47 HHH-7187 - Manual flush mode and @PrimaryKeyJoinColumn tests 2012-04-19 20:15:45 +08:00
Lukasz Antoniak b8e356f966 HHH-7187 - Fixing tests on PostgreSQL 2012-04-19 20:15:44 +08:00
Lukasz Antoniak 68dda2c242 HHH-7187 - H2 manual flush tests fix 2012-04-19 20:15:44 +08:00
Lukasz Antoniak c4822556c1 HHH-7187 - Enhanced default revision entity 2012-04-19 20:15:44 +08:00
Lukasz Antoniak 775b6da1db HHH-7187 - Fixing tests on Oracle 2012-04-19 20:15:43 +08:00
Strong Liu 74e5c3150d HHH-7187 configurations should be defined in addConfigurationProperties method, instead configure 2012-03-27 17:47:10 +08:00
Steve Ebersole cf181b41b5 HHH-7199 - proper JTA and auto-commit interaction for envers testsuite 2012-03-26 20:09:18 -05:00
Strong Liu caf0f70b62 HHH-7187 failed tests 2012-03-26 16:55:33 +08:00
Strong Liu d732cfa7d9 HHH-7187 failed tests 2012-03-26 16:53:20 +08: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
Strong Liu 96e23180d7 HHH-7187 - tests fail on sybase 2012-03-26 13:53:07 +08:00
Strong Liu 37aecde965 HHH-7187 - tests fail on sybase 2012-03-26 13:06:12 +08:00
Strong Liu 24f2db04fc HHH-7187 - skip Lob test on sybase 2012-03-26 12:52:20 +08:00
Lukasz Antoniak e835881f37 HHH-7187 - Fix tests against MSSQL 2012-03-25 06:06:59 +02:00
Lukasz Antoniak 78ae6abad1 Merge remote-tracking branch 'upstream/master' 2012-03-24 15:42:11 +01:00
Lukasz Antoniak 6aed8651a6 HHH-7187 - Fix tests against MySQL 2012-03-24 15:40:36 +01:00
Strong Liu d2852e3c4d a little improvment on the build script 2012-03-23 16:02:45 +08:00
Lukasz Antoniak 5a2b019e66 HHH-7187 - Shorten table names 2012-03-22 23:36:59 +01:00
Lukasz Antoniak 6e85abcf7a HHH-7017 - Fix and test 2012-03-20 18:43:14 +01:00
Strong Liu 199fae5fee correct encoding error 2012-03-19 23:03:30 +08:00
Strong Liu 5822404c6d HHH-7185 - run envers tests on db matrix 2012-03-19 21:54:28 +08:00
Lukasz Antoniak ecd8ad5446 HHH-7184 - Envers revision entity JPA2 metadata 2012-03-18 15:53:04 +01:00
Lukasz Antoniak 71db4095c6 HHH-6661 - Test case 2012-03-18 14:54:03 +01: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 b4659173a8 1. remove commons-collections dependency.
2. moved org.hibernate.internal.util.collections.ConcurrentReferenceHashMap from envers module to core, and change it to doesn't allow null key / value.
3. Using ConcurrentReferenceHashMap this to replace old ReferenceMap (from commons-collections) which used in StatefulPersistenceContext.
4. copied org.hibernate.internal.util.collections.BoundedConcurrentHashMap from infinispan code base.
5. deprecate properties QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES and QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
6. add two new properties QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE and QUERY_PLAN_CACHE_MAX_SIZE
7. remove LRUMap, SimpleMRUCache and SoftLimitMRUCache
2012-03-06 23:28:22 +08:00
Lukasz Antoniak 7c60f01f2d HHH-7106 - Fix, test and documentation 2012-03-03 10:27:35 +01:00
Lukasz Antoniak 34611877c8 HHH-7073 - Fix and test 2012-02-24 19:35:53 +01:00
Steve Ebersole 7861fdee44 HHH-7067 - Update build to work with Gradle m8 2012-02-15 16:33:45 -06:00
Lukasz Antoniak c29711f11b HHH-6738 - Alias change 2012-02-04 12:27:40 +01:00
Lukasz Antoniak 2f26475baa HHH-6738 - Formatting 2012-01-31 22:36:26 +01:00
Lukasz Antoniak 69db917760 HHH-6738 - Fix and test 2012-01-31 15:08:16 +01:00
Lukasz Antoniak d1ac167ec6 HHH-4962 - Fix and test 2012-01-29 17:09:40 +01:00
Lukasz Antoniak 46b7a0d38e HHH-7003 - Fix and test 2012-01-28 23:27:06 +01:00
Adam Warski f434cd4311 HHH-6605: Fixing problems with lazy proxy initialization 2012-01-20 22:46:36 +01:00
Adam Warski 89bb7ec175 HHH-6605: More conflicts merging 2012-01-20 20:57:40 +01:00
Adam Warski a00f23c6f6 Merge remote-tracking branch 'origin/master'
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/ToOneIdMapper.java
2012-01-20 20:52:41 +01:00
Adam Warski b109633b66 HHH-6605: Merging changes by Michal Skowronek. Thanks! Merge remote-tracking branch 'mskowron/change_info'
Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/AuditMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/ComponentMetadataGenerator.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/MetadataTools.java
	hibernate-envers/src/main/java/org/hibernate/envers/configuration/metadata/reader/AuditedPropertiesReader.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/ComponentPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/MultiPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/PropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SinglePropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/SubclassPropertyMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/AbstractCollectionMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/entities/mapper/relation/OneToOneNotOwningMapper.java
	hibernate-envers/src/main/java/org/hibernate/envers/event/BaseEnversCollectionEventListener.java
	hibernate-envers/src/main/java/org/hibernate/envers/query/criteria/AuditProperty.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/AddWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/CollectionChangeWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/DelWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/synchronization/work/FakeBidirectionalRelationWorkUnit.java
	hibernate-envers/src/main/java/org/hibernate/envers/tools/Tools.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractOneSessionTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/AbstractSessionTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/ManyToOneInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/NotAuditedManyToOneInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/components/relations/OneToManyInComponent.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/entityNames/singleAssociatedAudited/SingleDomainObjectToMultipleTablesTest.java
	hibernate-envers/src/matrix/java/org/hibernate/envers/test/integration/inheritance/joined/notownedrelation/NotOwnedBidirectional.java
2012-01-20 20:47:12 +01:00
Lukasz Antoniak 81ee788466 Merge pull request #246 from lukasz-antoniak/HHH-6825
HHH-6825 - AuditException with @OneToOne-mappedBy and @PrimaryKeyJoinColumn
2012-01-18 11:41:05 -08:00
Lukasz Antoniak 10f48ef973 HHH-6825 - Renaming simple entity descriptor 2012-01-16 15:10:47 +01:00
Steve Ebersole e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -06:00