Commit Graph

2916 Commits

Author SHA1 Message Date
Gail Badner 0f30ba660d HHH-10576 : Correct association in CascadeMergeToChildBeforeParentTest
(cherry picked from commit 5e30c2bf16)
2016-02-29 23:03:17 -08:00
barreiro 6a4128653a HHH-10554 - Fix NPE in dirty tracking generated code of bytecode enhanced @Embeddable entities
(cherry picked from commit c5104601e1)
2016-02-26 11:56:12 -06:00
Andrea Boriero ae25390006 HHH-10553 - ORM tries to create a unique constraint on a non existing table 2016-02-26 12:00:59 +00:00
Andrea Boriero 0d81283092 HHH-10553 - add test for issue 2016-02-26 12:00:59 +00:00
Steve Ebersole f3d40ffad1 fixed bad test code 2016-02-26 11:05:26 +00:00
Gail Badner 6420610ced HHH-10567 : Wrong table for formula if its property is mapped on a secondary table
(cherry picked from commit bdfe38b0c6)
2016-02-25 20:00:50 -08:00
Steve Ebersole 39ce4eee79 HHH-10499 - Can't set ConnectionProvider instance, regression
(cherry picked from commit f076b5823c)
2016-02-24 22:07:53 -06:00
Steve Ebersole 5ab0771f05 HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass
(cherry picked from commit a5cbe326d6)
2016-02-22 16:37:59 -06:00
Guillaume Smet 73abc5c05e HHH-10538 Fix the javadoc of TableInformation.getIndex(Identifier indexName) 2016-02-17 14:45:21 +00:00
Andrea Boriero 7ef7e200dc HHH-10529 - Fix test compile error 2016-02-16 15:46:46 +00:00
Steve Ebersole 6fefd737a1 HHH-10528 - use_nationalized_character_data global property is ignored
(cherry picked from commit 0fccf6b7bd)
2016-02-16 09:36:32 -06:00
Andrea Boriero 7c70a22c6c HHH-10529 - Fix SQLServer2008Dialect generate incorrect length of nvarchar 2016-02-16 15:08:16 +00:00
Andrea Boriero 6f6c72a08f HHH-10529 - Add test for issue 2016-02-16 15:08:09 +00:00
Andrea Boriero 706a3b0308 HHH-10521 - Fix Java 6 not compliant tests 2016-02-12 14:44:27 +00:00
Steve Ebersole e8f5891c53 HHH-10345 - HHH-3422 still a problem with oracle
(cherry picked from commit 177bbfe5e3)
2016-02-10 15:10:39 -08:00
Steve Ebersole 8af779ae62 HHH-10345 - HHH-3422 still a problem with oracle
(cherry picked from commit 90f4fd9d55)
2016-02-10 14:45:43 -08:00
Gail Badner d23eee23e5 HHH-5855 : checkstyle corrections
(cherry picked from commit b5a86ea45c)
2016-02-10 00:12:11 -08:00
Gail Badner c1934b72ed HHH-5855 : Merge causes a duplicated "insert" of a child entity in lazy collection
(cherry picked from commit efa72a8333)
2016-02-09 23:36:06 -08:00
Andrea Boriero 44e4608fd5 HHH-10507 - Hibernate core test removing usage of Java 8 methods 2016-02-09 17:01:30 +00:00
Andrea Boriero 599df2405b HHH-7973 - Fix String literals in an HQL query can get mangled 2016-02-09 16:21:24 +00:00
Andrea Boriero c9631a9ae2 HHH-7973 - Add test for issue 2016-02-09 16:21:14 +00:00
Gail Badner 3080d46a09 HHH-10474 : Skip SchemaUpdateFormatterTest.testSetFormat unless H2Dialect
(cherry picked from commit 1e470f9e4d)
2016-02-08 23:42:08 -08:00
Martin Simka d118e6f92d [HHH-10473] skip NationalizedLobFieldTest on databases that don't support nclob
(cherry picked from commit 9b80aa1d6e)
2016-02-08 22:57:11 -08:00
Oliver Breidenbach cf7f020a1b HHH-9375 - bugfix suggestion 2016-02-08 11:42:54 +00:00
Andrea Boriero b66eb91068 HHH-9635 - Fix SQLServer2005Dialect (and above) does not support read past locking 2016-02-05 15:18:34 +00:00
Andrea Boriero 4cb84a110c HHH-9635 - Add test for issue 2016-02-05 15:18:28 +00:00
cranforc 4cd66c7353 HHH-8657 - Case insensitivity on Nationalized column yields incorrect SQL
HHH-8657 - Case insensitivity on Nationalized column yields incorrect
SQL
2016-02-04 15:38:39 +00:00
Andrea Boriero c7d8d48e62 HHH-7705 - Fix Query.setProperties(Map) silently ignores null values provided in the Map 2016-02-04 14:23:24 +00:00
Andrea Boriero 6c3985e63a HHH-7705 - Add test for issue 2016-02-04 14:23:17 +00:00
Andrea Boriero 6faafc5cdc HHH-10495 - Fix Oracle10gDialect generate nvarchar when using @Nationalized 2016-02-04 14:19:58 +00:00
Andrea Boriero b5586bc941 HHH-10495 - Add test for issue 2016-02-04 14:19:52 +00:00
Andrea Boriero a7a727b5d2 HHH-10303 Fix checkstyle error 2016-01-27 18:03:55 +00:00
Andrea Boriero 2d7d665256 HHH-9286 - Add CustomType implements ProcedureParameterExtractionAware 2016-01-27 17:51:06 +00:00
Andrea Boriero 50089b21dc HHH-9286 - Add CustomType implements ProcedureParameterNamedBinder 2016-01-27 17:51:06 +00:00
Andrea Boriero 743ad3ef92 HHH-9286 - Modify AbstractParameterRegistrationImpl#prepare(CallableStatement statement, int startIndex) to use ProcedureParameterNamedBinder#nullSafeSet(...) 2016-01-27 17:51:06 +00:00
Andrea Boriero 774974a905 HHH-9286 - Add BasicBinder#bind(CallableStatement st, J value, String name, WrapperOptions options) method 2016-01-27 17:51:06 +00:00
Andrea Boriero 49cd637107 HHH-9286 - AbstractStandardBasicType implements ProcedureParameterNamedBinder 2016-01-27 17:51:06 +00:00
Andrea Boriero cbe00ce253 HHH-9286 - Add ProcedureParameterNamedBinder interface 2016-01-27 17:32:37 +00:00
Andrea Boriero 407bf3d4db HHH-9286 - Oracle10gDialect override registerResultSetOutParameter(CallableStatement statement, String name) and getResultSet(CallableStatement statement, String name) 2016-01-27 17:32:25 +00:00
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 bb109139e8)
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 1f3048e572)

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

(cherry picked from commit 33458ab6f8)

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 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