2827 Commits

Author SHA1 Message Date
Andrea Boriero
8a6df47eb9 HHH-9286 - Oracle10gDialect override Dialect#Oracle10gDialect#getResultSet(CallableStatement statement, int position) 2016-01-27 17:32:14 +00:00
Steve Ebersole
2b598dbb60 HHH-10446 - Comment delimiters not "escaped" within (VAR)CHAR literals within native queries
(cherry picked from commit bb109139e859cf92034fbbd6408636ac3782cbad)
2016-01-25 20:55:33 -06:00
Andrea Boriero
7f9fd50e26 HHH-10451 - Fix Add table comment to 'create table...' statement 2016-01-25 18:50:13 +00:00
Andrea Boriero
6bf463a1be HHH-10451 - Fix generation of 'comment on table ... ' and 'comment on column' statements 2016-01-25 18:50:04 +00:00
Andrea Boriero
d022105f0a HHH-10451 - Add test for issue 2016-01-25 18:49:54 +00:00
Steve Ebersole
5ca47a6b62 HHH-10303 - Reinstate legacy bytecode-enhancement Ant task 2016-01-25 10:50:32 -06:00
Andrea Boriero
6187805632 HHH-10401 - Fix Missing table names on foreign key circularity error message 2016-01-14 09:57:28 +00:00
Andrea Boriero
8dd86a2183 HHH-10433 - Fix hbm2ddl utils has a problem - release jdbc connection 2016-01-13 17:39:28 +00:00
Andrea Boriero
a982b5674e HHH-10433 - Add test for issue 2016-01-13 17:39:20 +00:00
Andrea Boriero
659157a45c HHH-10422 - Add test for issue (from HHH-9983)
(cherry picked from commit 1f3048e572382a76f81a4d5f3c31f1fd4b26d696)

HHH-10422 - Fix Error saving entity with identity id on Oracle 12c (from HHH-9983)

(cherry picked from commit 33458ab6f84c997533422f5bac549ed94631e14d)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Oracle12cDialect.java
	hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cIdentityColumnSupport.java

HHH-10422 : Backport HHH-9983 to fix identity IDs using Oracle12cDialect in 5.0

HHH-10422 : Custom identity support test

HHH-10422 : Custom identity support test
2016-01-13 11:12:21 -06:00
Sergey Astakhov
de3ce125bc HHH-9474 Fixing perfomance issue with ElementCollection 2016-01-13 15:14:19 +00:00
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 5c77f279afaecb505f7a22bfa05c172b493096bd)
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 fd1ff34f03265a681e8ca690eccdb6039c40f3fb)
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 a35abf43e9251dfb9e22a72f3e43ac04e0df9804)
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 b1d1a3c143eecdc47ff92f25383c552897f07096)
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 6df1dccc053b9aedf3ce574311e709faa0f0198e)

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 0dea233ce3fdb18a5836927e02309131a76c4bea)
2015-12-21 15:48:02 -08:00
Yoann Rodière
e488fd08e2 HHH-10191 test case
(cherry picked from commit be94481e3349cc1bf81be50e3833d2128d3c66a4)
2015-12-21 15:47:44 -08:00
Gail Badner
12abb91f09 HHH-10383 : IN parameter is not enclosed in parenthesis
(cherry picked from commit 4c6941190a014fc58daf38c50cce75ae8538484d)
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 328fa2363a9db91bef0b6aa1b547c55860ec17d9)
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 153b8f26cc50dfcf4bdd4b5924ea75f7011fe17c)
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 20ebd8f5caa240b1874b32c4fc0de90434e7e7d0)
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 0c358d80f65da6e56aa90a8395b88c184d6b05ea)
2015-12-16 13:51:51 -06:00
Torsten Schöne
975de86017 HHH-10353 Interceptor.afterTransactionBegin() is not fired
(cherry picked from commit fe488976928eae3753c7fcc7a8231001d28054d0)
2015-12-16 12:38:44 -06:00