Commit Graph

671 Commits

Author SHA1 Message Date
Oliver Breidenbach 8acf6f706f HHH-9375 - Testcase: EntityGraph and isMember functions generates illegal sql 2016-02-08 11:42:41 +00:00
Oliver Breidenbach 7cc7477a6f HHH-10261 - Fixing bug on creating subgraph on inherited attributes 2016-02-01 19:53:31 +00:00
Oliver Breidenbach 666a161f5f HHH-10261 - Test showing Exception if subgraph is created on an inherited attribute 2016-02-01 19:53:19 +00:00
Andrea Boriero 5fac095841 HHH-10477- Fix checkstyle error 2016-01-27 18:08:15 +00:00
Andrea Boriero 6dc42a66e9 HHH-9286 - Add test for issue 2016-01-27 17:32:04 +00:00
Steve Ebersole f3d98cb4ef HHH-10477 - Setting to allow delayed access to CDI 2016-01-25 15:33:15 -06:00
Steve Ebersole af79fccb9d HHH-10317 - Allow to bind custom types that implement the Collection interface through JPA APIs
(cherry picked from commit 13a169c599)
2016-01-12 17:44:34 -06:00
Steve Ebersole 63db87e8f6 HHH-4161 - persistence.xml <jar-file> not following JSR220 spec
(cherry picked from commit 5c77f279af)
2016-01-12 15:22:52 -06:00
Etienne Miret df103a2f02 HHH-9356 Add a bunch of tests.
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/convert/QueryTest.java
2016-01-09 22:15:18 -05:00
Dimitrios Liapis b87d2046ad Typo fix
Typo fix
2016-01-09 19:56:18 -05:00
Steve Ebersole e79d5d4b39 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA
(cherry picked from commit b1d1a3c143)
2016-01-08 11:13:40 -06:00
Steve Ebersole f0ad6dabd5 HHH-10356 - Make runtime bytecode enhancement configurable 2015-12-16 15:54:38 -06:00
barreiro 809e3cf4b9 HHH-10356 - Make runtime bytecode enhancement configurable 2015-12-16 15:50:17 -06:00
Eskil Bylund 7975dead95 Fix missing parenthesis around composite properties in WHERE clauses
The currentClauseType field would not be correct if the query contained a
subquery.

Signed-off-by: Andrea Boriero <andrea@hibernate.org>
2015-12-16 11:18:18 +00:00
Gail Badner 986b2b65ad HHH-10349 : PersistenceUtilHelper should call getDeclaredField/Method inside of privileged block 2015-12-15 22:22:18 -08:00
Gail Badner 2030aa70ee HHH-10323 : Unit test failure on Oracle because constructor cannot be found
(cherry picked from commit c3ffe16ff0)
2015-12-02 15:00:04 -08:00
Andrea Boriero 59a5a88dbd HHH-9343 - Case/when in criteria with string literal result fails type checking 2015-11-27 16:37:06 +00:00
Andrea Boriero c040cb6718 HHH-9343 - Add test fro issue 2015-11-27 16:36:52 +00:00
Gail Badner 24ee708de7 HHH-10328 : Unit test failure due to database identifier too long 2015-11-24 20:53:29 -08:00
Gail Badner 519ba7175f HHH-10312 : Unit test failures due to DB problems interpreting proper type for null value when bound to a query 2015-11-20 18:55:20 -08:00
Steve Ebersole 682c0642e2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
(cherry picked from commit 4793ca30a2)
2015-11-17 10:24:08 -06:00
Gail Badner d3d88cfa67 HHH-10161 : Hibernate ignores return value from javax.persistence.Parameter#getParameterType()
(cherry picked from commit b4dbb90f17)
2015-11-16 22:46:47 -06:00
Steve Ebersole 7612f8c183 HHH-8847 - Exception thrown when trying to select a treated property
(cherry picked from commit 4132a4293a)
2015-11-09 22:42:45 -06:00
Steve Ebersole 06637289b8 HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType
(cherry picked from commit f940c72aa9)
2015-11-09 22:06:18 -06:00
Steve Ebersole 5169f77fb2 HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType
(cherry picked from commit 7a2fbbd79a)
2015-11-09 22:04:47 -06:00
Steve Ebersole 3d89f9e771 HHH-8802 - Class cast exception thrown when trying to access Embedded type relationship path in Tuple
(cherry picked from commit 2e6811f413)
2015-11-05 09:35:57 -06:00
Steve Ebersole 8a6f504d27 HHH-8775 - Exception when mapping a class more than once - applying tests from https://github.com/hibernate/hibernate-orm/pull/677 + fix
(cherry picked from commit 1a2bdd09e8)
2015-11-04 20:33:25 -06:00
Steve Ebersole 315e57c6aa HHH-9160 - javax.persistence.Query#getParameterValue(String) returns the ParameterRegistration not the parameter value
(cherry picked from commit eb2f33328d)
2015-10-30 12:55:53 -05:00
Steve Ebersole 691d8725d9 HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph
(cherry picked from commit 287a516760)
2015-10-29 09:54:09 -05:00
Janario Oliveira 81eaf8a70c HHH-5948 - Trying to get a PluralAttributePath from a @MappedSuperclass throws org.hibernate.MappingException: Unknown collection role - Changed to read path from entity (not mappedclass) as defined in CollectionBinder.bind()
(cherry picked from commit 41879f6d1a)
2015-10-28 22:02:14 -05:00
Steve Ebersole 12ada0ce34 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field"
(cherry picked from commit bf41b43c16)
2015-10-28 21:27:40 -05:00
Steve Ebersole 2ed2319eb6 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field"
(cherry picked from commit dbb84be810)
2015-10-28 20:45:16 -05:00
Hardy Ferentschik 7a0e98aeec HHH-6475 - Metamodel check fails when subclasses are used
(cherry picked from commit 25d8a66ac7)
2015-10-28 13:27:25 -05:00
Réda Housni Alaoui 3da8d8542f HHH-9374 EntityGraph applied to subquery when using collection function
(cherry picked from commit 1677e0662b)
2015-10-26 17:53:17 -05:00
Andrea Boriero 076ee5f026 HHH-10104 - Add Test 2015-10-15 11:19:01 +01:00
Steve Ebersole e27fb3f592 HHH-10129 - Evaluate AttributeConverter tests in hibernate-entitymanager for move to hibernate-core;
HHH-10154 - Change built-in JavaTypeDescriptor impls to not auto-register themselves with JavaTypeDescriptorRegistry

