Commit Graph

3943 Commits

Author SHA1 Message Date
Vlad Mihalcea 9b062e4a6b HHH-11028 - {h-schema} is not replaced in SQLDelete, SQLInsert and SQLUpdate
Skip substitute brackets for stored procedures
2017-11-21 14:03:59 +02:00
Vlad Mihalcea 44a31550c4 HHH-12087 - Pagination does not work with Oracle views
Roll back change because it breaks the follow-on-locking mechanism
2017-11-21 12:26:59 +02:00
rustem.yagudin d6441b7081 HHH-12087 - Pagination does not work with Oracle views 2017-11-20 16:00:28 +02:00
Andrea Boriero 877e790995 HHH-5645 - Fix Checkstyle errors 2017-11-20 12:33:50 +00:00
Andrea Boriero d330fdcfca HHH-12086 - Fix Checkstyle error 2017-11-20 12:33:50 +00:00
Anders Wallgren 7a32ea62b6 HHH-12105 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation 2017-11-20 12:41:27 +02:00
Gary LosHuertos c4010d0af0 HHH-9158 - cascade-persist in orm.xml does not apply to annotation-based relationships 2017-11-16 11:10:55 +02:00
Vlad Mihalcea abb3590d33 HHH-11117 - LazyPropertyInitializer$1 cannot be cast to [B when calling Session.merge() on compile time enhanced composed entities
Add a test case to prove it works after HHH-12054 got fixed
2017-11-16 10:43:55 +02:00
barreiro ae8c365bf5 HHH-12054 - Handle UNFETCHED_PROPERTY in CollectionType.replace() 2017-11-16 10:14:22 +02:00
Gail Badner d2a19c9a77 HHH-12007 : Executing JPA query results in persistence of new/unmanaged entity 2017-11-15 20:37:48 -08:00
Vlad Mihalcea a9f1caf998 HHH-9331 - Aggregate functions for subqueries not working 2017-11-15 12:37:17 +02:00
Vlad Mihalcea 5a91673ef2 HHH-5274 - HQL-Insert with Select and Sub-Select fails 2017-11-15 11:50:30 +02:00
Vlad Mihalcea fe60239301 HHH-5645 - Criteria.createAlias with specified criterion results in wrong parameters passed into SQL statement
Roll back changes since the test passes even without them
2017-11-15 08:46:01 +02:00
Eric Haas dbd5f81f79 HHH-5645 - Criteria.createAlias with specified criterion results in wrong parameters passed into SQL statement 2017-11-14 18:42:22 +02:00
Vlad Mihalcea eaeda2f41d HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
Add a maximum iteration threshold, to avoid a stack overflow error in case there will be circular dependency that's not properly detected
2017-11-13 20:54:28 +02:00
randymay a5d50c3bd5 HHH-12076 - Query not built properly when joining a table based on class
Add replicating test case for HBM mappings
2017-11-13 18:12:02 +02:00
randymay 26ae3c6726 HHH-12076 - Query not built properly when joining a table based on class
Add test case that proves the issue does not replicate for annotation mappings
2017-11-13 17:32:43 +02:00
Vlad Mihalcea 427bba4212 HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
Fix indentation.
2017-11-13 11:04:40 +02:00
Anders Wallgren 9ae9810f85 HHH-12086 - Batch order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation 2017-11-13 10:49:50 +02:00
Steve Ebersole 7c57d11406 HHH-12085 - @NaturalId not working on inherited field 2017-11-10 20:19:01 -06:00
Steve Ebersole e9263758fe HHH-12085 - @NaturalId not working on inherited field 2017-11-10 17:20:49 -06:00
Vlad Mihalcea 20422cd76a HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mappedBy'
Fix tests failing on MariaDB
2017-11-09 09:46:36 +02:00
Viefhaus 4531b22e92 HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mappedBy'
HHH-11986 - Re-format fix code to follow code conventions
2017-11-08 14:13:34 -08:00
Viefhaus 3292a83223 Testcase for HHH-11986 added
HHH-11986 : Changed test code to follow conventions of other bytecode enhancement tests; reformatted test code
2017-11-08 14:12:44 -08:00
Jonathan Bregler 1616b3de37 HHH-12074 - order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation
- "TOP" is a reserved key word in same database systems.
2017-11-08 14:31:36 +02:00
Anders Wallgren 8530584fad HHH-12074 - order_inserts: flush during transaction causes incorrect insert ordering and subsequent constraint violation 2017-11-07 09:26:56 +02:00
Sanne Grinovero 95ecd7c43a HHH-12081 Update to JBoss Logger 3.3.1.Final and related tooling 2.1.0.Final 2017-11-06 14:14:05 +00:00
Vlad Mihalcea 164178330a HHH-12073 - Change BaseUnitTestCase Logger to protected 2017-11-01 19:04:07 +02:00
ageery 310eb69b6e HHH-12072 - BasicFormatterImpl throws a NPE if native SQL begins with a parentheses 2017-11-01 17:58:42 +02:00
Guillermo González de Agüero 20d17ec0f2 HHH-11805 Fix JACC cannot be enabled 2017-11-01 13:37:55 +02:00
Vlad Mihalcea f2c83c9653 HHH-10179 - Fetching an already loaded entity with an EntityGraph does not initialize previously lazy loaded attributes
Add replicating test case
2017-10-31 15:29:27 +02:00
barreiro 280474e9cd HHH-12051 - Filter dirty but non-updatable atributes 2017-10-31 13:18:05 +02:00
msymonov 4b8cfe0c1f HHH-12067: NativeQueryTupleTransformer doesn't handle null values in returned ResultSet 2017-10-30 11:39:20 +02:00
Giovanni Lovato b8a3baa5c1 HHH-10485 : Lazy collections fetched with EntityGraph load with JOIN 2017-10-26 10:24:46 +03:00
Marcello ef6ddd98bc HHH-12064 - Issue with unidirectional one-to-many association with a join column that references a column that is not the primary key 2017-10-25 16:55:58 +03:00
Archie L. Cobbs 88b1e33d72 HHH-12046 - Don't consider static methods for isFoo()/getFoo() conflicts. 2017-10-25 10:55:42 +03:00
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