Commit Graph

7115 Commits

Author SHA1 Message Date
Dmytro Bondar 63ea1f812a HHH-8687 Better exception message for PostgreSQL81Dialect and named REF_CURSOR parameter binding 2016-07-21 16:59:00 +03:00
Dmytro Bondar fa00cb3f41 HHH-10725 - Hibernate Integrations Guide: an incorrect example LatestAndGreatestConnectionProviderImpl 2016-07-21 16:19:49 +03:00
Yanming Zhou 5ea8997ca7 Fix missing currentTenantIdentifierResolver
1. Add missing sessionFactoryBuilder.applyCurrentTenantIdentifierResolver() .
2. Use getter instead of field for consistency .
2016-07-21 15:12:58 +03:00
Vlad Mihalcea b90047f55d HHH-10960 - Clarification of org.hibernate.query.Query methods
This test tries to replicate the given issue, but I could not find any compile warning related to this class.
2016-07-21 12:27:58 +03:00
Gabriel Belingueres 5e82c2e414 Fixes HHH-10800 - InformixDialect: add support for current_timestamp() and current_date() 2016-07-21 10:58:25 +03:00
Idel Pivnitskiy e814eb930b Fix mistake in doc for org.hibernate.annotations.CascadeType#DETACH 2016-07-20 18:09:36 +03:00
barreiro 92c1e63577 HHH-10922 - Call on bytecode enhanced method trigger load of proxy 2016-07-19 12:34:31 -07:00
barreiro 45adb05f5a HHH-10922 - Test case 2016-07-19 12:34:31 -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 2dcb75e2a5 HHH-10971 - Document flush operation order 2016-07-19 18:00:29 +03:00
Vlad Mihalcea 9b0e7e1c1a HHH-10966 - Document @DiscriminatorValue NULL and NOT_NULL options 2016-07-18 17:20:35 +03:00
Gail Badner c893577efc HHH-5393 : MappingException when @MapKeyColumn refers to a column mapped in embeddable map value 2016-07-14 15:16:51 -07:00
Vlad Mihalcea 9ac00406d2 HHH-10955 - PessimisticWriteLockTimeoutTest#testSkipLocked should run only on PostgreSQL 9.5 2016-07-14 14:12:39 +03: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
Andrea Boriero e4062362ac HHH-10952 - Tests leaving transactions opened cause PostgreSQL to hang 2016-07-13 10:17:14 +02:00
Chris Cranford a17dd125e7 HHH-9199 - Fixed auditing of embeddable collections using ValidityAuditStrategy. 2016-07-12 14:19:11 -05:00
Chris Cranford 95c01d9001 HHH-9199 - Removed FailureExpected. 2016-07-12 14:19:11 -05:00
Chris Cranford 179076e0e6 HHH-9199 - Checkstyle header fix. 2016-07-12 14:19:11 -05:00
Felix Feisst bc9e82bd70 Added unit test for issue HHH-9199 2016-07-12 14:19:11 -05:00
Felix Feisst 85eca1aa01 Added unit test for issue HHH-9199 2016-07-12 14:19:11 -05: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 dc5fe2cde8 HHH-10900 - ExceptionConverter throws an exception if the Proxy is no longer reachable 2016-07-12 15:58:52 +03:00
Vlad Mihalcea 9c74438e99 HHH-10946 - Add utility to detect connection leaks during testing 2016-07-12 14:03:42 +03:00
Andrea Boriero f0fe332991 HHH-10944 - org.hibernate.test.mappingexception.MappingExceptionTest#testNotFound failure 2016-07-12 11:15:17 +01:00
Vlad Mihalcea ffa6212b40 Fix code style issues 2016-07-12 09:32:06 +03:00
Gail Badner 406a82616b HHH-10551 : test case
(cherry picked from commit c1f3b54194)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/LazyBasicFieldNotInitializedTestTask.java
2016-07-11 18:47:04 -07:00
Gail Badner cdd7fb66c8 HHH-10888 : PluralAttribute#isAssociation returns true for @ElementCollection 2016-07-11 13:41:50 -07: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
Steve Ebersole ef46293c78 disable hibernate-orm-modules tests under Java 9 2016-07-07 16:47:06 -05:00
Chris Cranford acd2f238ee HHH-10905 - Fix NPE when calling StatelessSession methods with null LockMode. 2016-07-07 13:26:06 -05:00
Andrea Boriero 457715692c 5.2.1 2016-07-01 00:20:30 +02:00
Andrea Boriero ae2ebc7e86 5.2.1 2016-06-30 18:34:48 +02:00
Steve Ebersole 5b5d2b6559 HHH-10863 - Improve consistency of how we call implicitNamingStrategy.determineBasicColumnName with element collections 2016-06-30 08:47:17 -05:00
Guillaume Smet 7f3a3bcbcc HHH-10863 Add a isCollectionElement() method to AbstractAttributeKey
It allows external libraries to test for the collection element marker
without being aware of the exact syntax used as it might change in the
future.
2016-06-30 08:47:17 -05:00
Guillaume Smet 9fd61a10db HHH-10863 Be consistent in the parameter passed to
ImplicitNamingStrategy#determineBasicColumnName

When dealing with an element collection (say items.name),
ImplicitNamingStrategy#determineBasicColumnName is sometimes called
with items.collection&&element.name and sometimes with items.name.

This is due to HHH-6005 which removes the "collection&&element."
part before calling determineBasicColumnName.

With this patch, we only remove the "collection&&element." part before
calling the physical naming strategy, thus allowing us to be consistent
in the way we call ImplicitNamingStrategy#determineBasicColumnName.
2016-06-30 08:47:17 -05:00
Gail Badner 570577b653 HHH-10851 : Change to check for @Access on field and getter before checking the class containing the attribute 2016-06-30 00:35:08 -07:00
Vlad Mihalcea 0e6230faf0 HHH-10904 - Fix tests failing when switching to MySQL 2016-06-30 08:50:22 +03:00
barreiro 5ef1da74c2 HHH-10851 - PropertyAccessMixed not aware of Access annotation 2016-06-30 00:34:21 +02:00
barreiro cdc69a475b HHH-10801 - Bytecode enhancement of @MappedSuperclass 2016-06-30 00:29:29 +02:00
barreiro f0dfc1269b HHH-10865 - ManyToMany relation dropped from database when lazy loading is active 2016-06-29 23:27:49 +02:00
Steve Ebersole 6cc9f6242a HHH-10899 - Provide module ZIP file for upgrading WildFly to latest Hibernate 2016-06-29 15:49:50 -05:00
Gunnar Morling 015b4a6344 HHH-10899 Adapting classifier to resemble pattern known from HSEARCH 2016-06-29 15:49:50 -05:00
Gunnar Morling 43d7d0d20f HHH-10899 Adapting module.xml and test to ORM 5.2 2016-06-29 15:49:50 -05:00
Gunnar Morling e89d29eca8 HHH-10812 Ensuring correct order of build tasks 2016-06-29 15:49:50 -05:00
Gunnar Morling 94389ee6b4 HHH-10812 Addressing review remarks 2016-06-29 15:49:50 -05:00
Gunnar Morling 62b5cf6eac HHH-10812 Adding documentation 2016-06-29 15:49:50 -05:00