Commit Graph

750 Commits

Author SHA1 Message Date
Guillaume Smet 1deccc5426 HHH-10603 Avoid doing distinct and comparisons on byte arrays
They are stored as blobs starting with Oracle12cDialect and distinct and
comparisons on blobs are not supported.

Some tests were adapted, some are now skipped with Oracle12cDialect.

(cherry picked from commit 92f194f291)
2018-08-25 20:18:54 -07:00
Gail Badner d6ab67ac50 HHH-11617 : Move helpers to hibernate-testing so tests in hibernate-entitymanager can access them 2018-04-27 16:59:00 -07:00
Gail Badner 34df214981 HHH-11617 : Update test to work on 5.1 2018-04-27 16:15:27 -07:00
Gail Badner 95e3ca1831 HHH-11617 : Change test timeout to 10 seconds 2018-04-27 14:08:50 -07:00
Gail Badner bb6524a945 HHH-11617 : test case 2018-04-27 14:08:50 -07:00
Gail Badner 0a9aa13b2e HHH-11714 : Correct test case to work in 5.1 branch 2018-01-25 23:06:27 -08:00
Andrea Boriero 2857189765 HHH-11536 - Fix unit tests failing on Oracle
(cherry picked from commit e54ce7b266)

HHH-11536 - Fix unit tests failing on Oracle

