Commit Graph

8027 Commits

Author SHA1 Message Date
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
Andrea Boriero 3f60619f3f HHH-11739 - Fix tests 2017-09-01 14:31:03 +02:00
Vlad Mihalcea c25a859ade HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
Move code snippets to actual test cases for queries using modified flags
2017-08-31 17:56:12 +03:00
Vlad Mihalcea e7c239d57f HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
Move code snippets to actual test cases for entity revision queries
2017-08-31 15:44:45 +03:00
Guillaume Smet 23752fe169 HHH-11945 Make ExceptionConverterImpl use SharedSessionContractImplementor instead of AbstractSharedSessionContract 2017-08-30 11:38:33 +03:00
Guillaume Smet 345c0cce17 HHH-11946 Configure the Configurable services in SessionFactoryServiceRegistryImpl 2017-08-29 17:53:07 +03:00
Sanne Grinovero 67ccdae0f5 HHH-11950 Target WildFly 11 for produced hibernate-orm-modules 2017-08-29 13:44:55 +03:00
Bogdan Stirbat 2d52a38e51 HHH-8955 - added HSQL dialect support for database trunc function 2017-08-29 12:31:05 +03:00
Guillaume Smet 3ed4bfe830 HHH-11951 Improve TransactionStatus javadoc 2017-08-28 15:41:46 +02:00
Andrea Boriero e1faed4b89 HHH-11815 - @org.hibernate.annotations.Index and NullPointerException in IndexOrUniqueKeySecondPass 2017-08-25 14:18:33 +03:00
Gail Badner cd7611e511 HHH-11914 : SchemaUpdate.setHaltOnError(true) does nothing 2017-08-25 11:56:55 +03:00
Guillaume Smet 1f7aac9979 HHH-11934 Make the delegate field accessible to child classes 2017-08-24 17:45:26 +03:00
Vlad Mihalcea 6390471d55 HHH-11942 - ANTLR parser should fail when providing an extra parenthesis
Add replicating test case
2017-08-24 14:07:02 +03:00
Lukas Eder fcefe7f3b8 Fixed trivial typo in Javadoc 2017-08-24 10:26:39 +02:00
Chris Cranford e992ff04c9 HHH-11892 - Fix loading audit history when using a map with entity-type keys. 2017-08-22 15:53:44 -04:00
Chris Cranford 39196915f1 HHH-11892 - Added test case. 2017-08-22 15:53:29 -04:00
Chris Cranford 843cce998f HHH-11748 - Fix relatedId queries against associated entities in entity identifier mappings. 2017-08-21 09:36:18 -04:00
Chris Cranford ac15d45da2 HHH-11748 - Added test cases 2017-08-21 09:36:18 -04:00
Andrea Boriero 9a22960c3e HHH-11897 - Fix checkstyle errors 2017-08-21 10:27:35 +02:00
Gail Badner 407360d957 HHH-11935 : Log a warning and update documentation that enabling "empty" composites is an experimental feature 2017-08-17 21:44:17 -07:00
Vlad Mihalcea 12616d44e2 HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
Refactor section about queries
2017-08-17 17:04:52 +03:00
Bruce Brown 6ad8302a3c HHH-11929 removed excessive toLowerCase() and substring() from SQLServer2012LimitHandler.hasOrderBy(). Also reversed the direction for scanning the sql string for "order by " to start at the end of the string 2017-08-16 10:50:14 -04:00
Arnold Galovics 9394fadc9a HHH-11897: Fix support for Tuple results for native queries 2017-08-16 16:01:46 +03:00
Viefhaus 4235d75610 HHH-11916 - Unnecessary initialization of lazy collection on PERSIST cascade 2017-08-16 15:25:04 +03:00
Gail Badner 65c6964c96 HHH-11928 : Empty left join fetched collection is uninitialized when collection key is composite with hibernate.create_empty_composites.enabled=true 2017-08-15 22:29:06 -07:00
Gail Badner 310a43e5e7 HHH-11928 : test cases 2017-08-15 22:29:06 -07:00
Gail Badner ef81e39d19 HHH-11922 - Entity with null many-to-one cannot be loaded when associated entity has composite ID with hibernate.create_empty_composites.enabled=true 2017-08-15 22:29:05 -07:00
Gail Badner eafc5fe105 HHH-11922 : Added test cases 2017-08-15 22:29:05 -07:00
jcibik 203793be63 HHH-11927 - CascadeMergeToChildBeforeParentTest should not assume the persisted entity has the id with a value of 1 2017-08-15 16:24:32 +03:00
Vlad Mihalcea 8d29a4d588 HHH-11907 - Add the getResultStream() default method in org.hibernate.query.Query 2017-08-15 11:38:20 +03:00
Andrea Boriero ce8aa04078 HHH-11882 - Fix tests 2017-08-10 14:39:00 +02:00
barreiro d85327a5e7 HHH-11882 - Fix tests 2017-08-10 14:39:00 +02:00
barreiro cfb910fb37 HHH-11882 - Use CustomRunner as the runner for tests with BytecodeEnhancerRunner 2017-08-10 14:39:00 +02:00
Steve Ebersole ab09adb6cf Update CONTRIBUTING.md
Use markdown link syntax to refer to lgpl.txt and dco.txt - have had no luck getting GitHub to understand asciidoctor
2017-08-09 11:48:16 -05:00