Commit Graph

8260 Commits

Author SHA1 Message Date
Vlad Mihalcea 1e2c0f5ed5 HHH-11144 - orphanRemoval not working when other same-table-relations are initialized
Remove test since it was duplicated
2017-09-18 15:53:21 +03:00
Vlad Mihalcea 428e0b7718 HHH-11144 - orphanRemoval not working when other same-table-relations are initialized
Add test to prove that the issue does not replicate
2017-09-18 15:00:46 +03:00
Alexey Nesterov 7c2a588613 HHH-6382: Allow to use @OnDelete annotation on unidirectional @OneToMany associations 2017-09-18 12:03:54 +03:00
Vlad Mihalcea 1392b43852 HHH-11732 - HHH000352: in StatelessSession on rollback with JDBC batch 2017-09-14 12:36:33 -07:00
Gail Badner becc1d7473 HHH-11989 : Deprecate LogicalConnectionImplementor#makeShareableCopy 2017-09-14 12:18:47 -07:00
Vlad Mihalcea 0b046885c5 Fix tests faiiling on Jenkins 2017-09-14 12:39:43 +03:00
Vlad Mihalcea bd4908449f HHH-11984 - Add support for navigating between different doc versions 2017-09-14 12:01:37 +03:00
Gail Badner 61932bbeb7 5.2.11 2017-09-13 12:21:11 -07:00
Gail Badner 921ab83572 5.2.11 2017-09-13 11:34:35 -07:00
Vlad Mihalcea 0148ede638 HHH-11411 - Two column navigation and search box for documentation 2017-09-13 15:55:36 +03:00
Chris Cranford e9707461ee HHH-11841 - Fix audit query QueryException on maps using entity-types as keys. 2017-09-13 00:56:06 -04:00
Chris Cranford 6f8968e58a HHH-11841 - Added test case. 2017-09-13 00:56:06 -04:00
barreiro 3080e819d1 HHH-10747 - Instead of the method, use the field directly in the EnhancedSetter 2017-09-12 21:24:55 -07:00
barreiro 66f11130ca HHH-11624 - Test case 2017-09-12 21:24:55 -07:00
barreiro d0e7fab351 HHH-11820 - Simplify dirty tracking on entities without collections [bytebuddy] 2017-09-12 13:59:37 -07:00
barreiro c392d20dec HHH-11820 - Simplify dirty tracking on entities without collections [javassist] 2017-09-12 13:59:37 -07:00
Andrea Boriero e99eb2b7a2 HHH-11756 - Typo in public API method name: requiresPostCommitHanding on PostInsertEventListener 2017-09-12 11:56:10 -07:00
Vlad Mihalcea c7e5174786 HHH-11884 - wrong class in returnedClass() in UserType example 2017-09-12 14:22:36 +03:00
Gail Badner d7f7a1baea HHH-11982 : AbstractSharedSessionContract#getInterceptor should not call checkTransactionSynchStatus() 2017-09-11 23:06:51 -07:00
Gail Badner a9b0305004 HHH-11614 : Update migration guide with example for converting variable-length strings to PostgreSQL Large Objects 2017-09-11 11:51:59 -07:00
Gail Badner cf89391e06 HHH-11614 : Add test case using PostgreSQL Large Object functions in native queries; add test case showing how varchar data can be changed to Long Object. 2017-09-11 11:51:59 -07:00
Gail Badner d04a409335 HHH-11614 : Update migration guide 2017-09-11 11:51:59 -07:00
Gail Badner 9f2edb654d HHH-11614 : Revert "HHH-11477 - HQL query against field marked with @Lob fails on PostgreSQL"
This reverts commit f0016db201.
2017-09-11 11:51:59 -07:00
Vlad Mihalcea 31942cb3e4 Add local MySQL Docker connection config 2017-09-11 09:58:17 +03:00
Gail Badner 0ddc7d32ad HHH-11655 : SessionImpl does not load EntityPersister by entity name 2017-09-08 00:05:28 -07:00
Gail Badner 97e7dc59e6 HHH-11655 : test case 2017-09-08 00:00:14 -07:00
barreiro 7c4bc03c3a HHH-11795 - Improve Ant task for bytecode enhancement 2017-09-07 14:47:42 -07:00
Steve Ebersole f653e26a49 improve documentation (Javadoc) of org.hibernate.cfg.AvailableSettings.CDI_BEAN_MANAGER 2017-09-07 12:01:51 -05:00
Vlad Mihalcea 6ba7420740 HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
Fix typos. Move schema to external extras files.
2017-09-07 17:14:21 +03:00
Vlad Mihalcea ab98bcbe9b HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
Migrate code snippets to test cases for Join relations queries with multiple predicates
2017-09-07 15:47:58 +03:00
Vlad Mihalcea 742d8be69c HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
Migarte code snippets to test cases for Join relations queries
2017-09-06 17:30:16 +03:00
Guillaume Smet 02c5996571 HHH-11962 Unmark deprecated the NativeQuery methods 2017-09-06 11:10:41 +03:00
Vlad Mihalcea 97bc632236 HHH-11864 - AutoCommit mode not reset after use by SchemaValidator 2017-09-05 12:06:10 -07:00
Vlad Mihalcea 886e1bcc30 HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
Migrate getCrossTypeRevisionChangesReader example to Junit tests
2017-09-05 18:22:12 +03:00
Gail Badner 80937ee583 HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect 2017-09-01 15:36:52 -07:00
Gail Badner 385a18b11b HHH-11957 : DB2 substring method needs to be exposed in DB297Dialect 2017-09-01 15:36:52 -07:00
Guillaume Smet 1e25a1a99b HHH-11956 Add createCustomLoader() to the NativeQueryInterpreter contract 2017-09-01 17:45:15 +02:00
Guillaume Smet 9fd9f623cb HHH-11944 Rename getDelegate() methods to delegate() following a
discussion with Steve.