(cherry picked from commit dd895c78b6)
2017-06-08 19:37:33 -07:00
Vlad Mihalcea 77f452fad2 HHH-10907 - Fix connection leak problem in hibernate-core tests
(cherry picked from commit f5e10c29eb)
2017-06-02 16:25:18 -07:00
Gail Badner b4016f92f5 HHH-10907 : add missing imports to test 2017-06-02 14:27:56 -07:00
Vlad Mihalcea e45f5c0e65 HHH-10907 - Fix connection leak problem in hibernate-core tests
(cherry picked from commit da9c6e160d)
2017-06-02 14:07:46 -07:00
Gail Badner 912f57bcbf HHH-11762 - PersistenceUnitUtilImpl#getIdentifier throws MappingException for non-entity 2017-05-19 18:51:13 -07:00
Gail Badner 15a7c845dd HHH-11426 : Checkstyle fix 2017-05-10 22:09:01 -07:00
Gail Badner fd778109bc HHH-11426 - NullPointerException in getPersistenceUnitUtil().getIdentifier() on detached enhanced entity 2017-05-09 23:09:37 -07:00
Gail Badner d968423397 HHH-11426 : test case 2017-05-09 23:02:09 -07:00
Gail Badner 7c30aececf HHH-11274 - EntityManagerFactoryImpl.getIdentifier uses deprecated version of getIdentifier 2017-05-09 18:09:08 -07:00
Gail Badner 3da42d03ee HHH-11274 : test cases 2017-05-09 14:40:14 -07:00
Gail Badner f1abc98960 HHH-11516 : test case 2017-03-13 00:52:22 -07:00
Craig Andrews 518d58e6b0 HHH-11294 - NPE in org.hibernate.jpa.internal.util.PersistenceUtilHelper.isInitialized(PersistentAttributeInterceptable) 2017-01-27 11:38:12 +00:00
Vlad Mihalcea 3088e1f6bf HHH-10904 - Fix tests failing when switching to MySQL
(cherry picked from commit 0e6230faf0)
2017-01-17 22:39:06 -05:00
Gail Badner 4abaa5cf68 HHH-11332 skip some tests from QueryAndSQLTest and QueryTest on Sybase 2016-12-12 22:47:28 -08:00
Gail Badner 7d7aef7ecc HHH-10689 - Fix tests failing when switching to Oracle 2016-12-09 13:37:48 -08:00
Gail Badner 6f9c312fb6 HHH-11159 : Move test to hibernate-entitymanager 2016-10-20 23:46:26 -07:00
Andrea Boriero b69240f6dd HHH-11159 - JPA CriteriaUpdate, NnullLiteral causes IllegalArgumentException: Could not convert java type to Hibernate type
(cherry picked from commit 9e8fd60e26)
2016-10-20 23:32:02 -07:00
Gail Badner 516d8a7e68 HHH-11081 : remove AbstractFromImpl#shouldBeRendered 2016-09-15 00:39:25 -07:00
Andrea Boriero e2eb7128c3 HHH-11081 - JPA join with treat causes QuerySyntaxException: Invalid path
(cherry picked from commit c9c50d8afd)

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/FromImplementor.java
2016-09-15 00:37:48 -07:00
Andrea Boriero e0a9f51ac7 HHH-11081 - Add test for issue
(cherry picked from commit 4d3ece8c09)
2016-09-15 00:09:06 -07:00
Gail Badner 889c7852cc HHH-11073 : test case
(cherry picked from commit 4551e521c1)
2016-08-31 00:26:05 -07:00
Gail Badner 5e42b04607 HHH-11072 : Skip CriteriaLiteralInSelectExpressionTest#testStringLiteral2 for Oracle, Db2, SQL Server, and Sybase dialects
(cherry picked from commit b28e0974df)
2016-08-30 23:11:32 -07:00
Andrea Boriero c82301da48 HHH-8488 - Replace jdk8-specific code with jdk6-compliant code 2016-08-11 08:30:34 +02:00
Gail Badner c60287264f HHH-8488 : Replace jdk8-specific code with jdk6-compliant code 2016-08-10 15:14:22 -07:00
Andrea Boriero 02c86507ba HHH-8488 - Fix Join, CollectionJoin, SetJoin, ListJoin, MapJoin CriteriaBuilder#treat SetJoin behaviour
(cherry picked from commit 20f68d43a4)
2016-08-10 15:14:22 -07:00
Gail Badner abf80cae81 HHH-8488 : Move tests to hibernate-entityManager 2016-08-10 15:14:22 -07:00
Chris Cranford a345adbdc5 HHH-10968 - Test cases. 2016-07-25 21:59:40 -05:00
Chris Cranford 45460a7085 HHH-10968 - Skip EntityMode.MAP metadata when JpaMetaModelPopulationSetting is IGNORE_UNSUPPORTED. 2016-07-25 21:09:26 -05:00
Gail Badner 81d211d12a HHH-10888 : PluralAttribute#isAssociation returns true for @ElementCollection
(cherry picked from commit cdd7fb66c8)
2016-07-11 14:04:36 -07:00
barreiro 60e2123337 HHH-10801 - Bytecode enhancement of @MappedSuperclass
(cherry picked from commit cdc69a475b)
2016-07-01 13:37:22 -07:00
Andrea Boriero 4f46968600 HHH-10861 - Fix nullLiteral in select expression
(cherry picked from commit 597183a3b9)

Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/expression/NullLiteralExpression.java
2016-06-28 17:57:39 -07:00
Gail Badner 57a9345959 HHH-10729 HHH-9021 HHH-10230 : Move tests to hibernate-entitymanager 2016-06-28 17:22:31 -07:00
Andrea Boriero 6ecd2bd472 HHH-10729 HHH-9021 HHH-10230 - Fix Issue with literals in select expression
(cherry picked from commit e71af130f0)
2016-06-28 17:14:13 -07:00
Gail Badner f32476e6c9 HHH-10341 - Move test to hibernate-entitymanager 2016-06-28 13:22:57 -07:00
Gail Badner 5b255fa0c2 HHH-10843 : Fix QuerySyntaxException when use CriteriaBuilder.concat in selectCase expression 2016-06-28 13:07:08 -07:00
Gail Badner 61d73f6214 HHH-10843 - Move test to hibernate-entitymanager 2016-06-28 12:34:20 -07:00
Gail Badner dd2f668c97 HHH-10761 : Added test case
(cherry picked from commit d5fa58e850)
2016-06-21 16:53:00 -07:00
Gail Badner 27ed69c2bc HHH-10515 : Moved test to hibernate-entitymanager` 2016-06-13 19:43:09 -07:00
Martin Simka f512e6631b HHH-10756 fix procedure name in test 2016-06-02 08:27:13 +03:00
Timo Verhoeven 86e9efe788 HHH-9676 - TypeSafeActivator.applyDDL doesn't process composing constraints when @NotNull is present 2016-05-31 09:15:09 +03:00
Gail Badner 08a51523a2 HHH-10756 : Move tests to hibernate-entitymanager 2016-05-24 17:01:55 -07:00
Andrea Boriero 418c87f9cb HHH-10691 - Fix SchemaScriptFileGenerationTest failing with PostgreSQL 2016-05-13 17:06:23 +01:00
Andrea Boriero 2a79ebe165 HHH-10635 - Fix EntityManager.isOpen() should respect status of Session 2016-05-12 09:01:29 +01:00
Andrea Boriero e8dec1a062 HHH-10635 - Add test for issue 2016-05-12 09:01:22 +01:00