Commit Graph

3991 Commits

Author SHA1 Message Date
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
Andrea Boriero bc05ff24bc HHH-11882 - Fix test causing failures 2017-08-08 14:37:11 +02:00
Gail Badner af4f63aff7 HHH-11898 : added @FailureExpected to test reproducing the error 2017-08-07 21:28:28 -07:00
barreiro d3ce7ded37 HHH-11882 - Fix TestLazyPropertyOnPreUpdate 2017-08-07 09:41:33 -05:00
barreiro eca2c6001e HHH-11882 - Remove old bytecode enhancer tests 2017-08-07 09:41:33 -05:00
barreiro fb6a7a376f HHH-11882 - Bytecode enhancer tests with the new JUnit runner 2017-08-07 09:41:33 -05:00
Gail Badner cc342dc072 HHH-11910 : SchemaUpdateTest fails on databases using case-insensitive identifiers 2017-08-04 16:40:40 -07:00
Gail Badner a8fcdffc50 HHH-11898 : test case 2017-08-04 16:40:40 -07:00
jcibik 019cd397fb HHH-11905 - AbstractLobTest Fails on Sybase 2017-08-03 16:32:08 +03:00
jcibik af4a76e6a9 HHH-11904 - EnumExplicitTypeTest test assert fails on mariadb clusters 2017-08-03 12:04:17 +03:00
Gail Badner 2fe8e5e340 HHH-11903 : test case 2017-08-01 21:36:03 -07:00
Bogdan Stirbat 47f8a67990 HHH-11539 - when foreignKey is added to an @JoinColumn, and not @CollectionTable directly, consider it as well 2017-08-01 11:13:51 +03:00
echunca 4477baf53b HHH-11826: ImplicitNamingStrategyComponentPathImpl generates invalid SQL for Entity with Embedded ElementCollection 2017-07-24 15:55:03 +03:00
Freek de Bruijn df3a248c9b HHH-11878 - Minor typo in CascadeStyles.java 2017-07-24 13:04:06 +03:00
Gail Badner 3553efa05f HHH-11881 : Null Set collection elements are inserted into collection table 2017-07-20 17:03:28 -07:00
Gail Badner 240492f940 HHH-11881 : Added tests 2017-07-20 17:02:46 -07:00
Arnold Galovics 68a40425b1 HHH-11176: Add support for Tuple results for native queries 2017-07-18 18:09:37 +03:00
András Eisenberger 1347ee6250 HHH-11465 - @AttributeOverride does not work for CompositeUserType inside of @Embeddable 2017-07-18 18:07:43 +03:00
jonathan 2bb041423e HHH-11726 - PASS_DISTINCT_THROUGH hint is ignored when used in conjunction with maxResults/firstResult limiters 2017-07-17 10:23:46 +03:00
Vlad Mihalcea 7f94320cec HHH-9864 - foreign key violation with order_inserts=true and batches with mixed subclass entities
Add extra check for executeBatch which should prove that batching works as expected
2017-07-05 19:59:55 +03:00
Vlad Mihalcea 4b672a214f HHH-9864 - foreign key violation with order_inserts=true and batches with mixed subclass entities
Add test for @ManyToOne association
2017-07-05 16:24:09 +03:00
Shawn Clowater 1d0a44ab92 HHH-11830 - Shared Session memory leak via TransactionObserver reference 2017-06-28 12:35:15 +03:00
Vlad Mihalcea 7728d23c9f HHH-5538 - Postgres: fix dialect to work in databases with mutiple schema and search_path set
Move test to a more appropriate package
2017-06-27 11:13:31 +03:00
Vlad Mihalcea 9159b8efd5 HHH-5538 - Postgres: fix dialect to work in databases with mutiple schema and search_path set
Add a test case to prove that the issue does not replicate
2017-06-27 11:09:32 +03:00
Andrea Boriero bbcab0f75c HHH-11808 - Update migration guide and documentation 2017-06-27 09:07:21 +03:00
Gail Badner 9584b16089 HHH-11832 : ManyToManyWithDynamicFilterTest fails on Sybase due to reserved word 2017-06-21 20:23:29 -07:00
Richard Yhip 5d49468acf fixed exception message spacing 2017-06-20 08:43:55 -04:00
Philippe Marschall dda0c4c37e HHH-11824 Remove Types.REF_CURSOR reflection
https://hibernate.atlassian.net/browse/HHH-11824
2017-06-19 17:31:03 +02:00
Gail Badner 3f2c36ab69 HHH-11818 : ClassCastException when binding a MaterializedNClobType as NClob 2017-06-14 13:02:48 -07:00
Gail Badner 515e45e382 HHH-11818 HHH-11296 : Added tests 2017-06-14 13:02:47 -07:00
Chris Cranford 03053502e1 Checkstyle fixups. 2017-06-12 13:24:42 -04:00
Chris Cranford 699b50725d HHH-11768 HHH-11714 Apply code suggestions. 2017-06-12 13:24:42 -04:00
Chris Cranford c6135f2db3 HHH-11714 - Fix ordered inserts with secondary tables and inheritance. 2017-06-12 13:24:42 -04:00
Chris Cranford f4cd82a265 HHH-11714 - Added test case. 2017-06-12 13:24:42 -04:00
Chris Cranford 234849d33b HHH-11768 - Fix FK ConstraintViolationException with ordered inserts enabled and cascade persist. 2017-06-12 13:24:42 -04:00
Chris Cranford e7e6cc53ab HHH-11768 - Test case 2017-06-12 13:24:42 -04:00
MilovanderZee 2867e070ea HHH-10934 - Check ForeignKey on function instead of only the name 2017-06-07 12:58:58 -04:00
MilovanderZee 736da3247c HHH-10934 - Initial unit test 2017-06-07 12:58:58 -04:00
Vlad Mihalcea 6082f1975d HHH-11186 - Add examples for all Hibernate annotations
Document @PersistenceContext and @PersistenceProperty
2017-06-06 12:24:56 +03:00
Vlad Mihalcea 5e23b7fd02 HHH-11186 - Add examples for all Hibernate annotations
Document @TableGenerator
2017-06-05 17:27:23 +03:00
Oleksandr_Ierenkov 91f4deebac HHH-3924 - Use intern() to reuse strings and reduce memory usage 2017-06-05 09:58:20 +03:00
Robert Richter 46f8302219 HHH-11788 - Unignore annotations.target test dir
The current project `.gitignore` file ignores `/*/target`, which
inadvertently ignores the test package
`org.hibernate.test.annotations.target`. The test files are checked-in
despite the gitignore, so some tools complain about editing ignored
files, and any new tests might not get checked in.

