Commit Graph

566 Commits

Author SHA1 Message Date
Sanne Grinovero da83e06e52 HHH-9783 TestableLoggerProvider needs to implement a new method after upgrade of JBoss Logger 2015-05-09 15:52:52 +01:00
Steve Ebersole da1fcbbfb7 HHH-9762 - Complete deprecation of Settings contract 2015-05-05 18:00:37 -05: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 9786409096 HHH-9550 - Allow a dialect to specify the level of catalog/schema support 2015-04-07 14:31:41 -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 63a0f03c5a HHH-9654 - Adjust envers for 5.0 APIs + JAXB 2015-03-18 20:22:26 -05:00
Sanne Grinovero c067fc2b42 HHH-9658 Simplify the way tests assert on logging statements 2015-03-13 19:09:12 +00:00
Steve Ebersole 1abae7bfa2 HHH-9655 - Add logging to help better track down tests that leave SessionFactories open 2015-03-10 19:28:56 -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
Steve Ebersole 66ce8b7fb5 HHH-9466 - Drop metamodel package from source 2014-10-30 07:43:55 -05:00
Steve Ebersole daf120b063 HHH-8923 - Reconsider closing of ServiceRegistry instances 2014-03-26 09:33:07 -04:00
Thomas Jones-Low 50d1be9e2d HHH-8930 Make the rebuildSessionFactory() method be more aggressive about closing 2014-02-10 12:15:52 -05:00
Brett Meyer 78a62acc2d HHH-5289 remove unnecessary security checks in property accessors 2014-01-10 16:06:50 -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 73f0e7b29d HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 17:56:30 -06:00
Steve Ebersole b580b8e723 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 17:53:31 -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 cea1096b12 Revert "HHH-8733 - General build cleanup - hibernate-testing"
This reverts commit 17a58ae033.
2013-11-26 17:48:09 -06:00
Steve Ebersole 17a58ae033 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 13:55:29 -06:00
Steve Ebersole bc2855b323 HHH-8733 - General build cleanup - hibernate-testing 2013-11-26 13:53:18 -06:00
Steve Ebersole 8fe5460ec0 HHH-8741 - More checkstyle cleanups 2013-11-24 20:07:37 -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
Brett Meyer dd44ad459a HHH-7927 Enabling globally_quoted_identifiers breaks schema validation
if TableGenerator is used
2013-10-31 07:01:40 -04:00
Steve Ebersole dc7cdf9d88 HHH-8276 - Integrate LoadPlans into UniqueEntityLoader (PoC) 2013-10-08 22:09:41 -05:00
Brett Meyer 0ba9a3a289 HHH-7150 added Cache#evictAllRegions 2013-10-07 12:14:17 -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
Steve Ebersole f4cc86f7ad HHH-8405 - Track down tests that leak SessionFactories 2013-08-01 17:16:07 -05:00
Lukasz Antoniak 6c2937e3c8 HHH-8193 - Reset input stream before binding
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/BlobProxy.java
	hibernate-core/src/test/java/org/hibernate/test/type/descriptor/java/BlobDescriptorTest.java
