Commit Graph

2748 Commits

Author SHA1 Message Date
Steve Ebersole bd20ba86a4 HHH-10251 - Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities 2015-11-09 17:02:56 -06:00
John O'Hara 59f721a250 HHH-10251 : Memory Leak when using Reference Cached, bytecode enhanced Immutable Entities 2015-11-09 17:02:56 -06:00
Steve Ebersole 4bfb349d16 HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment
(cherry picked from commit 2b563794c7)
2015-11-09 15:20:32 -06:00
Steve Ebersole f6de8f83a2 HHH-1706 - Named parameters ignored when single apostrophe encountered within an SQL comment
(cherry picked from commit e4d102c5b1)
2015-11-09 09:19:22 -06:00
Matt Drees 943acc78bc HHH-5764 - Support for multi-level derived ids
(cherry picked from commit a32372d751)
2015-11-09 08:22:58 -06:00
barreiro 32d32ec0d2 HHH-10112 - [enhancer] Use loading classloader in ClassPool
(cherry picked from commit 3f2c78533e)
2015-11-06 12:22:11 -06:00
Steve Ebersole ca46d28db3 HHH-10219 - Infinite loop generating IDs if using negative increment
(cherry picked from commit cd7212a1e8)
2015-11-06 10:35:10 -06:00
Steve Ebersole deea4adfe9 HHH-10242 - Deal with HCANN poor handling of multiple properties by matching stem name
(cherry picked from commit ae9ff5587e)
2015-11-05 11:55:43 -06:00
Emmanuel Bernard 32806083ef HHH-10242 Detect ambiguous properties
boolean idId() + UUID getId() is ambiguous if no @Transient is involved

(cherry picked from commit 5cc5ed1c84)
2015-11-05 11:55:29 -06:00
Steve Ebersole 282a7b1afc HHH-10208 - Index and unique-key constraints not properly handled with implicit columns in hbm.xml binding
(cherry picked from commit ec8794bbd0)
2015-11-04 23:34:28 -06:00
Steve Ebersole d167599793 HHH-9481 - SQL query clears all cache
(cherry picked from commit 9128b84b54)
2015-11-04 21:45:01 -06:00
Steve Ebersole d01e602ffc HHH-6672 - Remove UNION support from 5.x grammars
(cherry picked from commit dd4f809d20)
2015-11-04 21:19:03 -06:00
Steve Ebersole 0e999e897e HHH-10248 - map removed TransactionFactory classes
(cherry picked from commit 22ffaea0c3)
2015-11-04 20:56:20 -06:00
Steve Ebersole b909b536c6 HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport
(cherry picked from commit eadb0fec8f)
2015-11-04 16:16:51 -06:00
Steve Ebersole fa09055a8c HHH-9794 - Replace string with preceding comma is not replacing string as required
(cherry picked from commit 4218f365e5)
2015-11-04 16:11:15 -06:00
Steve Ebersole 412546753f HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end
(cherry picked from commit 30d7c800bd)
2015-11-04 13:03:46 -06:00
Gail Badner 239688c39b HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called 2015-11-03 17:19:23 -08:00
Gail Badner cac26d3077 HHH-10202 : Delay resolving TypeScopeImpl#factory after deserialization until resolveFactory() is called.
(cherry picked from commit c835cf11ec)
2015-11-03 17:00:50 -08:00
Steve Ebersole c25ad0d719 HHH-9195 - Adding an entity at a given index in a list annotated with OrderColumn adds the entity at the end
(cherry picked from commit e59781487a)
2015-11-03 17:12:10 -06:00
cranforc 6b8c302494 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)

