Commit Graph

4243 Commits

Author SHA1 Message Date
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
Andrea Boriero 85adc9ca27 HHH-12464 - Fix HANA db failing test 2018-04-13 15:25:24 +01:00
Andrea Boriero 0a4f02801d HHH-12464 - NPE upon insert & delete with identity generated id 2018-04-13 11:51:06 +01:00
Andrea Boriero 2bf85ffd2a HHH-12464 - Add test for issue 2018-04-13 11:51:06 +01:00
Sanne Grinovero e316649fd6 HHH-12482 Avoid logging overhead within CallbackBuilderLegacyImpl loops 2018-04-12 12:09:15 +01:00
Sanne Grinovero cf75861c0e HHH-12481 Reduce the visibility of internal implementations of Callback 2018-04-12 12:09:11 +01:00
Vlad Mihalcea 5e34f82c72 Fix intermitent failures due to modification time being assigned after 1ms after creation time 2018-04-12 10:03:03 +03:00
Steve Ebersole a99fecca29 HHH-12473 - EntityManager.close() should throw an ISE if called on already closed EntityManager 2018-04-11 16:02:37 -05:00
Andrea Boriero e2b7317560 HHH-12474 - Make sure the JPA version is defined by a single property across build files 2018-04-11 21:54:21 +01:00
Steve Ebersole 11d28db2f3 HHH-12424 - Fix unintended binary compatibility breaks between 5.1 and 5.3 2018-04-11 14:14:15 -05:00
Sanne Grinovero ec2f8e9ba5 HHH-12471 Avoid using a TypeCache in the ByteBuddy BytecodeProvider 2018-04-11 14:59:25 +01:00
Christian Beikov 62347cde01 HHH-12413 Made ParameterTranslationsImpl public again so that it can be instantiated 2018-04-05 12:22:42 +03:00
Vlad Mihalcea 6b3bbfcd19 HHH-12326 - PreUpdate/PrePersist not working for @Embeddable entities 2018-04-04 10:22:10 +03:00
Steve Ebersole 75ea23cab3 Improved @Where + query testing 2018-04-03 14:40:38 -05:00
Andrea Boriero 6688184839 HHH-12444 - Introduce BootstrapContext HHH-12443 - Introduce TypeConfiguration 2018-04-03 18:04:40 +02:00
Vlad Mihalcea b0e591f01d HHH-12387 - Immutable entities can be updated via bulk update queries 2018-04-03 13:40:26 +03:00
barreiro ae0dfdc779 HHH-12389 - Remove usage of javax.script.ScriptEngine in MixedAccessTest 2018-04-03 10:40:01 +03:00
Vlad Mihalcea 9e46dd86a5 Fix checkstyle issues 2018-04-02 09:06:21 +03:00
Steve Ebersole 3af728b42c HHH-12379 - Add support for persistence_2_2.xsd and orm_2_2.xsd 2018-04-01 12:50:56 -05:00
Steve Ebersole c14180ea5b HHH-12410 - Cannot use AttributeConverter with spatial types
HHH-12443 - Introduce TypeConfiguration
2018-03-29 23:16:33 -05:00
Gail Badner 216ad13e6c HHH-12166 : AbstractCompositionAttribute#getAttributes throws NPE for nested CompositeCustomType 2018-03-29 17:29:53 -07:00