2013-07-10 13:26:57 -04:00
Strong Liu fecde04472 HHH-8127 OutOfMemoryError when running tests 2013-04-26 02:44:18 +08:00
Strong Liu dfc8c4b10f Revert "HHH-8127 OutOfMemoryError when running tests"
This reverts commit 11464ea097.
2013-04-25 15:11:45 +08:00
Strong Liu 11464ea097 HHH-8127 OutOfMemoryError when running tests 2013-04-22 18:41:02 +08: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
John Verhaeg db53c72a85 Modified CustomRunner to log when test classes and their methods begin processing, allowing other logged messages to be associated with the corresponding test or @BeforeClass method 2013-02-28 15:00:16 -06:00
Lukasz Antoniak 6b4b6cc27f HHH-6841 - @SkipForDialects and @RequiresDialects 2013-02-14 18:00:52 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05: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
brmeyer 962d1e580d HHH-7797 initial test case 2012-12-14 12:44:47 -05:00
Guenther Demetz 7c218bbe11 HHH-7309 testcase 2012-09-19 08:25:37 -04:00
brmeyer 6660d2412a HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-19 05:24:51 -04:00
Steve Ebersole 076eccb7a2 HHH-5188 - Use provided enum type ordinal/string when reading 2012-09-03 22:06:23 -05:00
Steve Ebersole 4ad49a02c9 HHH-7556 - Clean up packages 2012-08-28 14:12:15 -05:00
Strong Liu 7a82349f75 HHH-7385 change to use gradle 1.1 2012-08-08 17:09:11 +08:00
Lukasz Antoniak 414e6111a8 HHH-6662, HHH-7445 - Fix and test 2012-07-25 23:23:17 +02: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 ad2a9ef651 HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter 2012-07-18 17:00:20 -05:00
Strong Liu a203ea65aa HHH-7350 read-only entities can not be deleted from 2LC 2012-05-31 00:54:08 +08:00
Strong Liu 4b74517dcd HHH-7347 fail test if it runs longer than 30 minutes to prevent hangs 2012-05-23 22:11:46 +08: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
Steve Ebersole a2bbe3cb53 HHH-7282 - Move org.hibernate.cache.internal.Timestamper to hibernate-testing module 2012-04-27 10:51:50 -05:00
Strong Liu b78fb983f8 use junit defined in libraries 2012-04-23 21:35:58 +08: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
Steve Ebersole 70847a2331 HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing 2012-04-20 17:08:53 -05:00
Lukasz Antoniak c7aa99d0d3 HHH-7187 - New Envers base test classes 2012-04-19 20:15:46 +08:00
Steve Ebersole 9c207b1128 HHH-7210 - Natural-id cache put stats not being correctly updated on insert for "asynch" cache providers 2012-03-30 12:02:25 -05: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 d3b640cb75 HHH-7197 reimport imports 2012-03-26 16:17:45 +08:00
Hardy Ferentschik 60c1b23c7b HHH-6271 Introducing Byteman in order to really test that a certain log message gets never called. 2012-03-19 23:19:46 +08: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
Steve Ebersole dceda48ff1 HHH-7162 - Use concise artifact syntax in build scripts 2012-03-09 13:40:26 -06:00
Steve Ebersole a889b6cca1 HHH-7097 - Entity load event doesn't result in naturalId->pk caching 2012-03-01 13:22:09 -06:00
Eric Dalquist c0b66d5298 HHH-7097 Cache naturalId mapping on load event 2012-02-21 11:15:21 -06: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 e75b8a77b1 HHH-6967 - HHH-6906 - Clean up javadoc warnings 2012-01-13 11:17:34 -06:00
Steve Ebersole 9ca985ccd1 HHH-6940 - Ability (easier) to run bits of code in a timeout protected way 2012-01-06 08:21:04 -06:00
Steve Ebersole 86f3f3c347 HHH-6940 - Ability (easier) to run bits of code in a timeout protected way 2012-01-05 16:38:19 -06:00
Strong Liu d7f3042e5b HHH-6851 DB2 doesn't support NotNullUnique causes org.hibernate.test.annotations.uniqueconstraint.UniqueConstraintTest.testUniquenessConstraintWithSuperclassProperty fail 2011-11-30 11:00:04 +08:00
Strong Liu ba764816b9 HHH-6827 correct testing 2L cache impl, mostly are copied from ehcache impl 2011-11-21 20:09:34 +08:00
Strong Liu 15a46a9661 HHH-6827 correct testing 2L cache impl, mostly are copied from ehcache impl 2011-11-21 20:09:15 +08:00
Strong Liu 8a800a1bc0 HHH-6827 correct timeout in BaseRegion 2011-11-21 20:04:41 +08:00
Strong Liu f8e347dabd HHH-6827 code format and javadoc, logging 2011-11-21 20:02:09 +08:00
renj c575f6e5f5 HHH-6807 skip this test for Sybase ASE 2011-11-14 13:08:13 +08:00
Strong Liu 70bd57bcff HHH-6792 connection leaks due to service registry is not destroyed 2011-11-02 17:37:05 +08:00
Strong Liu 27e9957f9e HHH-6773 test fails on sybase 2011-10-26 22:46:50 +08:00
John Verhaeg dfd718418c HHH-6765: Toggled reversed Boolean value returned from DialectChecks.SupportsExistsInSelectCheck.supportsExistsInSelect() 2011-10-24 14:49:13 -05:00
Strong Liu 98e68aab4b HHH-6742 move unit tests back to src/test 2011-10-18 21:47:19 +08:00
Steve Ebersole e14e47968f HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 12:45:07 -05:00
Steve Ebersole f4fa176255 HHH-6683 - Consolidate (consistency) building of service registries 2011-09-27 11:49:17 -05:00
Strong Liu bd54fe08f5 HHH-6677 skip @BeforeClassOnce / @AfterClassOnce if test is ignored 2011-09-27 01:00:49 +08:00
Steve Ebersole 9f214d8018 HHH-6640 - Add ability for Integrator to prepare ServiceRegistryBuilder and MetadataImplementor as part of lifecycle 2011-09-13 18:46:28 -05:00
Strong Liu e941eca2d5 HHH-6618 running hibernate functional test cases on DB matrix 2011-08-30 14:06:13 +08:00
Steve Ebersole c7ae4477ae HHH-6453 - Enable new metamodel in BaseCoreFunctionalTestCase 2011-07-20 18:16:24 -05:00
Gail Badner 2b8f4bad7c HHH-6453 : Enable new metamodel in BaseCoreFunctionalTestCase 2011-07-19 14:15:38 -07:00
Gail Badner ba56266dec HHH-6453 : Enable new metamodel in BaseCoreFunctionalTestCase 2011-07-19 10:59:55 -07:00
Steve Ebersole e339dac91e HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 09:08:31 -05:00
Steve Ebersole 66bd796063 HHH-6371 - Develop metamodel binding creation using a push approach 2011-07-13 08:54:31 -05:00
Emmanuel Bernard 671a273e75 HHH-6406 Move JBoss Transaction dependency to 4.15.1 2011-07-06 22:49:10 +02:00
Hardy Ferentschik d1eec59c08 HHH-6381 Adding a actual assertion which tests the optional part. Also applying formatting styles. 2011-07-06 14:46:07 +02:00
Strong Liu 11f83b0373 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
Strong Liu 92ad3eed80 HHH-6297 remove legacy cache api 2011-06-09 12:18:59 +08:00
Steve Ebersole fb44ad936d HHH-6196 - Split org.hibernate.engine package into api/spi/internal 2011-05-04 17:15:47 -05:00
Steve Ebersole c930ebcd7d HHH-6191 - repackage org.hibernate.cache per api/spi/internal split 2011-05-04 14:43:04 -05:00
Steve Ebersole 85094bddbf HHH-6144 - Introduce ServiceRegistryBuilder 2011-04-23 16:12:37 -05:00
Steve Ebersole f07b88c75f HHH-6150 - JBoss AS7 integration work 2011-04-22 17:42:07 -05:00
Steve Ebersole 16e86687c9 HHH-6150 - JBoss AS7 integration work 2011-04-22 17:42:07 -05:00
Steve Ebersole 53e0439880 HHH-6144 - Introduce ServiceRegistryBuilder 2011-04-20 15:58:10 -05:00
Steve Ebersole 6504cb6d78 HHH-6098 - Slight naming changes in regards to new logging classes 2011-04-08 09:44:13 -05:00
Steve Ebersole 484d5e2fbb prepare 4.0.0.Alpha2 release 2011-04-06 16:28:39 -05:00
Steve Ebersole df9d8939bb HHH-2860 - Consolidate Session creation options/parameters 2011-03-31 15:22:01 -05:00
Steve Ebersole 3ff0288da5 HHH-5697 - Support for multi-tenancy 2011-03-25 18:31:04 -05:00
Steve Ebersole 815baf4348 HHH-6051 - Create a sessionfactory scoped ServiceRegistry 2011-03-24 22:18:38 -05:00
Steve Ebersole 731d00fd6d HHH-6047 - allow nesting of ServiceRegistry 2011-03-24 14:38:58 -05:00
JPAV 7767dfbc06 HHH-5615 Replaced slf4j references with jboss-logging for a few classes that fell through the cracks 2011-03-22 14:11:59 -05:00
Steve Ebersole 3402ba3a67 HHH-6028 - Remove o.h.classic.Session/Validatable 2011-03-19 08:16:33 -05:00
Steve Ebersole 0a908cb518 HHH-5942 - Migrate to JUnit 4 2011-03-17 18:30:33 -05:00
Steve Ebersole a4562f4da1 HHH-5942 - Migrate to JUnit 4 2011-03-17 18:30:33 -05:00
Steve Ebersole 718d56e267 HHH-6013 - Consolidate on single JTA impl for testing 2011-03-16 13:38:14 -05:00
Steve Ebersole df4df47b95 HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole 20a120ef6c HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole 1c203f35ec HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole fd3fb8b316 HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:07 -05:00
Steve Ebersole 03ada52204 HHH-5942 - Migrate to JUnit 4 2011-03-14 13:14:06 -05:00