Commit Graph

2992 Commits

Author SHA1 Message Date
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 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
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
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 c62c367957 HHH-9271 - IdentityGenerator broken with quoted identifiers 2016-03-22 12:29:45 +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
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
Vlad Mihalcea 68af365916 Convert basic chapter examples to unit tests for quoting, column transformers, and @Any mappings 2016-03-09 12:50:12 +02:00
k abram 2aed1fd6b1 HHH-10549 - Hibernate incorrectly applies Converters with autoApply=true to subclasses 2016-03-09 07:36:57 +02:00
Vlad Mihalcea 009d8813db HHH-10593 - Avoid NullPointerException with auto_evict_collection_cache and many-to-many
Cherry pick from Janoiro PR
2016-03-08 16:44:21 +02:00
Janario Oliveira 8b181857a6 HHH-10593 - Avoid NullPointerException with auto_evict_collection_cache and many-to-many
Added verification to many-to-many relation
2016-03-08 16:29:08 +02:00
bdragan 54c2586a01 Fixed HHH-10517: ClassCastException using Restrictions.in with child
classes in Criteria based on parent class.
2016-03-08 15:24:00 +02:00
Vlad Mihalcea fe247985f2 Fix new line issues that were causing some tests to fail on Windows OS 2016-03-08 11:11:31 +02:00
Gail Badner 3f37fff04a HHH-10563 : Significant String use/duplication associated with subselect fetch 2016-03-07 18:08:52 -08:00
Gail Badner b053116bb4 HHH-10563 : Add trace logging of generated SubselectFetch query string 2016-03-07 15:32:00 -08:00
Steve Ebersole 65886c045e HHH-10277 - AttributeConverter not applied to attributes of an embeddable used as collection element 2016-03-03 18:12:38 -06:00
Gail Badner 5e30c2bf16 HHH-10576 : Correct association in CascadeMergeToChildBeforeParentTest 2016-02-29 22:57:42 -08:00
barreiro c5104601e1 HHH-10554 - Fix NPE in dirty tracking generated code of bytecode enhanced @Embeddable entities 2016-02-26 11:49:54 -06:00
Steve Ebersole a69b485d1b HHH-10564 - EntityManager.find() broken for MySQL and UUID 2016-02-26 11:48:52 -06:00
Andrea Boriero d65445194d HHH-10533 - Fix ORM tries to create a unique constraint on a non existing table 2016-02-26 12:41:14 +00:00
Andrea Boriero dc07f44629 HHH-10553 - add test for issue 2016-02-26 12:41:13 +00:00
Gail Badner bdfe38b0c6 HHH-10567 : Wrong table for formula if its property is mapped on a secondary table 2016-02-25 19:48:53 -08:00
Steve Ebersole f076b5823c HHH-10499 - Can't set ConnectionProvider instance, regression 2016-02-24 22:05:49 -06:00
Steve Ebersole 020ca4aa39 HHH-7405 - BatchBuilder service does not properly define JMX MBean 2016-02-23 07:09:17 -06:00
Steve Ebersole a5cbe326d6 HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass 2016-02-22 16:36:05 -06:00
Guillaume Smet d0a036c536 HHH-10538 Fix the javadoc of TableInformation.getIndex(Identifier indexName) 2016-02-17 15:36:01 +01:00
Steve Ebersole 0fccf6b7bd HHH-10528 - use_nationalized_character_data global property is ignored 2016-02-16 09:35:54 -06:00
Andrea Boriero 409c5424a0 HHH-10529 - Fix SQLServer2008Dialect generate incorrect length of nvarchar 2016-02-15 14:45:53 +00:00
Andrea Boriero d4772107f0 HHH-10529 - Add test for issue 2016-02-15 14:45:25 +00:00
Andrea Boriero e09a9f9aca HHH-10521 - Fix Java 6 not compliant tests 2016-02-12 14:42:51 +00:00
Radim Vansa aaf13cd123 HHH-9993 IsolationDelegate: add method to execute code without obtaining a connection 2016-02-10 10:57:53 -06:00
Gail Badner b5a86ea45c HHH-5855 : checkstyle corrections 2016-02-10 00:10:52 -08:00
Gail Badner efa72a8333 HHH-5855 : Merge causes a duplicated "insert" of a child entity in lazy collection 2016-02-09 23:33:50 -08:00
Steve Ebersole 177bbfe5e3 HHH-10345 - HHH-3422 still a problem with oracle 2016-02-09 22:35:12 -06:00
Steve Ebersole 13bbddfd30 HHH-9548 - Allow propagation of NULL for stored-procedure argument parameters to database 2016-02-09 16:08:59 -06:00
Andrea Boriero 19d86c3d65 HHH-10484 - MySQLDialect override Dialect#isJdbcLogWarningsEnabledByDefault() to return false 2016-02-09 21:33:54 +00:00
Andrea Boriero 624ddc620b HHH-10484 - Add Dialect#isJdbcLogWarningsEnabledByDefault() method, the return value is true 2016-02-09 21:33:54 +00:00
Andrea Boriero 1a1523db44 HHH-10484 - Add hibernate.jdbc.log.warnings configuration property 2016-02-09 21:33:54 +00:00
Steve Ebersole 0a2a709f9e HHH-10458 - Better encapsulate SchemaManagementTool (OGM) - unify JPA schema generation and hbm2ddl capabilities;
HHH-10487 - Add @Incubating annotation
2016-02-09 11:45:46 -06:00
Steve Ebersole 17de173cb5 HHH-10458 - Better encapsulate SchemaManagementTool (OGM) - unify JPA schema generation and hbm2ddl capabilities;
HHH-10487 - Add @Incubating annotation
2016-02-09 11:45:46 -06:00
Andrea Boriero eea9a943b3 HHH-10507 - Hibernate core test removing usage of Java 8 methods 2016-02-09 17:00:27 +00:00
Andrea Boriero 57b32543ed HHH-7973 - Fix String literals in an HQL query can get mangled 2016-02-09 15:27:54 +00:00
Andrea Boriero 9c75e79bc9 HHH-7973 - Add test for issue 2016-02-09 15:27:29 +00:00
Gail Badner 1e470f9e4d HHH-10474 : Skip SchemaUpdateFormatterTest.testSetFormat unless H2Dialect 2016-02-08 23:40:18 -08:00
Martin Simka 9b80aa1d6e [HHH-10473] skip NationalizedLobFieldTest on databases that don't support nclob 2016-02-08 22:50:56 -08:00
Steve Ebersole 62276504f7 fixed bad test code 2016-02-08 16:21:10 -06:00
Steve Ebersole f4b5f2c649 HHH-16 - Explicit joins on unrelated classes
HHH-7321 - HQL: Combining a CROSS JOIN with a LEFT JOIN which requires a  WITH clause triggers an exception.
2016-02-08 15:53:52 -06:00
Oliver Breidenbach 008c2dc409 HHH-9375 - bugfix suggestion 2016-02-08 11:17:11 +00:00
Maxime Falaize b8a3774cb4 HHH-9411 : Fix downcast of treat statement. 2016-02-06 16:12:28 +02:00
Andrea Boriero 4fb11c9919 HHH-9635 - Fix SQLServer2005Dialect (and above) does not support read past locking 2016-02-05 15:07:07 +00:00
Andrea Boriero 034afb96bf HHH-9635 - Add test for issue 2016-02-05 15:00:36 +00:00
cranforc 8ff853e133 HHH-8657 - Case insensitivity on Nationalized column yields incorrect SQL
HHH-8657 - Case insensitivity on Nationalized column yields incorrect
SQL
2016-02-04 15:07:16 +00:00
Andrea Boriero 7dec9f83e2 HHH-7705 - Fix Query.setProperties(Map) silently ignores null values provided in the Map 2016-02-04 14:22:44 +00:00
Andrea Boriero 5711c3ce6c HHH-7705 - Add test for issue 2016-02-04 14:22:44 +00:00
Andrea Boriero 4d3259a201 HHH-10495 - Fix Oracle10gDialect generate nvarchar when using @Nationalized 2016-02-04 14:14:37 +00:00
Andrea Boriero 4207882292 HHH-10495 - Add test for issue 2016-02-04 14:13:49 +00:00
Koen Aers ff3b54a962 HHH-10430: Comment for class is ignored when using subselect in hibernate mapping - Solution 2016-01-29 15:13:49 +00:00
Koen Aers fd21be8705 HHH-10430: Comment for class is ignored when using subselect in hibernate mapping - Test demonstrating the issue 2016-01-29 15:13:49 +00:00
Steve Ebersole c5e6faeb3f HHH-10402 - Hibernate maps enum types as tinyblob even when @Enumeration(EnumType.ORDINAL) is specified 2016-01-28 11:14:46 -06:00
Andrea Boriero 5e5ae9dacb HHH-9286 - Add CustomType implements ProcedureParameterExtractionAware 2016-01-27 17:30:02 +00:00
Andrea Boriero a339ebd8a9 HHH-9286 - Add CustomType implements ProcedureParameterNamedBinder 2016-01-27 16:40:49 +00:00
Andrea Boriero 9567d9af76 HHH-9286 - Modify AbstractParameterRegistrationImpl#prepare(CallableStatement statement, int startIndex) to use ProcedureParameterNamedBinder#nullSafeSet(...) 2016-01-27 16:40:48 +00:00
Andrea Boriero f6c45ad11c HHH-9286 - Add BasicBinder#bind(CallableStatement st, J value, String name, WrapperOptions options) method 2016-01-27 16:40:48 +00:00
Andrea Boriero 22dc33ff79 HHH-9286 - AbstractStandardBasicType implements ProcedureParameterNamedBinder 2016-01-27 16:40:48 +00:00
Andrea Boriero 2a43387081 HHH-9286 - Add ProcedureParameterNamedBinder interface 2016-01-27 16:40:48 +00:00
Andrea Boriero 08b294b49d HHH-9286 - Oracle10gDialect override registerResultSetOutParameter(CallableStatement statement, String name) and getResultSet(CallableStatement statement, String name) 2016-01-27 16:40:06 +00:00
Andrea Boriero 8a34206fe0 HHH-9286 - Oracle10gDialect override Dialect#Oracle10gDialect#getResultSet(CallableStatement statement, int position) 2016-01-27 16:40:06 +00:00
Andrea Boriero 418b7fe926 HHH-9491 - Remove columnDefinition method ref from {@link javax.persistence.JoinColumn} and {@link javax.persistence.Column} causing Javadoc generation failure 2016-01-27 12:17:27 +00:00
Steve Ebersole 90f4fd9d55 HHH-10345 - HHH-3422 still a problem with oracle 2016-01-26 16:35:04 -06:00
Steve Ebersole 4e36781b42 HHH-9491 - Add support to opt columnDefinitions out of globally-quoted-identifiers 2016-01-25 22:16:50 -06:00
Steve Ebersole bb109139e8 HHH-10446 - Comment delimiters not "escaped" within (VAR)CHAR literals within native queries 2016-01-25 20:54:59 -06:00
Steve Ebersole 95ed41b445 HHH-7572 - Develop API for load-by-multiple-ids 2016-01-25 13:12:45 -06:00
Andrea Boriero 43db914f0d HHH-10451 - Fix Add table comment to 'create table...' statement 2016-01-25 18:02:55 +00:00
Andrea Boriero 8e32162cab HHH-10451 - Fix generation of 'comment on table ... ' and 'comment on column' statements 2016-01-25 18:02:31 +00:00
Andrea Boriero 53872de0fd HHH-10451 - Add test for issue 2016-01-25 17:39:46 +00:00
Steve Ebersole 7881e358f5 HHH-10303 - Reinstate legacy bytecode-enhancement Ant task 2016-01-25 10:49:13 -06:00
Steve Ebersole af2d642cf6 HHH-9876 - Ability to filter objects from Database for schema tooling 2016-01-25 10:18:27 -06:00
Steve Ebersole abb2b077b9 HHH-9876 - Ability to filter objects from Database for schema tooling 2016-01-25 09:29:38 -06:00
vladmihalcea dc991d29d9 Cherry pick spelling corrections from https://github.com/hibernate/hibernate-orm/pull/1238 2016-01-25 11:36:25 +02:00
Marcus 2fdbeb8db6 HHH-9876 - Ability to filter objects from Database for schema tooling. 2016-01-24 17:48:41 -06:00