Commit Graph

6875 Commits

Author SHA1 Message Date
Vivek Shankar 62d5d1ab2c Fixed typo 2022-06-17 11:15:04 +02:00
Gail Badner 2efacb6f23 5.0.16 2017-11-06 20:08:44 -08:00
Gail Badner 59a4b2b111 5.0.16 2017-11-06 20:05:28 -08:00
Gail Badner 40ee0df2a0 HHH-11364 : Fix test case to work on pre-5.2 versions
(cherry picked from commit c6e285c137)
2017-10-03 22:56:59 -07:00
Chris Cranford b66965e801 HHH-11364 - Checkstyle fixups.
(cherry picked from commit f01055985e)
2017-10-03 22:56:34 -07:00
CK Guven a75a1c9bdf HHH-11364 add null check for properties in middle embeddable components
(cherry picked from commit 883799082c)
2017-10-03 22:56:14 -07:00
Gail Badner 2287bdd5e0 HHH-11957 : Fix to work with jdk 1.6 source 2017-09-01 16:19:31 -07:00
Gail Badner 020c018914 HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
(cherry picked from commit 80937ee583)
2017-09-01 15:58:22 -07:00
Gail Badner 57e63081b7 HHH-11957 : Fix test case to work pre-5.2 2017-09-01 15:57:03 -07:00
Gail Badner e575d63ac3 HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect
(cherry picked from commit 385a18b11b)
2017-09-01 15:38:26 -07:00
Gail Badner fd7991c031 5.0.15 2017-08-18 17:30:34 -07:00
Gail Badner 980ed16ce7 5.0.15 2017-08-18 17:18:24 -07:00
Chris Cranford f062c8687d HHH-11215 - Fix NullPointerException when collection of embeddables reference an unaudited entity.
(cherry picked from commit b1a9676146)
2017-08-18 00:11:18 -07:00
Chris Cranford bc706b7aa4 HHH-11215 - Added test case.
(cherry picked from commit 1e030b2dc4)

HHH-11215 : Fix test to work on pre-5.2 branches

(cherry picked from commit 6a45c1ec17)
2017-08-18 00:10:59 -07:00
Chris Cranford 9a3676eda3 HHH-11214 - Fix validity audit strategy auditing nested collections with null property values.
(cherry picked from commit af78f17eb8)
2017-08-18 00:09:02 -07:00
Gail Badner bb7d18d7c0 HHH-11214 : Fix test to work on pre-5.2 branches
(cherry picked from commit 422f8c0de4)
2017-08-18 00:08:50 -07:00
Chris Cranford ec2a917240 HHH-11214 - Add test case.
(cherry picked from commit c3c08728bc)
2017-08-18 00:08:32 -07:00
Chris Cranford d1176ce72e HHH-9199 - Fixed auditing of embeddable collections using ValidityAuditStrategy.
(cherry picked from commit a17dd125e7)

Conflicts:
	hibernate-envers/src/main/java/org/hibernate/envers/strategy/ValidityAuditStrategy.java

(cherry picked from commit 815a0a81c2)
2017-08-17 23:53:07 -07:00
Chris Cranford e033f028c2 HHH-9199 - Removed FailureExpected.
(cherry picked from commit 95c01d9001)
2017-08-17 23:52:29 -07:00
Chris Cranford 2edd575a31 HHH-9199 - Checkstyle header fix.
(cherry picked from commit 179076e0e6)
2017-08-17 23:51:48 -07:00
Felix Feisst f616243389 Added unit test for issue HHH-9199
(cherry picked from commit bc9e82bd70)
2017-08-17 23:51:33 -07:00
Felix Feisst 8a204a32b6 Added unit test for issue HHH-9199
(cherry picked from commit 85eca1aa01)
2017-08-17 23:51:19 -07:00
Gail Badner cafc26f5cf 5.0.14 2017-06-12 16:21:45 -07:00
Gail Badner 7119bf05b3 5.0.14 2017-06-12 14:53:21 -07:00
Andrea Boriero a97a65be38 HHH-11536 - Fix unit tests failing on Oracle
(cherry picked from commit e54ce7b266)

HHH-11536 - Fix unit tests failing on Oracle

(cherry picked from commit dd895c78b6)
(cherry picked from commit 2857189765)
2017-06-08 19:57:59 -07:00
lsiu 36d83f1e5e Fix HHH-11352 - the Pattern at buildShallowIndexPattern where "wordBoundary==true" should wrap the pattern properly with '\b'
(cherry picked from commit 56f7466d52)
2017-06-08 15:15:52 -07:00
Chris Cranford e145cb7772 HHH-11145 - Fix limit handler to ignore regex search keywords that are quoted.
(cherry picked from commit 0e2b2f11e7)
(cherry picked from commit a85bd30aaa)
2017-06-08 15:13:34 -07:00
Chris Cranford 42e0f97d04 HHH-11324 - Fix LimitHandler parsing of subqueries in the select clause for SQLServer2005Dialect.
(cherry picked from commit 087729c023)
2017-06-08 15:09:42 -07:00
Chris Cranford 88a2029a5a HHH-11324 - Added test cases.
(cherry picked from commit db1dfd6908)
(cherry picked from commit 6b928f9379)
2017-06-08 15:05:28 -07:00
Max Tian 9f57935d7f HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
(cherry picked from commit 0693b54256)
2017-05-22 13:54:06 -07:00
Vlad Mihalcea ac3f296bc4 HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9
Add replicating test case

(cherry picked from commit 2a441d7f2d)