This change adds a `.gitignore` to the annotations package directory,
instead of the root project gitignore, because the package dir is
a more relevant context.
2017-06-05 08:48:48 +03:00
Chris Cranford cc51bbc639 HHH-11783 - Fix typo in javadoc. 2017-06-02 08:36:42 -04:00
Vlad Mihalcea 6edb857e5c Increase test timeout since it was failing on Jenkins 2017-06-02 09:03:27 +03:00
Nazarii Bardiuk 87ddf0e74b HHH-11743 - Fix for streaming of Tuple query 2017-05-30 09:36:24 -04:00
Gail Badner 379e32e3f3 HHH-11762 - PersistenceUnitUtilImpl#getIdentifier throws MappingException for non-entity 2017-05-19 18:28:44 -07:00
Vlad Mihalcea ec165296c6 HHH-11186 - Add examples for all Hibernate annotations
Document @Source and @RowId annotation
2017-05-18 17:38:37 +03:00
Chris Cranford b1a322d1f3 HHH-11642 - Fix index out of range failure for SQLServerDialect. 2017-05-17 16:15:55 -04:00
Chris Cranford fe0030c019 HHH-11642 - Added test case. 2017-05-17 16:15:34 -04:00
Chris Cranford f164223226 HHH-11747 - Fix DB2390Dialect pagination to work for offsets properly when using legacy limit handler behavior. 2017-05-16 17:12:17 -04:00
Chris Cranford b45e2cade5 HHH-11747 - Added test case. 2017-05-16 17:11:39 -04:00
Andrea Boriero cf6d1ddafd HHH-11716 - @Transient annotation not respected when class defines 'get' and 'is' accessor variants 2017-05-16 14:09:03 +03:00
lpradel 0e83628c92 HHH-11546 Add support for SAP NetWeaver as JTA Platform 2017-05-16 12:45:19 +03:00
Gail Badner cab613de11 HHH-11740 - Fix test case to avoid pessimistic locking exception 2017-05-15 14:38:22 -07:00
Vlad Mihalcea 733f55f362 HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
- Made test run on H2, Oracle, SQL server, MySQL and PostgreSQL
2017-05-15 18:50:31 +03:00
Vlad Mihalcea 386b04872f HHH-11740 - Default MultiTableBulkIdStrategy for DB2 does not work with connection pools
- Fix tests on PostgreSQL
2017-05-15 17:55:22 +03:00
Gail Badner 6a0a6d7562 HHH-11740 : Skip test for H2 2017-05-12 14:24:18 -07:00
Gail Badner 061a1cae31 HHH-11740 : Default MultiTableBulkIdStrategy for DB2 does not work with connection pools 2017-05-12 13:49:29 -07:00
Gail Badner 36d09411fb HHH-11740 : test case 2017-05-12 13:48:03 -07:00
Andrea Boriero 93559d2e60 HHH-11374 - ConcurrentStatisticsImpl#getSecondLevelCacheStatistics() throws NPE if second level cache is not activated 2017-05-12 11:15:31 +03:00
Andrea Boriero 5ff2289da4 HHH-11700 - Deprecate three org.hibernate.engine.spi.SessionFactoryImplementor methods 2017-05-10 18:16:19 +03:00
Vlad Mihalcea c434d9a9b1 HHH-11500 - Provide the cause of the error when validating @Loader named queries 2017-05-10 16:12:03 +03:00
Vlad Mihalcea d80c6ac0f9 HHH-11600 - Sap HANA PreparedStatement implements CallableStatement and is treated as such by Hibernate 2017-05-10 14:11:15 +03:00
João Carlos Heringer Moreira 1c34914455 HHH-11703 - Entity with Natural ID not being cached in the persistenceContext, causing extra queries 2017-05-08 16:44:27 +03:00
Rafał Osiecki 86dd0d1278 HHH-11728 - Typo in PooledConnections 2017-05-08 12:10:06 +03:00
Andrea Boriero 374a2cae09 HHH-11647 - Fix failing tests 2017-05-06 18:06:01 +01:00
Andrea Boriero f9231bed0d HHH-11650 - Parenthesis are interpreted in WHERE conditions when using paging and SQL Server 2017-05-05 12:19:39 -04:00
Andrea Boriero 17fd76ad21 HHH-11650 - Add test for issue 2017-05-05 12:19:39 -04:00
Danny Casady 562f09d14b HHH-11725 - Fix javadoc typo 2017-05-05 12:14:15 -04:00
ChristophDreis f85737cb0b HHH-11647 - Use ALTER TABLE IF EXISTS on Postgres 2017-05-04 18:08:40 +03:00
Bas van Schaik 72e0d593b9 HHH-11718 - Fix various alerts reported by lgtm.com
Fpr more details:

