Commit Graph

6800 Commits

Author SHA1 Message Date
Andrea Boriero a0d6412ca6 HHH-10601 - Fix Persistence.generateSchema - the output file contains duplicated DDL statements 2016-05-12 08:49:49 +01:00
Andrea Boriero 729b03e20b HHH-10601 - Add test for issue 2016-05-12 08:49:38 +01:00
Naros 7b8d785b7c HHH-10706 - Correct native queries that fail when using a case-sensitive database dialect. 2016-05-06 20:16:58 -05:00
Michael Schnell 7236123b0c HHH-1237 Escaping colon in queries 2016-04-26 10:09:43 +03:00
Gustavo Adolfo Rodríguez Libreros 01430c5be1 HHH-9570: Auto-detect SQL Server 2014
Copying a previous workaround for the same issue: https://github.com/hibernate/hibernate-orm/pull/395

- Previously, SQL Server version 12 (SQL Server 2014) was an unknown version, resulting in the SQLServerDialect
- Add version 12 to the switch statement so that SQLServer2012Dialect  is now returned by default, as SQL Server 2014 is much more similar to SQL Server 2012 than SQL Server 2000
- Add test case
- Add Oracle and SQL Server environments for testing purpose
2016-04-25 17:39:51 +03:00
Karel Maesen 7ad1c59876 Updates Spatial Documentation 2016-04-19 08:30:52 +03:00
Karel Maesen 1bd940b47e HHH-10410 - Co-linear points are causing an exception
Problem resolved in geolatte-geom 1.0.2, so upgraded dependency.
2016-04-17 17:06:03 +02:00
Martin Simka 350522b505 [HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest 2016-04-07 10:27:19 +03:00
Martin Simka 3df3e81c5f [HHH-10587] skip NationalizedIgnoreCaseTest on db2 and postgresql(plus) as they don't support nString 2016-04-07 10:10:45 +03:00
Jan Martiska 7769feec25 HHH-10598 - Oracle JDBC driver can't handle entities with a one-character name in some cases 2016-04-06 17:52:16 +03:00
Martin Simka 5a018fce44 [HHH-10588] use H2Dialect in ConnectionsReleaseTest 2016-04-06 17:33:35 +03:00
Danny02 00db5af3db HHH-10612 - Check for support of RefCursor in Java 8 2016-04-06 17:17:00 +03:00
Martin Simka 219ee94ad3 [HHH-10640] fix wrong expected statement on DB2 2016-04-06 16:02:14 +03:00
Vlad Mihalcea de4637d592 Remove Diamond Operator from test cases 2016-04-06 13:25:24 +03:00
Zhenlei Huang 52719397b3 HHH-10649 - When 2LC enabled, flush session and then refresh entity cause dirty read in another session / transaction 2016-04-06 12:49:03 +03:00
Martin Simka a7694b5225 [HHH-10641] Fix identifier is too long exception for test LongVarcharValidationTest 2016-04-05 18:04:58 +03:00
Zhenlei Huang 397d3d7de9 HHH-10652 - The HHH-10631 test makes wrong assertion 2016-04-05 09:34:40 +03:00
Vlad Mihalcea 9570f110a1 User Guide grammatical corrections 2016-03-31 15:33:15 +03:00
Vlad Mihalcea da5aae74e6 Add JPA-related configuration properties in the new User Guide 2016-03-31 12:23:08 +03:00
Vlad Mihalcea 985229f9a7 HHH-10662 - Fix inconsistencies between quoting-related configuration properties JavaDocs and their default values assigned at the code level 2016-03-31 09:09:02 +03:00
Dominique Toupin de6d80a67b HHH-10456: Report the class name were the invalid PrimaryKeyJoinColumn is present 2016-03-30 17:55:05 +03:00
Vlad Mihalcea 849c4d21f6 Document available Hibernate configurations 2016-03-30 17:52:56 +03:00
Sanne Grinovero 86b49a0ce7 HHH-10657 Make 'none' a valid option for hibernate.hbm2ddl.auto 2016-03-30 11:13:32 +01:00
Andrea Boriero 68298bbc45 HHH-10650 - Hibernate SchemaExport does not filter ForeignKey for namespaces and tables 2016-03-30 10:55:59 +02:00
Andrea Boriero add68bbe93 Add mariadb config to be used with gradle processTestResources -Pdb= 2016-03-29 18:06:30 +02:00
yinzara 6036f00781 HHH-10429 - Change SimpleValue isIdentityColumn method to return true if the generator class used extends from IdentityGenerator instead of simply being equal to IdentityGenerator 2016-03-24 07:22:54 +02:00
Martin Simka a634ccebba [HHH-10596] add missing dialect-scope for oracle12c 2016-03-23 11:28:01 +00:00
Andrea Boriero 4c7525d89e HHH-10632 - Fix comment on column missing seperator between table name and column 2016-03-22 18:04:53 +00:00
Andrea Boriero feab5063c6 HHH-10632 - Add test for issue 2016-03-22 18:04:47 +00:00
Vlad Mihalcea 565318067b HHH-9271 - IdentityGenerator broken with quoted identifiers
Use dialect for verifying quoting
2016-03-22 16:49:06 +02:00
Vlad Mihalcea 573518cfc9 Fix test failing on H2 because the table name is a reserved keyword 2016-03-22 16:17:18 +02:00
Vlad Mihalcea 9608b3904a Apply the database configuration testing to the documentation module 2016-03-22 15:16:21 +02:00
Vlad Mihalcea c62c367957 HHH-9271 - IdentityGenerator broken with quoted identifiers 2016-03-22 12:29:45 +02:00
Vlad Mihalcea 11c74b4ebb Fix import issue. Instead of jpamodelgen, the TestForIssue annotation should be loaded from testing. 2016-03-22 11:10:09 +02:00
mdebeljuh 7aea8a60e9 HHH-10633 - JPA 2.1 Named Entity Graph in ORM XML loaded without subgraph
Process subgraphs and subclassSubgraphs concomitantly
2016-03-22 07:13:08 +02:00
Zhenlei Huang 66d2436759 HHH-10631 - Auto evict collection cache not work when owner side update parent to null 2016-03-21 15:59:31 +02:00
Vlad Mihalcea 5799aae2e5 HHH-7412 - JDBCTransactionFactory.getDefaultReleaseMode() returns incorrect ConnectionReleaseMode
Switch back to AFTER_TRANSACTION for JDBC transactions.
2016-03-21 09:30:56 +02:00
Janario Oliveira 732abea8e5 HHH-10614 - Auto evict collection cache throws exception with null values 2016-03-16 12:27:07 +02:00
Vlad Mihalcea 0ed39c7746 Change hibernate.properties to take configurable environment settings 2016-03-16 09:30:29 +02:00
Vlad Mihalcea ec4f20a5fb Remove @NotNull annotation that was imported from com.sun.istack.iternal which triggers a compilation failure on OpenJDK 2016-03-14 17:53:00 +02:00
Vlad Mihalcea 5b61df9591 HHH-9306 - Wrong DDL generated by hibernate when using MappedSuperclass containing ManyToMany relation
Add a test to prove that the issue does not replicate anymore.
2016-03-14 16:46:09 +02:00
Janario Oliveira 4546cc698a HHH-10592 - Query with literal parameter and fails with attribute converter 2016-03-14 14:08:05 +02:00
Janario Oliveira 7232b7ccd5 HHH-10608 - Avoid exception from Hibernate.initialize when lazy_no_transaction is enabled 2016-03-14 10:29:56 +02:00
Gail Badner bdb458a609 HHH-10269 : JDBC Statement is not closed if exception appeared during query execution 2016-03-11 13:55:19 -08:00
Steve Ebersole 3e00630808 HHH-9693 - H2 : Hibernate cannot validate it's own created schema 2016-03-11 09:06:35 -06:00
Vlad Mihalcea 0756bbfccf HHH-4161 - persistence.xml <jar-file> not following JSR220 spec
Switch to an OS-independent  way of checking absolute paths
2016-03-10 15:21:03 +02:00
Gail Badner 1c2107899a HHH-10556 : Failure getting a PluralAttributePath for collection declared in a superclass marked @Entity 2016-03-09 16:53:13 -08:00
Gail Badner 4a54c911c1 HHH-10556 : Failure getting a PluralAttributePath for collection declared in a superclass marked @Entity 2016-03-09 16:53:13 -08:00
Janario Oliveira 0385b1436a HHH-10602 - Retrieve cached value with enable_lazy_load_no_trans throws an exception 2016-03-09 14:47:11 +02:00
Vlad Mihalcea cf27164532 Roll back change that slipped from the User Guide-related changes 2016-03-09 14:00:28 +02:00