Commit Graph

6842 Commits

Author SHA1 Message Date
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
Sanne Grinovero 62fd52ad59 HHH-10379 Remove dependency to rhq-pluginAnnotations 2015-12-15 16:54:23 +00:00
Andrea Boriero f344a6d290 HHH-10298 - Add new configuration type hibernate.hbm2dll.extra_physical_table_types 2015-12-15 16:50:33 +00:00
Andrea Boriero 749e69aee7 HHH-10298 - Add test 2015-12-15 16:50:20 +00:00
Andrea Boriero b48b159c69 HHH-10364 - Fix HSQL does not support Nationalized annotation 2015-12-15 16:02:48 +00:00
Andrea Boriero fc90e6809d HHH-10364 - Add test for issue 2015-12-15 16:02:41 +00:00
Andrea Boriero 7f1bf8f3f7 HHH-10371 - LocalDate value changes after fetching the row from the database 2015-12-14 22:22:14 +00:00
Andrea Boriero 501f1948a2 HHH-10371 - Add tests for issue 2015-12-14 22:22:02 +00:00
Gail Badner 7af83f02ae HHH-9764 : StaleObjectStateExceptions raising outside flush context
(cherry picked from commit c767b0ed15)
2015-12-14 14:04:17 -08:00
Guenther Demetz 56c1ae332d Testcase for HHH-9764
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java

(cherry picked from commit 840d906cea)
2015-12-14 13:49:42 -08:00
Ståle W. Pedersen a9e482bce0 HHH-10366 Check for trace logging before calling log method and unused method parameters 2015-12-14 17:43:13 +00:00
Sanne Grinovero 90ac42fa2c HHH-10358 Make sure synchronization on AbstractLoadPlanBasedLoader is skipped when the guarded feature is disabled 2015-12-14 16:26:52 +00:00
Gail Badner 971783607e HHH-10369 : Unit test failure because Sybase trims trailing spaces 2015-12-08 18:28:35 -08:00
Gail Badner 0582dc1e8e HHH-10368 : Unit test failure because Sybase does not support binding an untyped null object 2015-12-08 17:09:22 -08:00
Gail Badner 60625b19b2 HHH-10367 : Fix more DB reserved words used by tests 2015-12-08 16:43:09 -08:00
Andrea Boriero e42ca85e9d HHH-10366 - Fix checkstyle error 2015-12-08 18:14:19 +00:00
Ståle W. Pedersen 3f6cc8f8c5 HHH-10366 Improve performance and reduce CPU load when fetching reference cached objects
Removed a call to postLoad and afterInitialize for reference cached entities;
refactor methods, made some private, some final
try to optimize cached result
refactor out getPersister so it can be inlined
2015-12-08 16:53:28 +00:00
Andrea Boriero fcd355f608 HHH-10331 - Fix HSQLDialect returns supportsTupleDistinctCounts false which seems wrong 2015-12-08 11:08:24 +00:00
Bobo Häggström cac8b0d8c5 HHH-10343 Fixed precision and scale for elements of basic types in persistent collections 2015-12-07 10:27:41 +00:00
Koen Aers 3d92590eb3 HHH-10158: SchemaUpdate does not properly support formatter and delimiter anymore 2015-12-05 19:42:56 +00:00