They are all new in 5.2.11 so it shouldn't raise any compatibility
issues.

Note that we still have a getDelegate() method in
SessionDelegatorBaseImpl as it is the one coming from EntityManager.
2017-09-01 17:45:15 +02:00
Guillaume Smet 12dd8522be HHH-11944 Fix preexisting typos in log messages 2017-09-01 17:45:15 +02:00
Guillaume Smet de1642ba93 HHH-11944 Add AbstractDelegatingSessionFactoryBuilderImplementor
This is missing from the set of delegating classes available.
2017-09-01 17:45:15 +02:00
Guillaume Smet 8de187594d HHH-11944 Add test classes for delegating classes 2017-09-01 17:45:15 +02:00
Guillaume Smet 13bb0a3f22 HHH-11944 Add missing methods to delegating class 2017-09-01 17:45:15 +02:00
Guillaume Smet 08cbe1a33f HHH-11944 Fix typo in comment 2017-09-01 17:45:15 +02:00
Guillaume Smet 123ef45975 HHH-11944 Make the AbstractDelegatingSessionBuilder hierarchy generic 2017-09-01 17:45:15 +02:00
Guillaume Smet 3620e1e47e HHH-11944 The getDelegate() method here is the method from EntityManager
It should not return the delegate but the current Session impl proper.

The name is a bit misleading but it comes from JPA so we cannot do
anything about it.
2017-09-01 17:45:15 +02:00
Guillaume Smet 626c8abc71 HHH-11944 Add missing methods to AbstractDelegatingSessionFactoryBuilder 2017-09-01 17:45:15 +02:00
Guillaume Smet e8441e5313 HHH-11944 Fix added but not implemented delegating methods 2017-09-01 17:45:15 +02:00
Andrea Boriero 5feff3b2c6 HHH-11942 - ANTLR parser should fail when providing an extra parenthesis 2017-09-01 17:18:30 +02:00
Vlad Mihalcea e9cc8867af HHH-11942 - ANTLR parser should fail when providing an extra parenthesis
Fix issue by parsing the whole statements until the EOF instead of stopping at any unexpected right closing paranthesis
2017-09-01 17:18:30 +02:00
Andrea Boriero e950957b89 HHH-11739 - globally_quoted_identifiers_skip_column_definitions property does the opposite of what the doc describes 2017-09-01 14:31:03 +02:00