(cherry picked from commit c65cb7e850)
2015-10-30 13:08:13 -05:00
Holger 9ffc80da5a HHH-10181: CacheableFileXmlSource.doBind uses obsolete .bin file
(cherry picked from commit 6ace838d61)
2015-10-30 13:02:20 -05:00
Steve Ebersole 691d8725d9 HHH-9230 - NullPointer when combining JPQL query with in clause and @NamedEntityGraph
(cherry picked from commit 287a516760)
2015-10-29 09:54:09 -05:00
Steve Ebersole 2f48de342b HHH-10222 - AttributeConverter not applied to @ElementCollection
(cherry picked from commit 9390062abc)
2015-10-28 23:07:00 -05:00
Steve Ebersole 7cbb8570c4 HHH-10222 - AttributeConverter not applied to @ElementCollection
(cherry picked from commit 2db30fd455)
2015-10-28 22:55:49 -05:00
michal 46751f4f7f HHH-10222 - AttributeConverter not applied to @ElementCollection
(cherry picked from commit 2a99b256b8)
2015-10-28 22:55:38 -05:00
Hardy Ferentschik 7a0e98aeec HHH-6475 - Metamodel check fails when subclasses are used
(cherry picked from commit 25d8a66ac7)
2015-10-28 13:27:25 -05:00
Steve Ebersole eca5839404 HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
(cherry picked from commit e6c1f511a3)
2015-10-27 23:27:22 -05:00
Steve Ebersole 9c9d8bd0be HHH-10178 - Move Geronimo JTA jar to provided configuration (non-transitive)
(cherry picked from commit 246e98c5af)
2015-10-27 21:57:08 -05:00
Steve Ebersole 10a5f4af15 HHH-1400 - formula-based property leads to generation of invalid SQL with subselect fetches
(cherry picked from commit 82c5e0ae26)
2015-10-27 21:42:23 -05:00
Andrea Boriero 32fce20012 HHH-10169 - Fix Hibernate ignores foreign-key name in hbm <joined-subclass> 2015-10-27 17:49:02 +00:00
Andrea Boriero 6c72d0daaa HHH-10169 - Add test for issue 2015-10-27 17:48:49 +00:00
Steve Ebersole f355d06304 HHH-10166 - Sequence generator creates duplicate keys
(cherry picked from commit 3b2157be45)
2015-10-27 06:07:56 -05:00
Steve Ebersole b261f356d0 HHH-10203 - Overriden UniqueDelegate.getTableCreationUniqueConstraintsFragment not called anymore in SchemaExport
(cherry picked from commit 57c5d06f0e)
2015-10-26 21:07:46 -05:00
Steve Ebersole 6a09dea2e4 HHH-10206 - Primary key not created for a Set after loading from XML mapping file
(cherry picked from commit e71627ab00)
2015-10-26 20:20:12 -05:00
Steve Ebersole 5ba6cdc728 HHH-10207 - Constraint name not considered for a Set while loading from XML mapping file
(cherry picked from commit c07e93bfb1)
2015-10-26 19:44:54 -05:00
Steve Ebersole 3ebe0f1c8a HHH-9897 - @OneToMany association with @JoinFormula throws NPE
(cherry picked from commit 53dfed4496)
2015-10-26 19:25:50 -05:00
Steve Ebersole 7fba0e731e HHH-9784 - Scroll method does not support provided HQLQueryPlan
(cherry picked from commit be40ccf9cc)
2015-10-26 19:01:42 -05:00
reda-alaoui 4fcb465311 HHH-9784 Scroll method does not support provided HQLQueryPlan
(cherry picked from commit 09127bf1c3)
2015-10-26 19:01:33 -05:00
Réda Housni Alaoui 3da8d8542f HHH-9374 EntityGraph applied to subquery when using collection function
(cherry picked from commit 1677e0662b)
2015-10-26 17:53:17 -05:00
drepshas c84cc32297 HHH-10087 allow locks to be prepended to SQL
This allows locking code to work for the Teradata database

(cherry picked from commit ac616ccbfa)
2015-10-26 17:40:15 -05:00
Jan Martiska cd036a6367 [HHH-10188] "stored" is a reserved keyword
(cherry picked from commit 1fa78f9658)
2015-10-26 17:16:46 -05:00
Jan Martiska 1741e0f06f HHH-10195 fix QueryHintSQLServer2012Test
(cherry picked from commit 06311d32a1)
2015-10-26 17:12:39 -05:00
Jan Martiska 01c358991f HHH-10196 DefaultGeneratedValueTest fails on MySQL
fix