HHH-10183 - Mapping for NVARCHAR in SqlServer not working with native queries; org.hibernate.MappingException: No Dialect mapping for JDBC type: -9

Restrict test case for SQL Server only

(cherry picked from commit 22548f1127)

HHH-10183 - Fix tests to work pre-5.2

(cherry picked from commit 29bb4e3b2f)
2017-05-22 13:53:07 -07:00
Gail Badner 6b4fcfbc41 HHH-11740 - Remove references to PhysicalConnectionHandlingMode from test case 2017-05-15 17:50:03 -07:00
Gail Badner 1d7ed4aa55 HHH-11740 : Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
(cherry picked from commit 061a1cae31)
2017-05-15 16:53:18 -07:00
Gail Badner d28663cbff HHH-11499 : Add a new DB2 dialect that uses "cross join" for cross joins instead of ","
(cherry picked from commit 19e585bf9d)
2017-05-15 16:49:09 -07:00
Gail Badner abc3eb14a6 HHH-11740 : test case
(cherry picked from commit 36d09411fb)

HHH-11740 : Skip test for H2

(cherry picked from commit 6a0a6d7562)

HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools

- Fix tests on PostgreSQL

(cherry picked from commit 386b04872f)

HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools

- Made test run on H2, Oracle, SQL server, MySQL and PostgreSQL

(cherry picked from commit 733f55f362)

 HHH-11740 - Fix test case to avoid pessimistic locking exception

(cherry picked from commit cab613de11)

HHH-11740 : test case

(cherry picked from commit e6573ed623)
2017-05-15 16:38:52 -07:00
Gail Badner 071d9de96f 5.0.13 2017-03-27 23:43:34 -07:00
Gail Badner 62461e4907 5.0.13 2017-03-27 23:38:17 -07:00
barreiro bf5a68e840 HHH-11459 - Test case
(cherry picked from commit 2779ebd8f0)

HHH-11459 : Correct test case to work on pre-5.2 versions

HHH-11459 - Do not fetch a collection on cascade, resolve it instead

(cherry picked from commit 41bd06266d)

HHH-11459 - Always resolve unloaded, lazy collection in enhanced entity when cascading; added comments

(cherry picked from commit 0b6ce73fcc)

HHH-11459 : Add entity names to avoid Oracle test failures

(cherry picked from commit 28f3148f7b)

HHH-11459 : Correct fix to work on pre-5.2 versions

(cherry picked from commit ba86f10378)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java
2017-03-27 20:56:53 -07:00
Gail Badner 4346c25531 HHH-11576 : Correct AbstractEntityTuplizer#getPropertyValues to work with new Enhancer 2017-03-27 19:31:59 -07:00
barreiro aca472bb65 HHH-11576 - Test case
(cherry picked from commit 8f495505e5)

HHH-11576 : Correct test case to work on pre-5.2 versions

HHH-11576 - Process unfetched collections on Flushvisitor to determine reachability

(cherry picked from commit a5c7087316)
(cherry picked from commit f20acbb972)
2017-03-27 16:05:39 -07:00
Gail Badner ce0ca558da HHH-10689 : Some tests fails because oracle12c doesn't support single column identity table 2017-03-20 22:24:12 -07:00
Gail Badner 4597a6b6f9 HHH-11516 : Level two cache may not be enabled when using @Cacheable without/instead of @Cache
(cherry picked from commit 7c870acc59913f16d35b609b31d7b0286fa2aee3)
2017-03-13 01:22:09 -07:00
Gail Badner 47e3b0a128 HHH-11516 : test case
(cherry picked from commit f1abc98960)
2017-03-13 01:10:07 -07:00
Steve Ebersole 1ca85a74ca HHH-11400 - HHH90000016: Found use of deprecated 'collection property' issue for valid JPQL query
(cherry picked from commit 2dca5f2ceb)
2017-02-23 14:51:57 -08:00
Gail Badner 9283e5026f HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
HHH-10989 : Shorten test table names

(cherry picked from commit 55f7f71e04)
(cherry picked from commit e44b0ccde3)
2017-02-22 16:01:01 -08:00
Gail Badner 95ea186acf HHH-10989 : fix test case to work pre-5.2
(cherry picked from commit 6569161571)
2017-02-22 16:00:46 -08:00
barreiro 6d358cd6ed HHH-10989 - Always resolve CollectionType on load so that unfetched collections have a reference stored in StatefulPersistentContext
(cherry picked from commit 077ebbc04f)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/EnhancerTest.java

(cherry picked from commit b2356cc525)
2017-02-22 16:00:28 -08:00
Vlad Mihalcea 27da21415a HHH-2643 - Improve Session.refresh() Javdoc to clarify contract
Instead of writing it in the JavaDocs, it's much more appropriate to document this behavior in the User Guide

(cherry picked from commit 5629457aa8)

Conflicts:
	documentation/src/main/asciidoc/userguide/chapters/pc/PersistenceContext.adoc
	documentation/src/test/java/org/hibernate/userguide/pc/PersistenceContextTest.java

(cherry picked from commit 7541a2d9e2)
2017-02-14 19:14:53 -08:00
Vlad Mihalcea ea96632ca1 HHH-2123 - clarification on the way interceptors and event system interact.
(cherry picked from commit d126faa7d9)
2017-02-14 19:14:21 -08:00
Vlad Mihalcea 8d50d567ac HHH-11174 - Document that XML file mappings can reside outside of JAR
(cherry picked from commit 8bd6cf6f6b)
2017-02-14 19:14:04 -08:00