(cherry picked from commit 7af7ebaf87)
2015-09-30 12:38:19 -05:00
Andrea Boriero d04d86ce2e HHH-9996 - Finish Derby database profile - SelectCaseTest#selectCaseWithValuesShouldWork() and SelectCaseTest#simpleSelectCaseWithValuesShouldWork require H2Dialect 2015-09-30 14:38:55 +01:00
Steve Ebersole 3305c71fbc HHH-10121 - Have EMF#getProperties expose ValidatorFactory injected via 2-phase load
(cherry picked from commit eb544140a1)
2015-09-30 00:21:14 -05:00
Andrea Boriero ab8e679f41 HHH-9996 - Finish Derby database profile 2015-09-28 21:29:49 +01:00
Steve Ebersole e9f99a8c7a HHH-10111 - AttributeConverter based attributes are not marked for update when their state is modified
(cherry picked from commit 70c9c8e855)
2015-09-24 17:04:24 -05:00
Andrea Boriero ff7644f722 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:42:08 +01:00
Steve Ebersole 5c36abf508 HHH-9409 - non-auto-apply converter fails at element collection
(cherry picked from commit 39e3dbb8b6)
2015-09-15 11:25:20 -05:00
Andrea Boriero b9fce690ea HHH-9731 : Wrap Criteria CaseStatement params in string casts 2015-09-04 14:35:53 +01:00
Andrea Boriero 7141bf85bc HHH-9731 - Add test for issue 2015-09-04 14:35:17 +01:00
Steve Ebersole f6879787e2 HHH-9954 - Equality checking should consider arrays
(cherry picked from commit ca1c2efaf9)
2015-08-31 09:27:04 -05:00
Steve Ebersole 84a42b1065 HHH-10059 - Make EntityManagerFactoryBuilderImpl.populate methods protected
(cherry picked from commit dee80ab566)
2015-08-31 09:26:50 -05:00
Kamil Szymanski c66dba9799 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 16:04:25 -04:00
Martin Simka 37964f12e4 [HHH-9994] Finish mariadb (mysql) database profile - added transaction to EnhancerTest and FlushAndTransactionTest 2015-08-18 16:47:43 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Gail Badner 0b6ea757e3 HHH-7573 : Re-work test case to be similar to org.hibernate.test.instrument tests 2015-07-28 20:10:48 -07:00