(cherry picked from commit 6ff0abf682)
2015-10-26 17:06:33 -05:00
Steve Ebersole 513f11fa5f HHH-10217 - ModelBinder fails to bind version property when generated="always"
(cherry picked from commit 56fae44589)
2015-10-26 17:01:02 -05:00
Steve Ebersole 1de3002fe5 HHH-10208 - Index not considered while loading from XML mapping file
(cherry picked from commit 8bcf66631d)
2015-10-26 13:15:38 -05:00
Andrea Boriero fa7fcf5b95 HHH-10180 - Fix hbm2ddl tools cannot generate create/update script not modifying the database 2015-10-26 14:28:51 +00:00
Andrea Boriero 9b34880baf HHH-10180 - Add test for issue 2015-10-26 14:28:39 +00:00
Andrea Boriero cf4ef9ad1c HHH-10197 - Fix SchemaManagementException when performing SchemaUpdate 2015-10-16 13:57:49 +01:00
Andrea Boriero add6fc84c8 HHH-10197 - Add test 2015-10-16 13:57:39 +01:00
Andrea Boriero 4bb263f789 HHH-10174 - Fix Incorrect splitting of string using dot as separator, dot is not escaped 2015-10-15 14:30:30 +01:00
Andrea Boriero 75db26f24e HHH-10174 - Add test for issue 2015-10-15 14:30:23 +01:00
Andrea Boriero 4ff1dcbfa7 HHH-10104 - Fix HHH-10104 Using JPA 2.1 schema generation together with hbm2ddl runs into deadlock with MySQL 2015-10-15 11:19:10 +01:00
Andrea Boriero 5f67ac3acc HHH-10194 - Change NameQualifierSupport for Hypersonic from CATALOG to SCHEMA 2015-10-15 09:54:35 +01:00
Andrea Boriero 12ae1b54b9 HHH-10193 - Fix NameQualifierSupport for Hypersonic should be catalog 2015-10-14 17:09:51 +01:00
Andrea Boriero af4243bdb0 HHH-10198 - NPE in InformationExtractorJdbcDatabaseMetaDataImpl 2015-10-14 16:34:01 +01:00
Andrea Boriero 05c6d560b2 HHH-10190 - org.hibernate.engine.spi.ActionQueue#executeActions() optimization 2015-10-14 14:16:31 +01:00
Steve Ebersole d8ab9c0905 HHH-9074 - HQL Query with boolean and @Convert
(cherry picked from commit ac2f06800e)
2015-10-08 09:59:25 -05:00
Steve Ebersole 4ee6b88b2b HHH-10172 - Throw MappingException when entity/component class defines multiple matching getters by stem name
(cherry picked from commit 1203acbdc0)
2015-10-07 12:27:31 -05:00
Andrea Boriero e49da05654 HHH-10139 - remove unused import classes 2015-10-07 15:18:03 +01:00
Steve Ebersole 43feb01a79 HHH-10170 - Reuse JAXBContext instance (Slow mapping initialization) - port HHH-10065 fix to 5.0 branch
(cherry picked from commit 78fcfe26a7)
2015-10-06 19:09:32 -05:00
Steve Ebersole e27fb3f592 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

(cherry picked from commit 7af7ebaf87)
2015-09-30 12:38:19 -05:00
Andrea Boriero 74e1865ac9 HHH-9996 - Finish Derby database profile - ForeignKeyMigrationTest requires Dialect supports catalog creation 2015-09-30 14:38:42 +01:00
Andrea Boriero a8a9864a60 HHH-10142 - Add SQL keyword to DerbyDialect 2015-09-30 14:38:34 +01:00
Steve Ebersole 187d8b8bc1 HHH-10122 - Deprecate ".class" property-style entity-type-expression format
(cherry picked from commit e64d028306)
2015-09-30 00:07:21 -05:00
Steve Ebersole 634707cad9 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

