Commit Graph

3279 Commits

Author SHA1 Message Date
Andrea Boriero 44efc0162e Fix error causing ClearEventListenerTest failure 2016-05-06 13:12:34 -05:00
Chris Cranford d34153f52e FIx setProperties functionality. 2016-05-06 13:12:34 -05:00
Chris Cranford 713263a71c Fix SuppliedConnectionTest failure. 2016-05-06 13:12:34 -05:00
Steve Ebersole ebfab98f2e HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:34 -05:00
Andrea Boriero d9ac176989 Fix for TuplizerDynamicEntityTest and ImprovedTuplizerDynamicEntityTest 2016-05-06 13:12:34 -05:00
Chris Cranford 16b0b74bd2 Fixed assertion errors and session.merge returning correct exceptions. 2016-05-06 13:12:34 -05:00
Chris Cranford 4e2f0f804d Fix typo 2016-05-06 13:12:33 -05:00
Chris Cranford 9076c78785 Fix TransactionRequiredException failures. 2016-05-06 13:12:33 -05:00
Andrea Boriero a9ffd13efb Fix SessionEventListenerManager serialization issue 2016-05-06 13:12:33 -05:00
Steve Ebersole 63e96a46ce HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:33 -05:00
Chris Cranford a340d11eea Fixed exception handling to expect IllegalArgumentException rather than QueryExceptioin 2016-05-06 13:12:33 -05:00
Andrea Boriero 4b2e96c6e9 Fix SecondaryTableTest 2016-05-06 13:12:33 -05:00
Andrea Boriero 7b107539db Fix BasicHibernateAnnotationsTest 2016-05-06 13:12:33 -05:00
Andrea Boriero d67db86f73 Fix EmbeddableIntegratorTest 2016-05-06 13:12:33 -05:00
Steve Ebersole 59ed7fa29b HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:33 -05:00
Andrea Boriero 5c5de945e5 HHH-10664 - Fix SortedSet issue 2016-05-06 13:12:33 -05:00
Chris Cranford b4b158aaff Fixed missing bound parameters not throwing QueryException 2016-05-06 13:12:33 -05:00
Chris Cranford 993e308e96 Fixed query-based read-only support during iteration. 2016-05-06 13:12:33 -05:00
Steve Ebersole 76bac3268a HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:33 -05:00
Andrea Boriero 34b439223e Fix ConfigurationTest 2016-05-06 13:12:32 -05:00
Andrea Boriero a0da5fe677 Fix some tests 2016-05-06 13:12:32 -05:00
Steve Ebersole e3ab793fe8 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures) 2016-05-06 13:12:32 -05:00
Steve Ebersole 87e3f0fd28 HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core) 2016-05-06 13:12:32 -05:00
Steve Ebersole 774b805ce1 initial HEM->CORE consolidation work 2016-05-06 13:11:18 -05:00
Dominique Toupin 15c83ab61b HHH-10332 - Disambiguate missing table name 2016-04-28 17:42:04 +03:00
Andrej Golovnin 58303884bd HHH-10382 - GetterFieldImpl creates unnecessary objects 2016-04-28 11:16:48 +03:00
Kirill Vlasov 2d8e9d66e2 Fixing squid:S2259 - Null pointers should not be dereferenced 2016-04-27 17:29:36 +03:00
Michael Schnell b3e260b234 HHH-1237 Escaping colon in queries 2016-04-26 10:08:54 +03:00
Gustavo Adolfo Rodríguez Libreros 5c724307c7 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:57:06 +03:00
Martin Simka 3152bb0ffb [HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest 2016-04-07 10:21:06 +03:00
Martin Simka 18dd88c957 [HHH-10587] skip NationalizedIgnoreCaseTest on db2 and postgresql(plus) as they don't support nString 2016-04-07 10:01:34 +03:00
Jan Martiska 78685964ec HHH-10598 - Oracle JDBC driver can't handle entities with a one-character name in some cases 2016-04-06 17:44:53 +03:00
Martin Simka e591b70cf7 [HHH-10588] use H2Dialect in ConnectionsReleaseTest 2016-04-06 17:29:18 +03:00
Danny02 3e959005ed HHH-10612 - Check for support of RefCursor in Java 8 2016-04-06 16:54:38 +03:00
Martin Simka e861182f19 [HHH-10640] fix wrong expected statement on DB2 2016-04-06 15:58:29 +03:00
Zhenlei Huang cbdab9d87f HHH-10649 - When 2LC enabled, flush session and then refresh entity cause dirty read in another session / transaction 2016-04-06 12:40:47 +03:00
Martin Simka a68a6c6770 [HHH-10641] Fix identifier is too long exception for test LongVarcharValidationTest 2016-04-05 17:58:25 +03:00
Zhenlei Huang 7c75a92db4 HHH-10652 - The HHH-10631 test makes wrong assertion 2016-04-05 09:23:44 +03:00
Steve Ebersole fa0db89f7f HHH-10664 - Prep 6.0 feature branch - merge hibernate-java8 into hibernate-core 2016-03-31 12:27:52 -05: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
Guillaume Smet d71f931429 HHH-7610 Add an option to initialize empty components when all the properties are null
Note that this commit also changes the semantic of the comparison between a null component
and a component with all properties null: they are considered equivalent.
2016-01-24 18:05:22 +01:00
Steve Ebersole 039382e8be cleaned up JdbcMocks in test sources and moved it to hibernate-testing 2016-01-23 12:59:03 -06:00
Steve Ebersole 6076298ce9 HHH-8706 - Delay registering of the entity listener class as long as possible 2016-01-22 19:17:06 -06:00
Steve Ebersole a5e65834a1 HHH-9548 - Allow propagation of NULL for stored-procedure argument parameters to database 2016-01-19 15:47:36 -06:00
Andrea Boriero 653cf910fa HHH-10401 - Fix Missing table names on foreign key circularity error message 2016-01-14 09:55:37 +00:00
Steve Ebersole ef23be0e62 HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass 2016-01-13 12:29:25 -06:00
Steve Ebersole 6c7f3ef25b HHH-9485 - Duplicate Property with AccessType.PROPERTY and MappedSuperclass 2016-01-13 12:29:25 -06:00
Andrea Boriero d35e29dc29 HHH-10433 - Fix hbm2ddl utils has a problem - release jdbc connection 2016-01-13 17:38:05 +00:00
Andrea Boriero 977c34bb59 HHH-10433 - Add test for issue 2016-01-13 17:37:56 +00:00
Steve Ebersole debc06d54e HHH-10422 - Backport HHH-9983 to fix identity IDs using Oracle12cDialect in 5.0 2016-01-13 11:31:29 -06:00
Sergey Astakhov 1ddcc7075f HHH-9474 Fixing perfomance issue with ElementCollection 2016-01-13 15:02:27 +00:00
Jaikiran 536b814dc8 HHH-10439 Log a message while executing the import script(s) 2016-01-13 14:31:08 +00:00
Steve Ebersole 5c77f279af HHH-4161 - persistence.xml <jar-file> not following JSR220 spec 2016-01-12 15:22:19 -06:00
Andrea Boriero 8670b4211e HHH-10385 HHH-10386 - Fix the @JoinColumn foreignKey is not taken into consideration when generating the association database schema 2016-01-12 18:57:14 +00:00
Andrea Boriero 504dd8353d HHH-10385 HHH-10386 - Add tests for issues 2016-01-12 18:53:58 +00:00
Andrea Boriero 5b42faa134 HHH-10437 - Fix NPE in PrimaryKey#addColumn(Column column) when getTable().getNameIdentifier() is null 2016-01-12 16:45:46 +00:00
Andrea Boriero a4dbbf447d HHH-10437 - Add test for issue 2016-01-12 16:45:46 +00:00
Steve Ebersole fd1ff34f03 HHH-5932 Fix filtering request with string literal starting with ':' (checkstyle fix) 2016-01-11 17:32:28 -06:00
Steve Ebersole a35abf43e9 HHH-9342 - HQL "x member of treat(y as Type).collections" fails to parse 2016-01-11 16:32:58 -06:00
Etienne Miret e2b58d1d20 HHH-5932 Fix filtering request with string literal starting with ':'. 2016-01-11 12:08:31 -06:00
Etienne Miret f52b841c5c HHH-5932 Add test case. 2016-01-11 12:08:31 -06:00
Etienne Miret 446aa84429 HHH-9357 Fix type() with joined inheritance and discriminator column.
Conflicts:
	hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
2016-01-09 22:26:37 -05:00
Etienne Miret ea64e67495 HHH-9357 Add test case for this issue. 2016-01-09 22:25:12 -05:00
Etienne Miret ea2d26e92e HHH-9356 Add a bunch of tests.
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/convert/QueryTest.java
2016-01-09 21:57:22 -05:00
Etienne Miret 17e5f536bf HHH-9356 All arguments of a between are now given the same expected type. 2016-01-09 21:53:44 -05:00
Steve Ebersole abace003e6 HHH-5184 - Create a ConnectionAcquisitionMode as corollary to ConnectionReleaseMode 2016-01-08 13:41:16 -06:00
Steve Ebersole b1d1a3c143 HHH-10307 - JTA no longer transitively provided (HHH-10178) causes problems for apps not using JTA 2016-01-08 11:12:58 -06:00
Andrea Boriero 3d237f67ba HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Refactoring 2016-01-08 11:39:26 +00:00
Koen Aers 9e89826f8f HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Solution 2016-01-08 11:39:26 +00:00
Koen Aers e9834f4810 HHH-10405: <return> elements of <sql-query> are not handled properly when building metadata - Unit test demonstrating the issue 2016-01-08 11:39:25 +00:00
Andrea Boriero 3fb9577e50 HHH-10425 - Fix SchemaMigration creates foreign keys too early if across schema 2016-01-07 14:30:31 +00:00
Andrea Boriero df362e4568 HHH-10425 - Add test for issue 2016-01-07 14:29:49 +00:00
Andrea Boriero 96b8a31b18 HHH-10420 - Fix SchemaExport creates foreign keys too early if across schema 2016-01-07 11:07:14 +00:00
Andrea Boriero f6f9965133 HHH-10420 - Add test for issue 2016-01-07 11:07:14 +00:00
Gail Badner 6df1dccc05 HHH-10421 : Change "native" ID generator for Oracle12cDialect to SequenceStyleGenerator 2016-01-06 15:36:06 -08:00
Emmanuel Bernard 0c38cfc9d7 HHH-10419 Detect if the user inappropriately left @Convert.converter to void 2016-01-06 15:02:38 +01:00
Emmanuel Bernard bb7cb7636b HHH-10419 Factor converter instantiation exception error logic 2016-01-06 14:55:43 +01:00
Jan Martiska e65a883761 HHH-10395 ServiceBootstrappingTest assumes that show_sql != true 2015-12-21 16:32:34 -08:00
Yoann Rodière 0dea233ce3 HHH-10191 Fixed exceptions when a functional index exists. 2015-12-21 14:50:46 -08:00
Yoann Rodière be94481e33 HHH-10191 test case 2015-12-21 14:50:46 -08:00
Gail Badner 4c6941190a HHH-10383 : IN parameter is not enclosed in parenthesis 2015-12-21 13:26:10 -08:00
Andrea Boriero cb0729b59f HHH-10396 - Fix In a @OneToMany association with @JoinColum the @ForeignKey is not taken into consideration when generating the association database schema 2015-12-21 13:10:07 +00:00
Andrea Boriero 14c97f0b5b HHH-10396 - Add tests for the issue 2015-12-21 13:10:07 +00:00
Scott Marlow 96d4639e6c HHH-10384 Fix thread safety issues in thread local optimiser 2015-12-18 10:05:50 -05:00
Stuart Douglas bef14a5890 HHH-10384 Fix thread safety issues in thread local optimiser 2015-12-18 10:05:50 -05:00
barreiro 268a1eaa22 HHH-10252 - Trigger the lazy loading of cascading attributes 2015-12-16 15:07:13 -06:00
barreiro 601bdaa678 HHH-10252 - Add test case 2015-12-16 15:07:13 -06:00
Andrej Golovnin 328fa2363a HHH-10363 - The Cascade class makes unnecessary calls to the Reflection
API.
2015-12-16 15:01:01 -06:00
Steve Ebersole 153b8f26cc HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking 2015-12-16 14:38:01 -06:00
barreiro 6828f5ee9b HHH-10354 - Rename 'field access' to 'extended enhancement' 2015-12-16 13:56:56 -06:00
Steve Ebersole 20ebd8f5ca HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking 2015-12-16 13:49:31 -06:00
Scott Marlow 0c358d80f6 HHH-10381 - Introduce a ThreadLocal-based pooled-lo optimizer to avoid locking 2015-12-16 13:03:40 -06:00
Torsten Schöne fe48897692 HHH-10353 Interceptor.afterTransactionBegin() is not fired 2015-12-16 12:19:58 -06:00
Karl von Randow 828a83dcbf HHH-10286 SessionFactoryImpl doesn't cache and reuse existing collection cache region access strategies 2015-12-16 12:08:37 -06:00
Eskil Bylund 5cc2175033 Fix missing parenthesis around composite properties in WHERE clauses
The currentClauseType field would not be correct if the query contained a
subquery.

Signed-off-by: Andrea Boriero <andrea@hibernate.org>
2015-12-16 10:48:30 +00:00
Andrea Boriero aefdda0978 HHH-10298 - Add new configuration type hibernate.hbm2dll.extra_physical_table_types 2015-12-15 16:48:12 +00:00
Andrea Boriero c7b8f73b46 HHH-10298 - Add test 2015-12-15 16:17:44 +00:00
Andrea Boriero 57975b98e4 HHH-10364 - Fix HSQL does not support Nationalized annotation 2015-12-15 15:31:43 +00:00
Andrea Boriero d63f25bab6 HHH-10364 - Add test for issue 2015-12-15 15:31:18 +00:00
Gail Badner c767b0ed15 HHH-9764 : StaleObjectStateExceptions raising outside flush context 2015-12-14 13:40:43 -08:00
Guenther Demetz 840d906cea Testcase for HHH-9764
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/cache/CollectionCacheEvictionTest.java
2015-12-14 13:40:43 -08:00
Ståle W. Pedersen a679528f71 HHH-10366 Check for trace logging before calling log method and unused method parameters 2015-12-14 17:52:27 +00:00
Sanne Grinovero c1cb413c2a HHH-10358 Make sure synchronization on AbstractLoadPlanBasedLoader is skipped when the guarded feature is disabled 2015-12-14 16:16:54 +00:00
Gail Badner 0a332c2e8d HHH-10369 : Unit test failure because Sybase trims trailing spaces
(cherry picked from commit 971783607e)
2015-12-08 18:29:34 -08:00
Gail Badner a7dac8fcf9 HHH-10368 : Unit test failure because Sybase does not support binding an untyped null object
(cherry picked from commit 0582dc1e8e)
2015-12-08 17:10:25 -08:00
Gail Badner c5120b0b19 HHH-10367 : Fix more DB reserved words used by tests
(cherry picked from commit 60625b19b2)
2015-12-08 16:44:58 -08:00
Andrea Boriero b33c6d4357 HHH-10366 - Fix checkstyle error 2015-12-08 18:13:09 +00:00
Ståle W. Pedersen c802042f1a HHH-10366 Improve performance and reduce CPU load when fetching reference cached objects
Removed a call to postLoad and afterInitialize for reference cached entities;
refactor methods, made some private, some final
try to optimize cached result
refactor out getPersister so it can be inlined
2015-12-08 16:55:58 +00:00
Andrea Boriero 4b4164f8e0 HHH-10331 - Fix HSQLDialect returns supportsTupleDistinctCounts false which seems wrong 2015-12-08 10:55:49 +00:00
Bobo Häggström 86c0746c0b HHH-10343 Fixed precision and scale for elements of basic types in persistent collections 2015-12-07 09:48:46 +00:00
Koen Aers 3267a9221f HHH-10158: SchemaUpdate does not properly support formatter and delimiter anymore 2015-12-04 18:33:26 +01:00
Koen Aers 71765d7bd2 HHH-10223: Element 'query-param' in *.hbm.xml files causes ClassCastException 2015-12-03 14:59:04 +01:00
Andrea Boriero 0638a5449c HHH-1122 - Fix hbm2ddl.SchemaUpdate has no delimiter 2015-12-03 09:56:43 +00:00
Andrea Boriero 6f985e2fa1 HHH-1122 - Add test for issue 2015-12-03 09:53:35 +00:00
Gail Badner 32b4087efc HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit 9858d29b56)
2015-12-02 16:34:31 -08:00
Andrea Boriero 6cdfd93bec HHH-10291 - Fix Partially generated composite attribute is not retrieved after insert 2015-12-02 16:31:10 +00:00
Steve Ebersole 8961937bbc HHH-10313 - Make SessionImplementor extend WrapperOptions 2015-11-30 11:24:06 -06:00
Steve Ebersole 704671e17d HHH-10313 - Make SessionImplementor extend WrapperOptions
(cherry picked from commit 052aad0ed4)
2015-11-30 11:14:45 -06:00
Andrea Boriero b25481ed75 HHH-10302 - checkstyle fix 2015-11-26 17:32:31 +00:00
Sanne Grinovero f0f544472c HHH-10302 Extract helper method for LoadEvent reuse and adapt code formatting to Hibernate style 2015-11-26 16:11:47 +00:00
Stuart Douglas 85db76431c HHH-10302 Cache the LoadEvent and PostLoadEvent to reduce allocations 2015-11-26 15:39:45 +00:00
Stuart Douglas f4e58d342d HHH-10301 Don't allocate a new List if it is not required 2015-11-26 15:26:34 +00:00
Andrea Boriero 2e8d52e654 HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers 2015-11-26 14:59:41 +00:00
Andrea Boriero ca9e0424b4 HHH-9302 - SQLGrammarException with @DiscriminatorColumn in an inheritance hierarchy 2015-11-26 13:18:28 +00:00
Andrea Boriero 4776ff0913 HHH-9302 - Add test for issue 2015-11-26 13:18:28 +00:00
Stuart Douglas 17b9a06d6d HHH-10314 Don't create the batch fetch queue to remove entities, as a null queue cannot contain the entity 2015-11-26 12:17:57 +00:00
Gail Badner 24841e4e59 HHH-10328 : Unit test failure due to database identifier too long
(cherry picked from commit 24ee708de7)
2015-11-24 20:58:02 -08:00
Gail Badner 45f8d2f830 HHH-10327 : Unit test failures due to date/time precision mismatches
(cherry picked from commit a2026c3ad0)
2015-11-24 17:49:54 -08:00
Gail Badner 157f24d7e2 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit d8f57877f2)
2015-11-24 14:18:05 -08:00
Gail Badner e032ac6793 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit ae91c8722a)
2015-11-24 13:59:23 -08:00
Gail Badner 8552b84ae5 HHH-10327 : Unit test failure on Oracle due to DATE mismatches
(cherry picked from commit 34dd9d186b)
2015-11-24 13:59:14 -08:00
Gail Badner 38b8074c55 HHH-10322 : Test failures due to function name differences by dialect
(cherry picked from commit 377ba9a8c0)
2015-11-23 17:18:53 -08:00
Gail Badner 27f04f155d HHH-10320 : Unit test failures due to feature tested that is not supported by database
(cherry picked from commit cd581f8dfd)
2015-11-23 12:16:19 -08:00
Gail Badner 710cf4fee1 HHH-10296 : Fix more DB reserved words used by tests
(cherry picked from commit cfbc0036f0)
2015-11-23 11:51:14 -08:00
Gail Badner 104635ba1f HHH-10296 : Fix more DB reserved words used by tests 2015-11-20 23:01:19 -08:00
Gail Badner d5017c339c HHH-10312 : Unit test failures due to DB problems interpreting proper type for null value when bound to a query
(cherry picked from commit 519ba7175f)
2015-11-20 18:57:41 -08:00
Gail Badner d5fb3761c6 HHH-10311 : Primary key length used in unit test is too long for DB2
(cherry picked from commit 439dab82d0)
2015-11-20 14:35:39 -08:00
Gail Badner 780c7c2fb6 HHH-10308 : Don't make deep copy of property with AttributeConverter if Java type is known to be immutable 2015-11-20 11:47:55 -08:00
Steve Ebersole 1183a4719d HHH-10309 - HHH-10242 is too aggressive in cases of FIELD access 2015-11-20 12:50:14 -06:00
Andrea Boriero f8fc15841a HHH-10304 - ImplicitCompositeKeyJoinTest#testImplicitCompositeJoin fails due to dialect-specific differences in generated SQL string 2015-11-19 15:50:38 +00:00
Andrea Boriero 534cd7dae8 HHH-10275 - Fix Inverse foreign key for many-to-many set is nullable 2015-11-18 17:16:41 +00:00
Gail Badner ccc99c690f HHH-10297 : Cache HashMap in AbstractRowReader instead of re-creating for each row that is read 2015-11-17 21:48:39 -08:00
Steve Ebersole 57401b9aa8 HHH-1689 - Support subqueries in HQL as CASE statement alternatives;
SQM-30 - test
2015-11-17 19:21:58 -06:00
Steve Ebersole caf902dde9 HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-17 15:31:11 -06:00
Ståle W. Pedersen da4593de1b HHH-10289 - CPU performance regression in StatefulPersistenceContext.addEntry() 2015-11-17 11:29:10 -06:00
barreiro 1568f89426 HHH-9529 - [enhancer] check that the field being accessed belongs to the entity being enhanced 2015-11-17 10:34:24 -06:00
Steve Ebersole 4793ca30a2 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-11-17 10:21:58 -06:00
Gail Badner b4dbb90f17 HHH-10161 : Hibernate ignores return value from javax.persistence.Parameter#getParameterType() 2015-11-16 22:30:09 -06:00
Selaron b1e4fc1ae4 HHH-10181 - CacheableFileXmlSource.doBind uses obsolete .bin file
Check for obsolete cache file during runtime of doBind(..) instead of
CacheableFileXmlSource instantiation only. Subsequent calls of doBind on
a given CacheableFileXmlSource instance should detect that cache file is
fresh and make use of it.
2015-11-16 22:11:51 -06:00
Steve Ebersole 5e87397902 HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-16 22:04:07 -06:00
Gail Badner 54a8b96251 HHH-10273 : Explicitly put column/table names that are DB2 keywords in quotes
(cherry picked from commit 642d42dc92)
2015-11-16 18:31:15 -08:00
Steve Ebersole 1e44e7420b HHH-10267 - Support defining lazy attribute fetch groups 2015-11-16 15:43:11 -06:00
Andrea Boriero 6afc759bf3 HHH-10288 - Temporary table support is broken using PostgresPlusDialect 2015-11-16 12:17:47 +00:00
Andrea Boriero 1cc67e3983 HHH-10293 - Schema Update - Single table Inheritance with bi-directional OneToMany referencing superclass fails 2015-11-15 17:30:36 +00:00
Andrea Boriero 3f31c3d79f HHH-10293 - Add test for issue 2015-11-15 17:30:18 +00:00
Andrea Boriero f9065daba1 HHH-5946 - Tests for not equals operations expecting QuerySyntaxException require dialect does not support row value constructor syntax 2015-11-14 14:33:16 +00:00
Andrea Boriero 765c7020eb HHH-10274 - org.hibernate.id.SequenceValueExtractor does not work for DB2, Oracle, or SQL Server 2015-11-13 16:59:30 +00:00
Steve Ebersole 63b4f69deb HHH-10280 - Remove legacy bytecode enhancement artifacts 2015-11-12 20:33:38 -06:00
Steve Ebersole 472f4ab9ef HHH-10280 - Remove legacy bytecode enhancement artifacts 2015-11-12 19:47:50 -06:00
Andrea Boriero c0528b7079 HHH-10247 - Fix Hibernate ignores foreign-key attribute name in hbm <many-to-many> 2015-11-12 23:14:21 +00:00
Andrea Boriero 8c0c98fa07 HHH-10247 - Add test for issue 2015-11-12 23:14:20 +00:00
Andrea Boriero 5ca5e90551 HHH-10279 - Fix checkstyle errors 2015-11-12 22:45:12 +00:00
Steve Ebersole 9872358bed HHH-10281 - More formally deprecate the legacy bytecode enhancement code 2015-11-12 10:47:52 -06:00
barreiro 340cee232a HHH-10271 - Add ordinal() method to EventType and change EventListenerRegistryImpl to take advantage of that 2015-11-12 08:15:18 -06:00
Stuart Douglas 991ff265da HHH-10279 - Memory usage improvements -
* Don't allocate IdentityMap if it is not needed
* Only allocate unresolved insertions if requied
* Don't create a new string when creating a named query
* Allocate querySpaces lazily
* Remove executableLists from ActionQueue
* Allocate ExecutableList instances lazily
* Lazily allocate the transaction commit task lists
* Don't allocate a new EntityKey
2015-11-12 06:51:02 -06:00
Gail Badner fa7851058c HHH-10273 : Reserved word used for database object in testsuite 2015-11-11 18:12:50 -08:00
John O'Hara 1852162da5 HHH-10259 : ForUpdateFragment.toFragmentString() does not check if aliases are defined when lockOptions are not null
(cherry picked from commit fc077401e7)
2015-11-11 17:05:12 -08:00
Steve Ebersole 1d5b0779d6 HHH-10264 - hibernate.cache.auto_evict_collection_cache problems;
HHH-9140 - Error in CollectionCacheInvalidator when hibernate.cache.auto_evict_collection_cache is enabled
2015-11-10 09:13:22 -06:00
Janario Oliveira bf2eb01856 HHH-10264 - Values weren't cached after persist
HHH-9140 - Allow to look for id outside of context
ERROR CollectionCacheInvalidator:145 - org.hibernate.TransientObjectException: The instance was not associated with this session
	at org.hibernate.internal.SessionImpl.getIdentifier(SessionImpl.java:1511)
