Commit Graph

3828 Commits

Author SHA1 Message Date
Jonathan Bregler 85dcac95d0 Improved Hibernate support for SAP HANA part 2
- implement PR comments
2017-09-21 12:05:19 -05:00
Jonathan Bregler 3aad752b04 Improved Hibernate support for SAP HANA
- Identity column support
- Spatial support
- Various minor improvements in HANA dialects
2017-09-21 12:05:19 -05:00
Andrea Boriero 5566b423e3 HHH-3870 - Fix checkstyle errors 2017-09-21 16:20:04 +01:00
Igor Dmitriev f8b78bcad0 HHH-11838 - Id retrieving from proxy with FK leads to query execution 2017-09-21 15:33:01 +03:00
Vlad Mihalcea af080884d1 HHH-3870 - Hibernate proxies Groovy's getMetaClass method breaking proxies when used with Groovy 2017-09-21 15:14:54 +03:00
Andrea Boriero 6379a42a58 HHH-11651 - unwrapping error in AbstractMultiTenantConnectionProvider 2017-09-21 14:58:47 +03:00
Vlad Mihalcea 442f5e60dd HHH-11863 - Implement REF_CURSOR support for StoredProcedureQuery.getOutputParameterValue(4); 2017-09-21 13:56:25 +03:00
Vlad Mihalcea 287221e26e HHH-11996 - order_inserts causing constraint violation 2017-09-20 10:42:39 +03:00
Vlad Mihalcea 6866f5eb4d HHH-11997 - EntityManager.createNamedQuery throwing illegalstateexception 2017-09-20 08:50:15 +03:00
Vlad Mihalcea 9fa7959020 HHH-9662 - IllegalArgumentException when composite ID has IDENTITY generated value
Add replicating test case
2017-09-18 16:51:21 +03:00
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
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
Gail Badner d7f7a1baea HHH-11982 : AbstractSharedSessionContract#getInterceptor should not call checkTransactionSynchStatus() 2017-09-11 23:06:51 -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 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
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
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
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
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
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