Commit Graph

448 Commits

Author SHA1 Message Date
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 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 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
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
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 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
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
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
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