(cherry picked from commit f0d8fcd)

Added property to propagate error in test case

Test case without mappedBy
org.hibernate.HibernateException: Unable to resolve property:
	at org.hibernate.tuple.entity.EntityMetamodel.getPropertyIndex(EntityMetamodel.java:926)
2015-11-10 09:12:26 -06:00
Emanuele Gesuato cd2b031b6b HHH-5946 - Wrong SQL generated when composites are compared using not-equal operator 2015-11-09 23:04:52 -06:00
Janario Oliveira 80e851e7d0 HHH-9475 Cannot mix @MapKey with @Convert - Moved classes to reuse in test case; Added copy of type from referenced MapKey 2015-11-09 21:47:45 -06:00
Steve Ebersole 0cc5e8d30f HHH-10251 - Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities 2015-11-09 17:05:00 -06:00
John O'Hara 26048f220d HHH-10251 : Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities 2015-11-09 17:04:44 -06:00
Steve Ebersole 67e631dfb3 HHH-7572 - Develop API for load-by-multiple-ids 2015-11-09 16:37:51 -06:00
Steve Ebersole 134eb06fba HHH-7572 - Develop API for load-by-multiple-ids 2015-11-09 16:10:25 -06:00
Steve Ebersole 2b563794c7 HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment 2015-11-09 15:19:55 -06:00
Steve Ebersole e4d102c5b1 HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment 2015-11-09 09:18:42 -06:00
Matt Drees a32372d751 HHH-5764 - Support for multi-level derived ids 2015-11-09 08:09:29 -06:00
Steve Ebersole 8fd64a3b8f HHH-9807 - Better error message when @Formula and @Id are combined 2015-11-06 16:51:30 -06:00
Steve Ebersole 05d697b9a1 HHH-10002 - Hibernate @Synchronize annotation values should be processed by NamingStrategy 2015-11-06 14:22:14 -06:00
barreiro a11d2e7783 HHH-10112 - [enhancer] Use loading classloader in ClassPool 2015-11-06 12:17:41 -06:00
Steve Ebersole cd7212a1e8 HHH-10219 - Infinite loop generating IDs if using negative increment 2015-11-06 10:34:31 -06:00
Steve Ebersole ae9ff5587e HHH-10242 - Deal with HCANN poor handling of multiple properties by matching stem name 2015-11-05 11:53:40 -06:00
Emmanuel Bernard 5cc5ed1c84 HHH-10242 Detect ambiguous properties
boolean idId() + UUID getId() is ambiguous if no @Transient is involved
2015-11-05 10:52:37 -06:00
Steve Ebersole ec8794bbd0 HHH-10208 - Index and unique-key constraints not properly handled with implicit columns in hbm.xml binding 2015-11-04 23:31:47 -06:00
Steve Ebersole 9128b84b54 HHH-9481 - SQL query clears all cache 2015-11-04 21:43:52 -06:00
Steve Ebersole dd4f809d20 HHH-6672 - Remove UNION support from 5.x grammars 2015-11-04 21:18:28 -06:00
Steve Ebersole 22ffaea0c3 HHH-10248 - map removed TransactionFactory classes 2015-11-04 20:55:52 -06:00
Steve Ebersole eadb0fec8f HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport 2015-11-04 16:16:11 -06:00
Steve Ebersole 4218f365e5 HHH-9794 - Replace string with preceding comma is not replacing string as required 2015-11-04 16:10:39 -06:00
Steve Ebersole 30d7c800bd HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-04 13:03:12 -06:00
Gail Badner c835cf11ec HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called. 2015-11-03 16:42:43 -08:00
Steve Ebersole e59781487a HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end 2015-11-03 17:11:23 -06:00
cranforc c65cb7e850 HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than NVARCHAR(MAX)
HHH-8435 @Lob/@Nationalized results in NCLOB in MSSQL2005 rather than
NVARCHAR(MAX)
2015-10-30 13:05:36 -05:00
Holger 6ace838d61 HHH-10181: CacheableFileXmlSource.doBind uses obsolete .bin file 2015-10-30 13:00:46 -05:00
Gail Badner 71f4f3272a HHH-9979 : Add tests using bean validation, and PRE_INSERT and POST_INSERT event listeners 2015-10-29 16:39:16 -07:00
Steve Ebersole 287a516760 HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph 2015-10-29 09:52:53 -05:00
Steve Ebersole 9390062abc HHH-10222 - AttributeConverter not applied to @ElementCollection 2015-10-28 23:05:35 -05:00
Steve Ebersole 2db30fd455 HHH-10222 - AttributeConverter not applied to @ElementCollection 2015-10-28 22:54:04 -05:00
michal 2a99b256b8 HHH-10222 - AttributeConverter not applied to @ElementCollection 2015-10-28 22:50:34 -05:00
Hardy Ferentschik 25d8a66ac7 HHH-6475 - Metamodel check fails when subclasses are used 2015-10-28 13:26:06 -05:00
Steve Ebersole e6c1f511a3 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 23:22:42 -05:00
Steve Ebersole 246e98c5af HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive) 2015-10-27 21:55:14 -05:00
Steve Ebersole 82c5e0ae26 HHH-1400 - formula-based property leads to generation of invalid SQL with subselect fetches 2015-10-27 21:40:25 -05:00
Andrea Boriero fa4e1a04ed HHH-10169 - Fix Hibernate ignores foreign-key name in hbm <joined-subclass> 2015-10-27 17:25:39 +00:00
Andrea Boriero b315c0b949 HHH-10169 - Add test for issue 2015-10-27 17:22:20 +00:00
Steve Ebersole 3b2157be45 HHH-10166 - Sequence generator creates duplicate keys 2015-10-27 06:05:03 -05:00
Steve Ebersole 57c5d06f0e HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport 2015-10-26 21:07:08 -05:00
Steve Ebersole e71627ab00 HHH-10206 - Primary key not created for a Set after loading from XML mapping file 2015-10-26 20:19:14 -05:00
Steve Ebersole c07e93bfb1 HHH-10207 - Constraint name not considered for a Set while loading from XML mapping file 2015-10-26 19:44:15 -05:00
Steve Ebersole 53dfed4496 HHH-9897 - @OneToMany association with @JoinFormula throws NPE 2015-10-26 19:25:18 -05:00
Steve Ebersole be40ccf9cc HHH-9784 - Scroll method does not support provided HQLQueryPlan 2015-10-26 18:59:27 -05:00
reda-alaoui 09127bf1c3 HHH-9784 Scroll method does not support provided HQLQueryPlan 2015-10-26 18:53:46 -05:00
Réda Housni Alaoui 1677e0662b HHH-9374 EntityGraph applied to subquery when using collection function 2015-10-26 17:43:45 -05:00
drepshas ac616ccbfa HHH-10087 allow locks to be prepended to SQL
This allows locking code to work for the Teradata database
2015-10-26 17:18:38 -05:00
Jan Martiska 1fa78f9658 [HHH-10188] "stored" is a reserved keyword 2015-10-26 17:15:53 -05:00
Jan Martiska 06311d32a1 HHH-10195 fix QueryHintSQLServer2012Test 2015-10-26 17:11:24 -05:00
Jan Martiska 6ff0abf682 HHH-10196 DefaultGeneratedValueTest fails on MySQL
fix
2015-10-26 17:05:19 -05:00
Steve Ebersole 56fae44589 HHH-10217 - ModelBinder fails to bind version property when generated="always" 2015-10-26 17:00:06 -05:00
Steve Ebersole 8bcf66631d HHH-10208 - Index not considered while loading from XML mapping file 2015-10-26 13:14:44 -05:00
Andrea Boriero 83a477a0d1 HHH-10180 - Fix hbm2ddl tools cannot generate create/update script not modifying the database 2015-10-26 14:27:09 +00:00
Andrea Boriero e71b32fe91 HHH-10180 - Add test for issue 2015-10-26 14:18:42 +00:00
Andrea Boriero d44cb40c34 HHH-10197 - Fix SchemaManagementException when performing SchemaUpdate 2015-10-16 13:21:13 +01:00
Andrea Boriero dc902bb0a3 HHH-10197 - Add test 2015-10-16 08:36:19 +01:00
Andrea Boriero d74ec8ec6b HHH-10174 - Fix Incorrect splitting of string using dot as separator, dot is not escaped 2015-10-15 12:49:09 +01:00
Andrea Boriero e485ef74a6 HHH-10174 - Add test for issue 2015-10-15 12:49:09 +01:00
Andrea Boriero 65c7cfaefb HHH-10104 - Fix HHH-10104 Using JPA 2.1 schema generation together with hbm2ddl runs into deadlock with MySQL 2015-10-15 10:19:57 +01:00
Andrea Boriero 3bd448525b HHH-10194 - Change NameQualifierSupport for Hypersonic from CATALOG to SCHEMA 2015-10-15 09:53:01 +01:00
Andrea Boriero d8fffd61f1 HHH-10193 - Fix NameQualifierSupport for Hypersonic should be catalog 2015-10-14 17:14:09 +01:00
Andrea Boriero 8298390dc6 HHH-10198 - NPE in InformationExtractorJdbcDatabaseMetaDataImpl 2015-10-14 16:32:46 +01:00
Andrea Boriero 1729067cbc HHH-10190 - org.hibernate.engine.spi.ActionQueue#executeActions() optimization 2015-10-14 14:04:05 +01:00
Steve Ebersole ac2f06800e HHH-9074 - HQL Query with boolean and @Convert 2015-10-08 09:56:14 -05:00
Steve Ebersole 6d590d76b6 HHH-9807 - Better error message when @Formula and @Id are combined 2015-10-07 13:07:37 -05:00
Steve Ebersole 1203acbdc0 HHH-10172 - Throw MappingException when entity/component class defines multiple matching getters by stem name 2015-10-07 12:26:37 -05:00
Andrea Boriero f539a924be HHH-10139 - remove unused import classes 2015-10-07 15:15:47 +01:00
Steve Ebersole b2b477a2ce HHH-10050 - AttributeConverter should supports ParameterizedType if autoApply is true 2015-10-06 19:28:49 -05:00
Steve Ebersole ca171b112c HHH-9791 - Add varargs to Restrictions.in(...) 2015-10-06 16:24:56 -05:00
Steve Ebersole 0cf66b85e0 HHH-10050 - AttributeConverter should supports ParameterizedType if autoApply is true 2015-10-06 16:07:33 -05:00
Steve Ebersole 3ac508882c HHH-9615 - Allow AttributeConverter on attributes marked as Lob 2015-10-03 13:44:20 -05:00
Steve Ebersole eaf28166d2 HHH-10097 - Expose the UUID from SessionFactoryImplementor 2015-10-02 18:35:16 -05:00
Steve Ebersole 7af7ebaf87 HHH-10129 - Evaluate AttributeConverter tests in hibernate-entitymanager for move to hibernate-core;
HHH-10154 - Change built-in JavaTypeDescriptor impls to not auto-register themselves with JavaTypeDescriptorRegistry
2015-09-30 12:37:49 -05:00
Andrea Boriero 243a72cd99 HHH-9996 - Finish Derby database profile - ForeignKeyMigrationTest requires Dialect supports catalog creation 2015-09-30 14:36:23 +01:00
Andrea Boriero b68291ebda HHH-10142 - Add SQL keyword to DerbyDialect 2015-09-30 14:36:23 +01:00
Steve Ebersole e64d028306 HHH-10122 - Deprecate ".class" property-style entity-type-expression format 2015-09-30 00:06:37 -05:00
Steve Ebersole 3cdc447654 HHH-10125 - KEY() function in HQL causes inaccurate SQL when map key is an entity;
HHH-10132 - ENTRY() function in HQL causes invalid SQL when map key is an entity
2015-09-29 23:33:11 -05:00
Andrea Boriero bac4cd2128 HHH-9995 - Finish pgsql database profile 2015-09-29 18:14:07 +01:00
Martin Simka ca0eee08a0 HHH-9995 - Finish pgsql database profile - rollback transaction on error in TestLazyBasicFieldAccessExecutable 2015-09-29 18:13:59 +01:00
Andrea Boriero fe1b141f79 HHH-10150 - Override PostgreSQL9Dialect#getDefaultMultiTableBulkIdStrategy() causing exception in deleting joined subclasses 2015-09-29 16:50:05 +01:00
Andrea Boriero 8bdb2d7788 HHH-10149 - Fix PostgreSQL Dialect getForUpdateString(String aliases, LockOptions lockOptions) returning a wrong value for update String when aliases is an empty String 2015-09-29 14:10:59 +01:00
Andrea Boriero fc6312a73b HHH-10110 - Fix DerbyDialect#getQuerySequencesString() causing error during schema update 2015-09-28 21:28:12 +01:00
Andrea Boriero 0885e953ce HHH-10140 - Fix derby does not support tuples in subqueries 2015-09-28 21:28:12 +01:00
Andrea Boriero 80f61bdcff HHH-10139 - Fix <formula>1</formula> causing java.sql.SQLSyntaxErrorException: Comparisons between 'INTEGER' and 'BOOLEAN' are not supported when the column is a boolean 2015-09-28 21:28:12 +01:00
Andrea Boriero 8d3b2e723b HHH-9996 - Finish Derby database profile 2015-09-28 21:28:12 +01:00