Commit Graph

6511 Commits

Author SHA1 Message Date
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
Andrea Boriero eae981c9b5 HHH-10385 HHH-10386 - Fix the @JoinColumn foreignKey is not taken into consideration when generating the association database schema 2016-01-12 19:19:59 +00:00
Andrea Boriero 90c1de55cf HHH-10385 HHH-10386 - Add tests for issues 2016-01-12 19:19:46 +00:00
Andrea Boriero a84eb2f47c HHH-10437 - Fix NPE in PrimaryKey#addColumn(Column column) when getTable().getNameIdentifier() is null 2016-01-12 16:47:16 +00:00
Andrea Boriero 64430890a4 HHH-10437 - Add test for issue 2016-01-12 16:47:05 +00:00
Steve Ebersole c53a308a58 HHH-5932 Fix filtering request with string literal starting with ':' (checkstyle fix)
(cherry picked from commit fd1ff34f03)
2016-01-11 17:33:47 -06:00
Steve Ebersole f9aab2ba88 HHH-9342 - HQL "x member of treat(y as Type).collections" fails to parse
(cherry picked from commit a35abf43e9)
2016-01-11 16:33:35 -06:00
Steve Ebersole c8a25d2838 HHH-9371 - Exception ''Invalid filter-parameter name format" from LoadQueryInfluencers when hql contains colon and filter is enabled. 2016-01-11 12:14:30 -06:00
Etienne Miret 5d259b7eaf HHH-9371 - Exception ''Invalid filter-parameter name format" from LoadQueryInfluencers when hql contains colon and filter is enabled. 2016-01-11 12:14:17 -06:00
Etienne Miret 17a43fce49 HHH-9357 Fix type() with joined inheritance and discriminator column.
Conflicts:
	hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
2016-01-09 22:35:44 -05:00
Etienne Miret 4c804089bb HHH-9357 Add test case for this issue. 2016-01-09 22:35:42 -05: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
Etienne Miret 48210916c2 HHH-9356 All arguments of a between are now given the same expected type. 2016-01-09 22:15:13 -05:00
Sanne Grinovero dfb6ed1cba Add matrix testing configuration for Oracle database 2016-01-09 20:03:42 -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
Andrea Boriero 1f63272d29 HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Refactoring 2016-01-08 12:04:39 +00:00
Koen Aers eed0fe8b28 HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Solution 2016-01-08 12:04:30 +00:00
Koen Aers bacb67fe73 HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Unit test demonstrating the issue 2016-01-08 12:04:19 +00:00
Andrea Boriero c705a1f575 HHH-10425 - Fix SchemaMigration creates foreign keys too early if across schema 2016-01-07 14:55:33 +00:00
Andrea Boriero 76a59f1641 HHH-10425 - Add test for issue 2016-01-07 14:55:19 +00:00
Andrea Boriero 50365b591b HHH-10420 - Fix SchemaExport creates foreign keys too early if across schema 2016-01-07 11:09:08 +00:00
Andrea Boriero aae8e0c10d HHH-10420 - Add test for issue 2016-01-07 11:08:56 +00:00
Gail Badner b5870a075e HHH-10421 : Change "native" ID generator for Oracle12cDialect to SequenceStyleGenerator
(cherry picked from commit 6df1dccc05)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Oracle12cDialect.java
2016-01-06 15:42:22 -08:00
Jan Martiska c8ef33b3b4 HHH-10395 ServiceBootstrappingTest assumes that show_sql != true 2015-12-21 16:33:54 -08:00
Yoann Rodière ddcb3a26f6 HHH-10191 Fixed exceptions when a functional index exists.
(cherry picked from commit 0dea233ce3)
2015-12-21 15:48:02 -08:00
Yoann Rodière e488fd08e2 HHH-10191 test case
(cherry picked from commit be94481e33)
2015-12-21 15:47:44 -08:00
Gail Badner 12abb91f09 HHH-10383 : IN parameter is not enclosed in parenthesis
(cherry picked from commit 4c6941190a)
2015-12-21 13:28:27 -08:00
Andrea Boriero bf92137880 HHH-10396 - Fix In a @OneToMany association with @JoinColum the @ForeignKey is not taken into consideration when generating the association database schema 2015-12-21 13:12:19 +00:00
Andrea Boriero ef4db6c855 HHH-10396 - Add tests for the issue 2015-12-21 13:12:10 +00:00
Scott Marlow 8112d9f033 HHH-10384 Fix thread safety issues in thread local optimiser 2015-12-18 10:07:46 -05:00
Stuart Douglas d2f8fbbf76 HHH-10384 Fix thread safety issues in thread local optimiser 2015-12-18 10:07:46 -05:00
Gail Badner 3c005fec31 5.0.6 2015-12-16 20:36:52 -08:00
Gail Badner 3a26f32137 5.0.6 2015-12-16 19:09:59 -08:00
barreiro 7a20fed92b HHH-10252 - Trigger the lazy loading of cascading attributes (5.0) 2015-12-16 22:55:36 +00:00
barreiro 5e33aacd01 HHH-10252 - Add test case 2015-12-16 22:46:40 +00:00
barreiro f16b8aafdf HHH-10359 - Change default values in bytecode enhance build-time plugins 2015-12-16 15:59:31 -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
Jan Martiska 668b07222c HHH-10200 fix too long identifiers causing failures on Oracle databases 2015-12-16 13:10:47 -08:00
Andrej Golovnin 760ac6c8c2 HHH-10363 - The Cascade class makes unnecessary calls to the Reflection
API.

(cherry picked from commit 328fa2363a)
2015-12-16 15:01:47 -06:00
Steve Ebersole b0709a78e6 HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
(cherry picked from commit 153b8f26cc)
2015-12-16 14:38:36 -06:00
barreiro cb0dcc0641 HHH-10354 - Rename 'field access' bytecode enhancement 2015-12-16 14:08:09 -06:00
Steve Ebersole 6a988dd6fa HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
(cherry picked from commit 20ebd8f5ca)
2015-12-16 13:52:04 -06:00
Scott Marlow 5ad33c7eb5 HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking
(cherry picked from commit 0c358d80f6)
2015-12-16 13:51:51 -06:00
Torsten Schöne 975de86017 HHH-10353 Interceptor.afterTransactionBegin() is not fired
(cherry picked from commit fe48897692)
2015-12-16 12:38:44 -06:00
Galder Zamarreño 52f123fd12 HHH-10344 Make transactional invalidation backwards compatible
(cherry picked from commit 05aaeb1963)
2015-12-16 12:16:44 -06:00
Karl von Randow e6d211466e HHH-10286 SessionFactoryImpl doesn't cache and reuse existing collection cache region access strategies
(cherry picked from commit 828a83dcbf)
2015-12-16 12:09:47 -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