Commit Graph

6182 Commits

Author SHA1 Message Date
Richard Tingstad 5adf730c42 HHH-7070 Fixed some SybaseASE15Dialect function definitions (dateadd, datediff, datepart, atn2)
(cherry picked from commit 7eebb0f73d)
2015-08-18 15:16:21 -07:00
amaeda cbf255e4f0 HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 6f37a2ee6b)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java

HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 046426b619)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
2015-08-18 14:01:31 -07:00
Martin Simka 37964f12e4 [HHH-9994] Finish mariadb (mysql) database profile - added transaction to EnhancerTest and FlushAndTransactionTest 2015-08-18 16:47:43 +01:00
Andrea Boriero 46232719d1 HHH-10036 - Fix identifier is too long exception for test TableGeneratorQuotingTest 2015-08-18 15:40:38 +01:00
Andrea Boriero 97606e8bf0 HHH-10036 - Fix identifier is too long exception for test EnhancerTest 2015-08-18 15:40:38 +01:00
Andrea Boriero a9daa65c12 HHH-10036 - Fix identifier is too long exception for test MapKeyCustomEnumTypeTest 2015-08-18 15:40:38 +01:00
Radim Vansa 6191489ca3 HHH-9928 Pending put leaks when the entity is not found in DB 2015-08-12 10:55:49 +02:00
Radim Vansa 93d39fa470 HHH-9868, HHH-9881 Must not write into non-transactional caches during transactional write
* The write can only invalidate (remove) the entry and block further PFERs of that entry
* After successful DB update, if there have not been any concurrent updates the value can be PFERed into the cache
2015-08-12 10:39:22 +02:00
Radim Vansa 19c14cee9a HHH-9868, HHH-9881 Removed references to TransactionManager from PutFromLoadValidator
* Also removed put() instead of PFER() after region invalidation
* Relaxed test that required that session.load() after cache.evictAll() in the same transaction cached the loaded entity
2015-08-12 10:39:21 +02:00
Radim Vansa c8ed5e1bef HHH-9898 Test for correct behaviour of 2LC
* Test is marked as ignored since it is expected to run it only manually
2015-08-12 10:39:21 +02:00
Radim Vansa 984125e87e HHH-9868, HHH-9881 Replaced access to TransactionManager with Session 2015-08-12 10:39:20 +02:00
Radim Vansa 1f24fa6354 HHH-9868, HHH-9881 Implementation for non-transactional caches and non-JTA transactions. 2015-08-12 10:39:19 +02:00
Radim Vansa fa7265ff0e HHH-9881 Pending put needs to be invalidated on update on remote node
* This could lead to performance degradation since new EndInvalidatingCommand
  needs to be send after transaction is committed
2015-08-12 10:39:18 +02:00
Radim Vansa 4b2a78785e HHH-9868 Infinispan 2LC can store stale data
* invalidation blocks putFromLoads until the transaction with invalidation
  is committed
* rewritten the naked puts support: timestamp is stored in the pendingPutMap
  and removal of the record relies on pending puts' idle expiration or
  piggy-backs on release from putFromLoad
