Commit Graph

3225 Commits

Author SHA1 Message Date
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 e4062362ac HHH-10952 - Tests leaving transactions opened cause PostgreSQL to hang 2016-07-13 10:17:14 +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 dc5fe2cde8 HHH-10900 - ExceptionConverter throws an exception if the Proxy is no longer reachable 2016-07-12 15:58:52 +03:00
Andrea Boriero f0fe332991 HHH-10944 - org.hibernate.test.mappingexception.MappingExceptionTest#testNotFound failure 2016-07-12 11:15:17 +01: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
Chris Cranford acd2f238ee HHH-10905 - Fix NPE when calling StatelessSession methods with null LockMode. 2016-07-07 13:26:06 -05: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
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
Andrea Boriero 2d9caaf030 HHH-10837 - Changed new setting name to hibernate.jpa.static_metamodel.population 2016-06-28 15:52:12 +02:00
Andrea Boriero 1558eb73a6 HHH-10837 - with jpaMetaModelPopulationSetting.DISABLED the MetadataContext is not created 2016-06-28 15:52:12 +02:00
Andrej Golovnin 248d9cca14 HHH-10837 Add new setting to disable/enable scanning for the static metamodel. 2016-06-28 15:52:12 +02:00
Andrea Boriero 83eb8b0f76 HHH-10341 - Fix failing test 2016-06-28 15:19:03 +02:00
Andrea Boriero 04f1fcc762 HHH-10341 - Fix Specification violation in Implementation of TupleElement 2016-06-28 15:19:03 +02:00
Andrea Boriero 57b954d476 HHH-10341 - Add test for issue 2016-06-28 15:19:03 +02:00
Vlad Mihalcea f59dfa2522 HHH-10889 - Fix unit tests failing on Oracle 2016-06-28 15:56:01 +03:00
Vlad Mihalcea e779f6ae16 HHH-10886 - The follow-on-locking Oracle mechanism should consider UNION as well 2016-06-28 15:33:45 +03:00
mharray 253820a289 HHH-10874 - @Where annotation is not processed with "Extra-lazy" loading for bidirectional collections
For bidirectional collections, the  where clause is now considered when calculating the size() of the LazyCollectionOption.EXTRA annotated collections
2016-06-23 11:55:25 +03:00
Vlad Mihalcea eec01edcca HHH-10876 - DefaultIdentifierGeneratorFactory does not consider the hibernate.id.new_generator_mappings setting 2016-06-23 10:31:51 +03:00