Commit Graph

3907 Commits

Author SHA1 Message Date
Vlad Mihalcea ce21f133d2 HHH-11028 - {h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate code enhancement
Remove isCallable attribute since it causes failures on MariaDB
2017-10-25 08:42:49 +03:00
Sanne Grinovero 401936f94e HHH-12055 Revert to using the Javassist version included in WildFly 11 2017-10-24 16:42:49 +01:00
Laabidi Raissi 090d18dcc8 HHH-11028 - {h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate code enhancement 2017-10-24 16:27:54 +03:00
Vlad Mihalcea 1cb10729b0 HHH-12058 - Criteria LiteralHandlingMode can only be configured programatically. We need to support String-based configurations as well. 2017-10-24 15:06:07 +03:00
Vlad Mihalcea 29fc5903e3 HHH-12052 - Move PooledConnections inside DriverManagerConnectionProviderImpl 2017-10-23 15:38:15 +03:00
Andrea Boriero 884bfc1cc6 HHH-2897 - Fix checkstyle error 2017-10-19 11:57:14 +01:00
Gail Badner 86f310e4cb HHH-11970 : @NotFound(IGNORE) and @BatchSize 2017-10-19 11:30:34 +01:00
Gail Badner 19087d9f15 HHH-11970 : @NotFound(IGNORE) and @BatchSize 2017-10-19 11:30:34 +01:00
fernando 47eebc5d86 HHH-12037 - Remove unused code in ArrayHelper 2017-10-17 17:56:50 +03:00
Lemongrass3110 ed61fc9a8e HHH-2897 - Adding support for use of sequence objects in DB2 V8 OS390 2017-10-17 16:46:43 +03:00
Andrea Boriero 61ee2d2232 HHH-12034 - Fix tests hanging on PostgrSQL 2017-10-16 20:58:23 +01:00
Andrea Boriero 07eec26d67 HHH-11971 - QueryParameterBindingValidator does not handle primitive types 2017-10-16 19:25:41 +01:00
Andrea Boriero 4979241a1d HHH-11971 - Add test for issue 2017-10-16 19:25:41 +01:00
Gail Badner a77c48dc11 HHH-12034 - According to JPA, a Proxy should be loaded even when accessing the identifier 2017-10-16 17:41:47 +03:00
marko-bekhta b51dac6e39 HHH-12026 Setting correct font family for search input in TOC. Fixing a typo 2017-10-16 14:58:29 +03:00
Jonathan Bregler 54b506ecf4 HHH-12021 - Fix tests failing on SAP HANA
- skip testLoad() of org.hibernate.jpa.test.ops.GetLoadTest
- change the result comparison to set-based instead in testRevisionsGtWithPropertyQuery()
2017-10-09 13:58:49 +03:00
Jonathan Bregler 1fc4ce23ac HHH-12020 - Add SAP HANA to the list of provided dialects
- Update documentation
- Update org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder
2017-10-09 13:30:41 +03:00
Jonathan Bregler 62e691c38a HHH-11816 - JoinProcessor considers table names with colons dynamic filter parameters 2017-10-09 12:47:29 +03:00
Chris Cranford 00492a3707 HHH-11965 - Fix cascade of one-to-one associations with proxies. 2017-09-29 16:47:14 -04:00
Chris Cranford 5a49cdc3ce HHH-11965 - Added test case. 2017-09-29 16:46:43 -04:00
Chris Cranford 05f8e7306e HHH-11656 - Added test case. 2017-09-29 11:27:34 -04:00
Andrea Boriero 85016e0bca HHH-11640 - Fix test failing on MariaDB 2017-09-27 18:45:35 +01:00
Ivo Hradek 72506a6eac HHH-11640 - NamedQuery doesn't log comment when UPDATE/DELETE
HHH-11906 - Add support for MySQL query optimizer hints
2017-09-27 16:57:46 +03:00
Andrea Boriero 08cd580067 HHH-11980 - Fix test failing on PostgreSQL 2017-09-27 13:26:50 +01:00
msvticket e391d8577e HHH-11980 MultiTenantConnectionProvider is required for MultiTenancyStrategy.DISCRIMINATOR
Instead of checking that multiTenancyStrategy is NONE start using MultiTenancyStrategy.requiresMultiTenantConnectionProvider to distinguish whether MultiTenantConnectionProvider is to be used.
2017-09-26 17:43:10 +03:00
Thomas Reinhardt 5be294506d HHH-7842 - Hibernate Criteria does not respect fetch mode, when alias is used 2017-09-26 16:39:08 +03:00
Vlad Mihalcea b48dfe0d11 Fix test leaking connections 2017-09-26 15:43:29 +03:00
Vlad Mihalcea 56947f28dc HHH-9576 - Use JDBC bind variables for handling JPA Criteria query numeric literals 2017-09-26 10:55:12 +03:00
Andrea Boriero 132767b4fb HHH-12001 - Allow ORM to be built with Java 9 2017-09-21 22:10:05 +01:00
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
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
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
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
Gail Badner bb905dcb00 HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus 2017-08-08 13:47:39 -07:00
Andrea Boriero 65b5e6445b HHH-11915 - DatabaseMetaData#getIndexInfo can return column names enclosed in quotes on PostgresPlus 2017-08-08 13:24:13 -07:00
Andrea Boriero ba6cc06810 HHH-11176 - Fix CheckStyle errors 2017-08-08 17:04:50 +02:00