2015-08-12 10:39:18 +02:00
Radim Vansa fa8e94071f HHH-9988 Separate transaction manager used for Hibernate and caches 2015-08-12 10:39:17 +02:00
Radim Vansa c952a843fa HHH-10023 Make hibernate-infinispan compiled with Infinispan 7.x but runnable with Infinispan 8.x 2015-08-12 10:39:16 +02:00
Steve Ebersole 6fdc4cab8d HHH-10022 - Continue documentation TLC (part 2) 2015-08-07 19:56:56 -05:00
Steve Ebersole 9b007f6d91 HHH-10022 - Continue documentation TLC (part 2) 2015-08-07 15:15:28 -05:00
Steve Ebersole 9268a6917f HHH-10022 - Continue documentation TLC (part 2) 2015-08-07 15:14:13 -05:00
Steve Ebersole 800df6f44c HHH-10022 - Continue documentation TLC (part 2) 2015-08-06 20:38:36 -05:00
Steve Ebersole 85dbceac20 HHH-10022 - Continue documentation TLC (part 2) 2015-08-06 14:59:25 -05:00
Steve Ebersole 8dc14436af HHH-10022 - Continue documentation TLC (part 2) 2015-08-06 14:08:10 -05:00
Sanne Grinovero bd6bb7b841 HHH-10021 Allow the exact version of Infinispan to be used for testing to be overriden from commandline 2015-08-06 10:55:52 +01:00
Sanne Grinovero 8c5c291bee HHH-10021 Allow easy testing of hibernate-infinispan against Infinispan 7 or 8 2015-08-06 10:33:39 +01:00
Steve Ebersole b0e3daddd3 5.0.0.CR4 2015-08-05 15:35:04 -05:00
Steve Ebersole 5c41ae8937 5.0.0.CR4 2015-08-05 15:00:12 -05:00
Steve Ebersole 266ec761f4 HHH-10017 - Bytecode enhancer - consistent handling of persistent attributes (field / property access) 2015-08-05 14:16:29 -05:00
barreiro cff4cb4b7a HHH-9985 - bytecode enhancement - add testcase, and for HHH-10017 as well 2015-08-05 19:33:18 +01:00
barreiro c622d39199 HHH-9985 - remove hack based on exposed state and route all field access to enhanced methods, if present 2015-08-05 19:33:18 +01:00
barreiro ed185b9b48 HHH-10017 - bytecode enhancement - consistent handling of persistent attributes, regardeless of access type 2015-08-05 19:33:18 +01:00
Steve Ebersole 603a410fdc HHH-9998 - Continue documentation TLC - natural-id 2015-08-05 13:09:35 -05:00
Steve Ebersole 9b9b806aac HHH-10018 - Change default ImplicitNamingStrategy to use the JPA compliant one + ImplicitNamingStrategy short-naming 2015-08-05 10:26:48 -05:00
Steve Ebersole 1556c272d5 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-05 09:09:24 -05:00
Andrea Boriero 182146f0ad HHH-9990 - Fix typo in migration guide 2015-08-05 14:32:13 +01:00
Andrea Boriero 612ca97cc7 HHH-9990 - updated migration guide to reflect the changes 2015-08-05 14:28:12 +01:00
Andrea Boriero 1163d2bd0f HHH-10015 - Oracle Dialect override Dialect#canCreateSchema() to return false 2015-08-05 14:21:25 +01:00
Steve Ebersole b0cf427c21 HHH-9998 - Continue documentation TLC 2015-08-05 08:00:32 -05:00
Andrea Boriero a45261ed4c HHH-9990 - Fix test failure 2015-08-05 13:36:44 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Andrea Boriero d905246c6a HHH-9990 - Add tests 2015-08-05 11:27:18 +01:00
Janario Oliveira 7ccbd46932 HHH-9534 - Exception with custom EnumType and Map relation 2015-08-04 21:50:59 -05:00
Steve Ebersole 3192e1db92 HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 21:11:18 -05:00
Daniel Gredler 8c8e729b3d Test for HHH-8615 (no fix). 2015-08-04 20:03:09 -05:00
Steve Ebersole 46a629382e HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 19:55:51 -05:00
Steve Ebersole d99fb4f5dc HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 19:42:57 -05:00
Steve Ebersole 1d61210826 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-04 17:00:46 -05:00
Steve Ebersole 54a3bb244a HHH-10014 - Adjust default for hibernate.auto_quote_keyword to false 2015-08-04 16:59:08 -05:00
Steve Ebersole 45dd596c4f HHH-9869 - SizeExpression toString is misleading 2015-08-04 15:58:32 -05:00
Peter ad704a194e HHH-9869 - fix the order in which SizeExpression.toString() emits size and property so that the toString of a SizeExpression is logically correct 2015-08-04 15:57:20 -05:00
Steve Ebersole dd0547efdc HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true - checkstyle 2015-08-04 15:26:48 -05:00