Commit Graph

222 Commits

Author SHA1 Message Date
Chris Cranford cddb221288 Checkstyle fix. 2016-07-29 16:13:38 -05:00
Vlad Mihalcea bf823d440c HHH-10996 - The cleanupTestData utility has issues with link tables
Use bulk delete in certain situations like when we have a @Formula annotation that takes an SQL function which is not supported by the currently running DB
2016-07-29 07:43:18 +03:00
Vlad Mihalcea 8f5ba32990 HHH-10996 - The cleanupTestData utility has issues with link tables 2016-07-27 16:13:35 +03:00
Marvin Froeder 74e959f1bc HHH-10879 SqlServer dialect doesn't respect "key" reserved keyword 2016-07-22 11:27:41 +03:00
barreiro b3aaa12b64 HHH-10977 - Fix enhanced classloader so that the testsuite behaves as the enhancement plugins do 2016-07-21 22:23:22 -07:00
barreiro 68a2896c2b HHH-10922 - Add support for custom enhancement context on bytecode enhacer tests 2016-07-19 12:34:31 -07:00
Vlad Mihalcea f5e10c29eb HHH-10907 - Fix connection leak problem in hibernate-core tests 2016-07-14 13:55:30 +03:00
Vlad Mihalcea da9c6e160d HHH-10907 - Fix connection leak problem in hibernate-core tests 2016-07-13 18:02:47 +03:00
Andrea Boriero 2246e94ded HHH-10946 - Fix checkstyle failures 2016-07-13 12:38:24 +02:00
Vlad Mihalcea 799ab91cf5 HHH-10943 - Driver Manager Connection Pool should close leaked connections upon shutting down 2016-07-12 17:14:59 +03:00
Vlad Mihalcea 9abe775708 Add missing license headers 2016-07-12 16:25:26 +03:00
Vlad Mihalcea 9c74438e99 HHH-10946 - Add utility to detect connection leaks during testing 2016-07-12 14:03:42 +03:00
Vlad Mihalcea ffa6212b40 Fix code style issues 2016-07-12 09:32:06 +03:00
Brett Meyer da4f5e1a57 HHH-10947 Add @Repeatable to Hibernate-owned annotations 2016-07-11 15:33:35 -04:00
Vlad Mihalcea 825ab02723 HHH-10945 - Move TransactionUtil from documentation to hibernate-testing 2016-07-11 16:58:06 +03:00
Vlad Mihalcea 0e6230faf0 HHH-10904 - Fix tests failing when switching to MySQL 2016-06-30 08:50:22 +03:00
Piotr Findeisen 832b62f7bb HHH-9486: Use follow-on locking when paging only 2016-06-15 18:57:29 +03:00
Steve Ebersole 3a0824a037 HHH-10287 - Cache keys no longer include the entity type 2016-06-01 20:51:46 -05:00
Andrea Boriero 70c6abcbae HHH-10513 - Add test for issue 2016-05-26 10:01:54 +01:00
Vlad Mihalcea a3207ca5a8 HHH-10754 - Add support for PARTITION keyword in @Formula 2016-05-24 21:38:51 +03:00
Vlad Mihalcea 231484662b HHH-10689 - Fix tests failing when switching to Oracle 2016-05-17 17:44:32 +03:00
Steve Ebersole 11fc090557 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (migrate HEM tests - first attempt) 2016-05-06 13:12:38 -05:00
Steve Ebersole 76bac3268a HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:33 -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
Dominique Toupin de6d80a67b HHH-10456: Report the class name were the invalid PrimaryKeyJoinColumn is present 2016-03-30 17:55:05 +03:00
Steve Ebersole 17de173cb5 HHH-10458 - Better encapsulate SchemaManagementTool (OGM) - unify JPA schema generation and hbm2ddl capabilities;
HHH-10487 - Add @Incubating annotation
2016-02-09 11:45:46 -06:00
Martin Simka af7a9a69a8 [HHH-10475] skip CompositeIdRowValueTest databases that don't support row value constructor syntax 2016-02-08 22:12:15 -08:00
Steve Ebersole 701f59b132 cleaned up JdbcMocks in test sources and moved it to hibernate-testing 2016-01-23 13:24:45 -06:00
Steve Ebersole 039382e8be cleaned up JdbcMocks in test sources and moved it to hibernate-testing 2016-01-23 12:59:03 -06:00
barreiro 6828f5ee9b HHH-10354 - Rename 'field access' to 'extended enhancement' 2015-12-16 13:56:56 -06:00
Steve Ebersole 2cb113cf96 checkstyle fix ups 2015-11-16 22:57:25 -06:00
Steve Ebersole 1e44e7420b HHH-10267 - Support defining lazy attribute fetch groups 2015-11-16 15:43:11 -06:00
Andrea Boriero f9065daba1 HHH-5946 - Tests for not equals operations expecting QuerySyntaxException require dialect does not support row value constructor syntax 2015-11-14 14:33:16 +00:00
Steve Ebersole 472f4ab9ef HHH-10280 - Remove legacy bytecode enhancement artifacts 2015-11-12 19:47:50 -06:00
Steve Ebersole 246e98c5af HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 21:55:14 -05:00
Steve Ebersole 6d590d76b6 HHH-9807 - Better error message when @Formula and @Id are combined 2015-10-07 13:07:37 -05:00
Andrea Boriero 8d3b2e723b HHH-9996 - Finish Derby database profile 2015-09-28 21:28:12 +01:00
Steve Ebersole 6ce9d6848d HHH-10115 - HHH90000003: Use of DOM4J entity-mode is considered deprecated
(cherry picked from commit 91cd767d20)
2015-09-22 16:13:45 -05: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
Andrea Boriero 2731fe541a HHH-100084 - Refactor Identity Column support methods into IdentityColumnSupport interface 2015-09-08 19:03:03 +01:00
Radim Vansa d9b456b03a HHH-10058 Parameterized test runner compatible with CustomRunner 2015-09-01 12:04:42 -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
Steve Ebersole 3192e1db92 HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 21:11:18 -05:00
Radim Vansa 4fd7680191 HHH-9977 Consider options for passing Session to caching SPI calls
* Passing SessionImplementor to all the calls executed in transactional context
2015-07-28 17:56:55 +01:00
Steve Ebersole 37cc060b45 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-23 12:25:40 -05:00
Steve Ebersole b24ba54d38 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-20 12:06:34 -05:00
Steve Ebersole 6812c07a16 HHH-9946 - Do better job cleaning up "stray" transactions in base test 2015-07-18 14:20:02 -05:00
Steve Ebersole 0d6393a8b1 HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 02:50:12 -05:00
Radim Vansa e5f4b616d4 HHH-9840 Checkstyle fixes 2015-07-01 23:19:46 +01:00
Radim Vansa cffe71aeba HHH-9840 Change all kinds of CacheKey contract to a raw Object
* Replaced all CacheKey with Object
* Because of statistics, added unwrap operation to all AccessStrategies
2015-07-01 23:14:13 +01:00
Sanne Grinovero 16ae00a53a HHH-9840 Allow 2nd level cache implementations to customize the various key implementations 2015-07-01 20:42:51 +01:00
Steve Ebersole 30b260f14f HHH-9848 - Allow disabling auto-quoting of database object names (tables, columns, etc) 2015-06-05 13:43:10 -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 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
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