Commit Graph

8293 Commits

Author SHA1 Message Date
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
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