Commit Graph

4263 Commits

Author SHA1 Message Date
Petteri Pitkänen 15791a84fb HHH-12505 - Add tests 2018-04-30 09:11:30 -04:00
Petteri Pitkänen cb68d60ce3 HHH-12505 - Add possibility to disable metadata scanning 2018-04-30 09:11:30 -04:00
Klauswk 83b2780482 Fix Typo in PersistEvent
Just fixing a typo i found while using Hibernate, feel free to accept or just fix in master.

Cheers.
2018-04-30 08:49:17 -04:00
asutosh936 bb91924a9e HHH-12517 - Updated Javadocs with correct parameter methods 2018-04-28 17:49:46 -05:00
Chris Cranford 1d94549394 HHH-12199 - Ignore static fields when resolving property types via reflection. 2018-04-27 16:08:36 -04:00
Chris Cranford b44001c644 HHH-12199 - Added test case. 2018-04-27 16:07:45 -04:00
Steve Ebersole c6dc398fc5 HHH-8786 - find, refresh, lock should throw LockTimeoutException or PessimisticLockException when lock problems occur 2018-04-27 09:42:09 -05:00
Vlad Mihalcea 43d15578dc HHH-12469 - Add support for IN clause parameter padding to better reuse cached statements 2018-04-27 16:44:22 +03:00
Steve Ebersole 676aebdf51 HHH-8786 - find, refresh, lock should throw LockTimeoutException or PessimisticLockException when lock problems occur 2018-04-27 08:32:47 -05:00
Steve Ebersole 12b79a5938 HHH-12257 - Refreshing an entity clears the lock mode returned from EntityManager.getLockMode 2018-04-26 11:46:43 -07:00
Gail Badner a286232da3 HHH-12257 : Refreshing an entity clears the lock mode 2018-04-26 11:46:43 -07:00
Sanne Grinovero 90b058507e HHH-12521 Take advantage of Java 8 improvements to optimise Statistics 2018-04-26 10:43:20 +01:00
Radim Vansa fb7c1a4598 HHH-12523 - Invoke CacheTransactionSynchronization.transactionCompleting 2018-04-26 11:28:42 +03:00
Gail Badner 9f0c1a751a HHH-12508 : SessionFactoryOptions#isSecondLevelCacheEnabled returns true by default with NoCachingRegionFactory 2018-04-25 11:12:35 -07:00
Gail Badner 66d7196168 HHH-12508 : test cases 2018-04-25 11:12:35 -07:00
Sanne Grinovero 5367a1c8a6 HHH-12515 LocalXsdResolver should attempt local resource loading before attempting it via URL 2018-04-23 14:55:43 +01:00
Sanne Grinovero 2d1bec72c9 HHH-12514 Micro style polishing of XsdDescriptor 2018-04-23 13:59:42 +01:00
Sanne Grinovero 1c14f1a1db HHH-12514 Avoid repeated creations of costly Xsd definitions and definition lookups 2018-04-23 11:55:33 +01:00
Gail Badner 01ba7d9565 HHH-11766 : Accessing lazy basic property on entity loaded from 2nd level cache throws exception 2018-04-20 15:24:06 -07:00
Gail Badner 1c151f956d HHH-11766 : test case
HHH-11766 : Renamed and updated test to be more comprehensive; added another test with a lazy basic value
2018-04-20 15:24:06 -07:00
Sanne Grinovero 0546eaac3b HHH-12511 Make ASTPrinter threadsafe and have code reuse their instances 2018-04-20 12:07:54 +01:00
Sanne Grinovero 782f023a5a HHH-12509 Reduce memory usage of PreparedStatementSpyConnectionProvider 2018-04-20 11:16:53 +01:00
Gail Badner c7ea49a0b3 HHH-12507 : InsertOrderingWithCompositeTypeAssociation test fails on Oracle due to reserved word 2018-04-19 14:14:41 -07:00
Steve Ebersole 385cf9a23c HHH-12504 - SessionBuilder / SharedSessionBuilder (binary compatibility) 2018-04-19 12:32:27 -05:00
Andrea Boriero 291d4a3eea HHH-12487 - Calling getTransaction() on a closed EntityManager 2018-04-19 15:46:50 +01:00
Andrea Boriero 19f78bbd3d HHH-12487 - Add test for issue 2018-04-18 18:38:46 +01:00
Sanne Grinovero 432d3a29fa HHH-12384 Introduce new hibernate.bytecode.enforce_legacy_proxy_classnames configuration property 2018-04-18 13:05:34 +01:00
Sanne Grinovero 1f7457133c HHH-12501 Fallback implementation for BytecodeProvider should match the default 2018-04-18 13:05:34 +01:00
Steve Ebersole d3218581e8 HHH-12495 - Cache statistics (binary compatibility) 2018-04-17 18:59:00 -05:00
Steve Ebersole a63c4fe1d2 HHH-12495 - Cache statistics (binary compatibility) 2018-04-17 18:57:12 -05:00
Steve Ebersole e508d6bee8 HHH-12499 - SQLQuery (binary compatibility) 2018-04-17 18:44:35 -05:00
Steve Ebersole d9cdd58068 ProcedureCallMemento (binary compatibility) 2018-04-17 14:56:58 -05:00
Steve Ebersole 57543a447e HHH-12494 - BasicQueryContract (binary compatability) 2018-04-17 14:10:53 -05:00
Chris Cranford 231dd064a4 HHH-12448 - Fix potential memory leak with Envers and JTA when after-completion callbacks did not fire. 2018-04-17 14:02:41 -04:00
Sanne Grinovero 83cd43d26b HHH-12493 Missing final keyword in Bytebuddy EnhancerImpl 2018-04-17 18:24:16 +01:00
Steve Ebersole f89e82a020 HHH-8944 - ColumnTransformer handling is too aggressive in qualifying "column names"
Limited to H2 because getting a good expression to use for `Staff#kooky` that works on all databases is challenging and really what happens on the "database side" here is not relevant - the issue being tested is how Hibernate applies the table aliases to column references in the expression.
2018-04-17 06:43:45 -05:00
Sanne Grinovero cf2c6235fd Amend an out of date javadoc comment referring to CGLIB 2018-04-17 11:55:32 +01:00
Sanne Grinovero 2461301467 HHH-12493 Further reduce allocations of ByteBuddy engines 2018-04-17 11:53:40 +01:00
Vlad Mihalcea 6d54383ca9 HHH-12407 - order_inserts: StackOverflowError when flushing a session
Add test that proves the issue does not replicate anymore
2018-04-17 10:03:34 +03:00
Steve Ebersole 683d1e492a HHH-8944 - ColumnTransformer handling is too aggressive in qualifying "column names" 2018-04-16 11:07:24 -05:00
Christian Beikov 2bf323f01f HHH-12485 - Avoid unnecessary exceptions during import class name lookup of metamodel 2018-04-16 10:16:09 -05:00
Christian Beikov 2de4277c34 HHH-12486 - Avoid unnecessary exceptions during entity persister lookup during query compilation 2018-04-16 10:09:02 -05:00
Steve Ebersole 5803ad5839 HHH-8944 - ColumnTransformer handling is too aggressive in qualifying "column names" 2018-04-16 10:04:16 -05:00
Vlad Mihalcea 6c0c44f7d0 HHH-12484 - Improved error output for LazyInitializationException to include entity-related info
Use predefinied entity identifiers
2018-04-16 18:02:13 +03:00
Steve Ebersole d8d5bf99da HHH-12454 - Offer flag to consider id generator with local scope (legacy non JPA behavior) 2018-04-16 09:47:09 -05:00
Andrea Boriero b6ee633c53 HHH-12454 - o.h.boot.spi.SessionFactoryOptions#getJpaCompliance() returns an immutable copy 2018-04-16 09:47:09 -05:00
Andrea Boriero 6cefa865b0 HHH-12454 - Offer flag to consider id generator with local scope (legacy non JPA behavior) 2018-04-16 09:47:09 -05:00
Andrea Boriero b463c809d6 HHH-12454 - Add tests for issue 2018-04-16 09:47:09 -05:00
nikowitt 8061e812ad HHH-12484 - Improved error output for LazyInitializationException to include entity-related info 2018-04-16 17:10:01 +03:00
Sanne Grinovero dba91ab8fe HHH-12467 ByteBuddy TypeCache stale entries should be cleared to avoid references to application classloader 2018-04-13 16:24:33 +01:00