Commit Graph

2816 Commits

Author SHA1 Message Date
Jaikiran cfc4fc6d1f HHH-10439 Log a message while executing the import script(s) 2016-01-13 14:31:40 +00: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
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
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
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
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
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
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
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