Commit Graph

7192 Commits

Author SHA1 Message Date
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
Gunnar Morling 9ec9399ac4 HHH-10812 Adding module ZIP and integration test for using Hibernate ORM 5.1 on WildFly 10 2016-06-29 15:49:50 -05:00
Chris Cranford fe632bc09a HHH-10906 - Remove the necessity of passing EnversService to AuditStrategy APIs. 2016-06-29 13:24:59 -05:00
Andrea Boriero 20f68d43a4 HHH-8488 - Fix Join, CollectionJoin, SetJoin, ListJoin, MapJoin CriteriaBuilder#treat SetJoin behaviour 2016-06-29 19:35:55 +02:00
Andrea Boriero 9d20d3ab03 HHH-8488 - Add tests for issue 2016-06-29 19:35:55 +02:00
Chris Cranford cf0fb8d262 HHH-10807 - Added test case for JTA transactions and marked for rollback. 2016-06-29 11:15:46 -05:00
Chris Cranford ee4f939a04 HHH-10807 - Moved isActive from Transaction to TransactionImplementor. 2016-06-29 11:15:45 -05:00
Chris Cranford 1bc2f7c79c HHH-10807 - Fix flush operation to work when transaction marked for rollback. 2016-06-29 11:15:45 -05:00
Chris Cranford e7933ababb HHH-10807 - Added isActive to Transaction and moved logic to TransactionDriver. 2016-06-29 11:15:45 -05:00
Andrea Boriero a8bcedecbf HHH-10877 - Fix Introduce a configuration option to allow out of transaction updates 2016-06-29 14:55:56 +02:00
Andrea Boriero 88e7254b6e HHH-10877 - Add test for issue 2016-06-29 14:28:13 +02:00
Gail Badner 1d20ea4f60 HHH-10413 : byte[] as the version attribute broken 2016-06-28 21:57:53 -07:00
Gail Badner 13db8b95e3 HHH-10729 HHH-9021 HHH-10230 : Add more checks to test cases 2016-06-28 17:11:26 -07:00
Andrea Boriero 597183a3b9 HHH-10861 - Fix nullLiteral in select expression 2016-06-28 20:46:52 +02:00
Andrea Boriero e71af130f0 HHH-10729 HHH-9021 HHH-10230 - Fix Issue with literals in select expression 2016-06-28 20:46:52 +02:00
Andrea Boriero e0963d56b9 HHH-10729 HHH-9021 HHH-10230 - Add test for issue 2016-06-28 20:46:52 +02:00
Andrea Boriero 3855a48f1e HHH-10843 - Fix QuerySyntaxException when use CriteriaBuilder.concat in selectCase expression 2016-06-28 17:30:35 +02:00
Andrea Boriero a3ed7010b6 HHH-10843 - Add test for issue 2016-06-28 17:30:35 +02:00
Andrea Boriero d889b412cd HHH-10885 - QueryParameterBindingsImpl refactoring 2016-06-28 17:20:12 +02:00
Andrea Boriero 92f5032cc0 HHH-10885 - Fix JPA Native Queries with ordinal parameter is zero based 2016-06-28 17:20:12 +02:00
Andrea Boriero e99270c332 HHH-10885 - Add test for issue 2016-06-28 17:20:12 +02:00
Vlad Mihalcea 0b34910b22 HHH-10890 - PostgreSQL does not consider alias-specific LockMode 2016-06-28 17:43:32 +03:00
Andrea Boriero 5cb5b68f9c HHH-10893 - Fix Reusing Query but changing collection parameters returns wrong result 2016-06-28 16:29:19 +02:00
Andrea Boriero 0e0f497c2a HHH-10893 - Add test for issue 2016-06-28 16:29:19 +02:00