Commit Graph

3050 Commits

Author SHA1 Message Date
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
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
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
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
Craig Andrews 0908b2d9a6
HHH-11293 - Consider enhanced entities with collections as being not unequivocally non-dirty 2017-01-26 11:23:26 +00:00
barreiro 919557f250
HHH-11284 - HHH-11404 - Fix enhancement in cases where there is some sort of inheritance 2017-01-26 11:19:45 +00:00
barreiro deefb11e9d
HHH-11050 - [bytecode enhancement] Add support for getters/setters through delegation 2017-01-26 11:17:49 +00:00
barreiro e41867baf9
HHH-10981 - Support private persistent fields in @MappedSuperclass 2017-01-26 10:49:32 +00:00
Gail Badner c84869bdac HHH-11202 : IllegalAccessException on Embeddable ID after serializing Getter in cache key
(cherry picked from commit 99a033c21c)
2017-01-12 10:22:28 -08:00
Gail Badner 747d24b7c1 HHH-11289 : Lazy-initializing a static Method and making accessible not thread-safe
(cherry picked from commit 3a1cbf3280)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/internal/AttributeConverterDescriptorImpl.java
2016-12-19 21:28:21 -08:00
Gail Badner 3805752731 HHH-11241 : checkstyle fixes 2016-12-19 20:23:27 -08:00
Gail Badner 7dc1729483 HHH-11241 : Fix issue due to backporting 2016-12-08 12:53:16 -08:00
Gail Badner f490451b6d HHH-11241 : Missing column when executing HQL and criteria query with secondary table
(cherry picked from commit b8f9deacc713a6b67f3df1e2473b689f6dfc8247)
2016-12-08 12:41:43 -08:00
Gail Badner 72ae66dfe6 HHH-11241 : Missing column when executing HQL and criteria query with secondary table
(cherry picked from commit b4b77f85d70765f420ab17c9128f9472175d6619)
2016-12-08 12:41:19 -08:00
Gail Badner 9729649615 HHH-11241 : test case (failing tests marked with FailureExpected)
(cherry picked from commit 3e52340a92)
2016-12-08 12:41:06 -08:00
Radim Vansa 18b44d977e Document `hibernate.cache.keys_factory`
(cherry picked from commit 789724f4e4)
2016-11-23 00:06:07 -08:00
Radim Vansa b8498af6d1 HHH-11083 Un-deprecate OldCacheKeyImplementation and OldNaturalCacheKey
(cherry picked from commit 7daab773ce)
2016-11-23 00:05:54 -08:00
Radim Vansa 9c9ff765ca HHH-11083 WrongClassException using Infinispan and sharing cache regions
* DefaultCacheKeysFactory implements CacheKeysFactory, therefore it can be used in hibernate.cache.keys_factory
* Use DefaultCacheKeysFactory by default
* Add "default" and "simple" as short names for those factories

(cherry picked from commit f744f89bd3)
2016-11-23 00:05:40 -08:00
Gail Badner 2a643064df HHH-11159 : remove test from hibernate-core
(cherry picked from commit 4247332d79)
2016-10-21 00:03:06 -07:00
Andrea Boriero d0afd39d65 HHH-11159 - Add test for issue
(cherry picked from commit 1c1fe2a9af)
2016-10-21 00:02:15 -07:00
Andrea Boriero a8c6790d72 HHH-11182 - HQL subquery with constraint property in superclass does not join superclass table
(cherry picked from commit b3151de647)
2016-10-20 14:18:38 -07:00
Gail Badner 44bbc2ba8a HHH-11182 : minor correction to test required to backport
(cherry picked from commit 25fff43cc1)
2016-10-20 14:18:25 -07:00
Gail Badner 4f62ba9c81 HHH-11182 - Add test for issue
(cherry picked from commit 38379a537a)
2016-10-20 14:18:11 -07:00
Gail Badner 62038989e3 HHH-10998 : NullPointerException when using join with subselect in hbm mapping
(cherry picked from commit f34508e3f3)
2016-09-28 21:31:01 -07:00
Gail Badner 779331a9a5 HHH-10659 : fix test case to work with jdk7
(cherry picked from commit 45ea61bc7e)
2016-09-23 18:26:04 -07:00
Damien Hollis 399227a33c HHH-10659 - Natural Id 2nd level Cache not working when Identity is database generated
(cherry picked from commit 9498b52566)
2016-09-23 18:25:48 -07:00
Gail Badner 86cd386ce9 HHH-11038 : Invalid statement generated for @MapKeyColumn(updatable=false) for @OneToMany
(cherry picked from commit 87e69c9d34)
2016-09-18 22:00:04 -07:00
Gail Badner 37ffbfd3d5 HHH-11038 : test case
(cherry picked from commit c3f7c332f5)
2016-09-18 21:59:49 -07:00
Gail Badner 5ae4c85d2a HHH-11101 : Minor correction to test to work for 5.0 2016-09-16 01:28:44 -07:00
Andrea Boriero 33b649e369 HHH-11101 - Missing unique constraint for many-to-many with unique=true in list mapping
(cherry picked from commit 9cf4fecbfe)
2016-09-16 01:15:50 -07:00