06f0c3acb2/files/hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaUpdateTask.java (V218)

06f0c3acb2/files/hibernate-core/src/main/java/org/hibernate/boot/archive/internal/ExplodedArchiveDescriptor.java (V149)

06f0c3acb2/files/hibernate-core/src/main/java/org/hibernate/boot/archive/internal/JarFileBasedArchiveDescriptor.java (V74)
2017-05-04 12:31:00 +03:00
Arnold Galovics 2d4600bbc7 HHH-11111 - Hibernate does not correctly resolve embeddable in the metamodel
Add test case that proces thaat the issue does not replicate
2017-05-03 18:27:47 +03:00
Richard Bradley 3a813dcbb4 HHH-11646 revert errant after -> afterQuery search and replace 2017-05-03 11:54:37 +03:00
Gail Badner 1752da008e HHH-11712 - Minor changes to test case 2017-05-02 13:44:04 -07:00
Vlad Mihalcea 8ebf3039ef HHH-11712 - PostgreSQL does not support positive/negative initial sequence values for descending/ascending sequences unless MAXVALUE/MINVALUE is defined as well 2017-05-02 18:16:33 +03:00
Vlad Mihalcea f779df9fa3 Add a JPA-complaint contains test to assert the use case descriebed in the following forum thread
https://forum.hibernate.org/viewtopic.php?f=1&t=1044231
2017-05-02 17:49:48 +03:00
Gail Badner 78d0c22c0b HHH-11709 : Fix typo 2017-04-28 19:40:14 -07:00
Gail Badner bb0a4b6e6f HHH-11709 : NoopOptimizer skips negative values and 0 when it has a positive incrementSize 2017-04-28 19:31:30 -07:00
Gail Badner d211b41319 HHH-11709 : test case 2017-04-28 19:30:17 -07:00
Gail Badner dfbeb1ce37 HHH-5933 : NoopOptimizer ignores negative allocationSize; uses default of 1 instead 2017-04-28 19:08:27 -07:00
Gail Badner 33a28188c6 HHH-5933 : test case 2017-04-28 19:07:39 -07:00
Andrea Boriero 74d4eb61a9 HHH-11660 - Deprecate org.hibernate.mapping.RelationalModel 2017-04-26 14:00:11 +01:00
Vlad Mihalcea 020414e1aa HHH-11634 - ActionQueue#InsertActionSorter fails to generate right order
Use the same object for both the remove and the add operations
2017-04-19 21:02:02 +03:00
Vlad Mihalcea 84d61690c5 HHH-11634 - ActionQueue#InsertActionSorter fails to generate right order
Prove that the issue is caused by an improer bidirectional association side synchronization
2017-04-19 17:00:42 +03:00
Vlad Mihalcea 1772baf67e Add missing class names and fix documentation pointing to missing property 2017-04-18 15:18:59 +03:00
Andrea Boriero a630809857 HHH-11635 - MySQLSkipAutoCommitTest fails when run on MariaDB 2017-04-14 14:47:07 +02:00
Andrea Boriero 71cfef8338 HHH-11542 - Fix tests 2017-04-14 10:51:57 +02:00
Steve Ebersole 97942914c8 HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions (default methods) 2017-04-14 10:51:57 +02:00
Steve Ebersole db528238d8 HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions 2017-04-14 10:51:57 +02:00
Vlad Mihalcea ca103dcb28 HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions 2017-04-14 10:51:57 +02:00
Andrea Boriero 23aad981a8 HHH-11593 - Remove mockito dependencies from hibernate-testing 2017-04-14 08:44:47 +02:00
Gail Badner 561941c486 HHH-9663 - Fix orphan removal cascade for one-to-one mappings. 2017-04-13 16:25:38 -07:00
Chris Cranford 0677bb365f HHH-9663 - Fix orphan removal cascade for one-to-one mappings. 2017-04-12 23:05:34 -07:00
Chris Cranford 63e6793d8f HHH-9663 - Fix orphan removal cascade for one-to-one mappings. 2017-04-12 23:05:34 -07:00
Chris Cranford 85732409ee HHH-9663 Added test cases. 2017-04-12 23:05:34 -07:00
Gail Badner 19e585bf9d HHH-11499 : Add a new DB2 dialect that uses "cross join" for cross joins instead of "," 2017-04-12 22:09:59 -07:00
Vlad Mihalcea 442bf225c4 HHH-11601 - Fix tests failing on Oracle 2017-04-12 12:15:27 +03:00
Vlad Mihalcea 6a59994b64 HHH-11617 - Statement leak in case of 'SQLGrammarException: could not extract ResultSet'
- increase timeout period as CI servers are rather slow
2017-04-12 07:17:57 +03:00
jvdvTechno 51e92b1715 HHH-11625 - Namespace uses physicalNamingStrategy.toPhysicalCatalogName() for schema name 2017-04-11 17:25:53 +02:00
Andrea Boriero a01b05fdf0 HHH-11625 - Add test for issue 2017-04-11 17:25:53 +02:00
Vlad Mihalcea 1aed1b50f7 HHH-3628 - Hilo optimizer problem in case of multiple threads accessing the sequence table
- replace the Semaphore with two CountDownLatches that shouldd deliver a more predictable outcome
2017-04-11 17:58:44 +03:00
Andrea Boriero eef8a48ce4 HHH-11617 - Statement leak in case of 'SQLGrammarException: could not extract ResultSet' 2017-04-11 17:03:30 +03:00
Yordan Gigov f8570017df HHH-11409 - Bind registered collection types using their type handler 2017-04-11 13:53:56 +03:00
Andrea Boriero e8d7279736 HHH-11596 - @OneToOne association with @JoinTable ignores optional attribute 2017-04-11 12:49:48 +03:00
Andrea Boriero be0a273c7c HHH-11579 - Disable Query parameter validation when a Session is unwrapped from an EntityManager 2017-04-06 16:27:50 +03:00
Vlad Mihalcea c15fa77f0f HHH-11616 - Refactor org.hibernate.jpa.test.lock.LockTest
HHH-8001 - Apply query timeouts to Oracle follow-on locking
2017-04-06 16:02:29 +03:00
Andrea Boriero 68fa5d8f9e HHH-11612 - SINGLE_TABLE associated entity query missing restriction of DiscriminatorColumn - reverting HHH-11375 2017-04-06 11:04:18 +01:00
Andrea Boriero 65f420efec HHH-11602 - Session close counter statistic not updated when using Hibernate in JPA mode 2017-04-06 10:59:24 +01:00
Andrea Boriero 71c11a8d4d HHH-11602 -Add test for issue 2017-04-06 10:59:24 +01:00
Andrea Boriero 5fd186a010 HHH-10654 - Fix mariadb and pgsql failing tests 2017-04-04 19:32:32 +03:00
DrBAXA 19c03e0c5a HHH-10728 - NullPointerException when using CriteriaBuilder.selectCase with CriteriaBuilder.equal 2017-04-04 13:34:37 +03:00
Vlad Mihalcea 2a9c0fe0dd HHH-10654 - LockOptions.SKIP_LOCKED semantics implementation on MSSQL 2017-04-03 08:17:50 +03:00
Vlad Mihalcea ae23ecd937 HHH-11593 - Fix test issues in SQL Server 2017-03-29 17:13:30 +03:00
Vlad Mihalcea e6d2ff4ac4 HHH-11598 - Use the default catalog when scanning the tables for hbm2ddl schema migration 2017-03-28 19:16:40 +03:00
Andrea Boriero 1ce9e24b26 HHH-11591 - Nullable check should not be skipped for OneToOne annotated with @NotFound(action = NotFoundAction.IGNORE) 2017-03-28 11:41:06 +01:00
Andrea Boriero 7a10764d2b HHH-11591 - Add test for issue 2017-03-28 11:40:57 +01:00
Richard Barnes daa48b7db9 HHH-3628 - Hilo optimizer problem in case of multiple threads accessing the sequence table 2017-03-27 12:00:54 +03:00