(cherry picked from commit 3cdc447654)
2015-09-29 23:33:57 -05:00
Andrea Boriero 5cbefff7a0 HHH-9995 - Finish pgsql database profile 2015-09-29 18:15:17 +01:00
Martin Simka cfbdef150a HHH-9995 - Finish pgsql database profile - rollback transaction on error in TestLazyBasicFieldAccessExecutable 2015-09-29 18:15:04 +01:00
Andrea Boriero e59999e57b HHH-10150 - Override PostgreSQL9Dialect#getDefaultMultiTableBulkIdStrategy() causing exception in deleting joined subclasses 2015-09-29 16:51:26 +01:00
Andrea Boriero a58a866e67 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:12:05 +01:00
Andrea Boriero 4428e1a4c4 HHH-10110 - Fix DerbyDialect#getQuerySequencesString() causing error during schema update 2015-09-28 21:30:32 +01:00
Andrea Boriero 307d040acc HHH-10140 - Fix derby does not support tuples in subqueries 2015-09-28 21:30:12 +01:00
Andrea Boriero 7fadfc09e4 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:29:58 +01:00
Andrea Boriero ab8e679f41 HHH-9996 - Finish Derby database profile 2015-09-28 21:29:49 +01:00
Steve Ebersole 5c30c3c111 HHH-10128 - @Enumerated(EnumType.STRING) not working as expected with PosgreSQL database
(cherry picked from commit ac16e825f8)
2015-09-28 14:58:26 -05:00
Steve Ebersole 4899a1db96 HHH-10066 - Drop and recreate AuxiliaryDatabaseObjects as part of schema update
(cherry picked from commit 59a8d3122f)
2015-09-28 14:27:41 -05:00
Steve Ebersole 398cec2bcc HHH-10135 - DB2Dialect should override getSelectSequenceNextValString
(cherry picked from commit 2964ecbf1b)
2015-09-27 08:02:02 -05:00
Steve Ebersole 5e1c6bc3af HHH-10125 - Using KEY function in JP-QL SELECT clause selects value columns in rendered SQL
(cherry picked from commit 909c034429)
2015-09-26 09:02:08 -05:00
Steve Ebersole 52410ef9a5 HHH-10133 - CatalogSeparator of dialect metadata not used in runtime, just in schema tool
(cherry picked from commit 3571218183)
2015-09-25 17:55:56 -05:00
Steve Ebersole 9c2170a00f HHH-10126 - Table-backed sequences are not populated on creation using SchemaUpdate
(cherry picked from commit 7354c7bfc3)
2015-09-25 13:41:26 -05:00
Steve Ebersole 1c9976d114 HHH-10131 - CacheableFileXmlSource.doBind returns null instead of created binding when .hbm.xml.bin have not been created yet
(cherry picked from commit ed892971af)
2015-09-25 12:27:39 -05:00
Steve Ebersole cf47c8d88f HHH-10099 - @OrderColumn never generates the column in the schema
(cherry picked from commit a1444f2a10)
2015-09-25 11:19:02 -05:00
Steve Ebersole 4a19270612 HHH-10111 - AttributeConverter based attributes are not marked for update when their state is modified
(cherry picked from commit bb0b604b57)
2015-09-24 15:51:41 -05:00
Steve Ebersole 1ae495b7c9 HHH-10045 - Teradata requires non null primary keys.
(cherry picked from commit e8da2d09b3)
2015-09-24 13:03:19 -05:00
Steve Ebersole 4223e43796 HHH-10120 - InputStream not closed in ConfigLoader.loadConfigXmlResource(String)
(cherry picked from commit 4777d5888c)
2015-09-24 12:24:51 -05:00
Steve Ebersole 4181768650 HHH-10119 - Config setting names loaded from cfg.xml stored in augmented (prefixed with "hibernate.") form but not original form
(cherry picked from commit 0f5139b60a)
2015-09-24 11:59:17 -05:00
Steve Ebersole 8fde7229fe HHH-10119 - EhCacheRegionFactory cannot find configurationResourceName set in .cfg.xml
(cherry picked from commit 0c628fa9aa)
2015-09-24 11:59:05 -05:00
Steve Ebersole 91cd767d20 HHH-10115 - HHH90000003: Use of DOM4J entity-mode is considered deprecated 2015-09-22 16:12:41 -05:00
Andrea Boriero ff7644f722 HHH-10108 - Substituted checkstyle NewlineAtEndOfFile rule with rules used in OGM and fixed classes having more than a newline at the end of file 2015-09-22 18:42:08 +01:00
Steve Ebersole d12ce674e2 HHH-9888 - Oracle database constraint violation reported as RollbackException with JTA transaction manager
(cherry picked from commit 918c9d4ffd)
2015-09-11 06:37:10 -05:00
Steve Ebersole 9050b78ddc HHH-10055 - Lazy loading of collections in enhanced entity not working
(cherry picked from commit 9d6886198b)
2015-09-10 14:07:03 -05:00
barreiro 5a8fc3ee46 HHH-10055 - Add test case (enhanced version of org.hibernate.test.ondemandload.LazyLoadingTest)
(cherry picked from commit d0b0d7ef87)
2015-09-09 13:07:17 -05:00
Andrea Boriero 5a034f97e0 HHH-10086 - Deprecate Dialect#getIdentityColumnString() and Dialect#getIdentitySelectString() 2015-09-04 18:14:07 +01:00
barreiro e7bd4ea6e3 HHH-10079 - Use enhanced property access for field/property attributes only
(cherry picked from commit 643c0b532d)
2015-09-03 09:10:36 -05:00
barreiro 60c4c9846a HHH-10078 - Enforce sychronization of non thread-safe method Enhancer.enhance()
(cherry picked from commit 03801b62ec)
2015-09-03 08:58:17 -05:00
barreiro e3c6c02178 HHH-10076 - bytecode enhancer - CompositeEnhancer does not add ManagedComposite marker interface
(cherry picked from commit 4d6eca5ff8)
2015-09-03 08:53:52 -05:00
Gail Badner b63da4bcdc HHH-10053 : Revert HHH-9736; BigIntegerType really should use NumericTypeDescriptor
(cherry picked from commit 2dc0adb893)
2015-09-02 13:08:21 -07:00
Steve Ebersole 9d2b106024 HHH-10020 - Improvements to org.hibernate.bytecode.enhance.internal.AttributeTypeDescriptor#buildInLineDirtyCheckingBodyFragment
(cherry picked from commit 1c70e0df0c)
2015-09-01 21:54:15 -05:00
Steve Ebersole 74bfdd9c4d HHH-10069 - ClassCastException between CompositeCustomType and ComponentType part 2
(cherry picked from commit 961b5e8977)
2015-09-01 21:32:36 -05:00
Steve Ebersole 791a3a5a42 HHH-9864 - foreign key violation with order_inserts=true
(cherry picked from commit 8916346b4a)
2015-09-01 20:27:04 -05:00
drepshas ca876f22a0 HHH-10054 Modify Create Index SQL to support the Teradata database
(cherry picked from commit 216848b500)
2015-09-01 12:42:40 -05:00