Commit Graph

2891 Commits

Author SHA1 Message Date
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
Radim Vansa e048b36e21 HHH-10008 SessionImplementor.getTimestamp() does not return transaction start time;
HHH-9962 Second level query cache returns stale data if query and update statements are executed concurrently

(cherry picked from commit 1d62197b9d)
2015-09-01 11:53:06 -05:00
Gunnar Morling 9d071183a4 HHH-10073 Not propagating XML node names configured in mappings
(cherry picked from commit 1376b12ca9)
2015-09-01 11:37:43 -05:00
Gunnar Morling 3059e58fb8 HHH-10073 Removing further left-overs from removed dom4j entity mode
(cherry picked from commit 6f215a9227)
2015-09-01 11:37:34 -05:00
Gunnar Morling 73d4420bda HHH-10073 Removing methods scheduled for removal in 5.0
(cherry picked from commit 47b8ed5121)
2015-09-01 11:37:18 -05:00
Gunnar Morling 36584f337e HHH-10073 Removing types methods scheduled for removal in 5.0
(cherry picked from commit 1db462f35f)
2015-09-01 11:37:07 -05:00
Steve Ebersole 2ba5df5afb HHH-10009 - Unable to parse cfg.xml file with explicit xsi:schemaLocation
(cherry picked from commit 74d2d33012)
2015-09-01 09:23:35 -05:00
Steve Ebersole cd2c07d3a5 HHH-10070 - Deprecate use of "collection properties" in HQL
(cherry picked from commit d85fd04eb0)
2015-08-31 21:03:06 -05:00
Steve Ebersole 1873ffa9a4 HHH-10024 - CriteriaQuery: Join on a field named 'size' backed by an enum throws IllegalArgumentException
(cherry picked from commit 24901af4d9)
2015-08-31 20:31:16 -05:00
Steve Ebersole f6879787e2 HHH-9954 - Equality checking should consider arrays
(cherry picked from commit ca1c2efaf9)
2015-08-31 09:27:04 -05:00
Gail Badner d16b13228d HHH-10060 : Order of subclass joins are no longer determinate 2015-08-26 16:29:22 -07:00
Brett Meyer 31e32ec8cd HHH-9975 checkstyle 2015-08-26 17:17:22 -04:00
Brett Meyer 5016f208ba HHH-9975 CacheImpl.containsQuery(String) does not check if query cache is enabled 2015-08-26 16:37:17 -04:00
Kamil Szymanski c66dba9799 HHH-9593 Remove superfluous references to enclosing class
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
	hibernate-core/src/main/java/org/hibernate/service/internal/JaxbProcessor.java
2015-08-26 16:04:25 -04:00
Andrea Boriero 98ebeee830 HHH-951 - Fix setMaxResults causes "ORA-00918: column ambiguously defined" exception on Oracle for Criteria 2015-08-20 18:04:20 +01:00
Andrea Boriero 2e7c3acf11 HHH-951 - Add test for Criteria 2015-08-20 18:04:20 +01:00
Piotr Findeisen 0a722bb230 HHH-951 - Fix setMaxResults causes "ORA-00918: column ambiguously defined" exception on Oracle 2015-08-20 18:04:20 +01:00
Steve Ebersole 2c1b7ca537 HHH-9908 - Regression in naming collection join tables 2015-08-19 11:57:24 -05:00
Steve Ebersole 825468ca9b HHH-9908 - Regression in naming collection join tables
(cherry picked from commit 51a8bc7ba3)
2015-08-19 09:46:21 -05:00
Gail Badner ed867b2e60 HHH-7070 : Put operations in transactions and added cleanup code (test case only) 2015-08-18 16:37:43 -07:00
Richard Tingstad 5adf730c42 HHH-7070 Fixed some SybaseASE15Dialect function definitions (dateadd, datediff, datepart, atn2)
(cherry picked from commit 7eebb0f73d)
2015-08-18 15:16:21 -07:00
amaeda cbf255e4f0 HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 6f37a2ee6b)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java

HHH-9707 - Nulls first behavior on SQLServer database
(cherry picked from commit 046426b619)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
2015-08-18 14:01:31 -07:00
Martin Simka 37964f12e4 [HHH-9994] Finish mariadb (mysql) database profile - added transaction to EnhancerTest and FlushAndTransactionTest 2015-08-18 16:47:43 +01:00
Andrea Boriero 46232719d1 HHH-10036 - Fix identifier is too long exception for test TableGeneratorQuotingTest 2015-08-18 15:40:38 +01:00
Andrea Boriero 97606e8bf0 HHH-10036 - Fix identifier is too long exception for test EnhancerTest 2015-08-18 15:40:38 +01:00
Andrea Boriero a9daa65c12 HHH-10036 - Fix identifier is too long exception for test MapKeyCustomEnumTypeTest 2015-08-18 15:40:38 +01:00
Steve Ebersole 266ec761f4 HHH-10017 - Bytecode enhancer - consistent handling of persistent attributes (field / property access) 2015-08-05 14:16:29 -05:00
barreiro cff4cb4b7a HHH-9985 - bytecode enhancement - add testcase, and for HHH-10017 as well 2015-08-05 19:33:18 +01:00
barreiro c622d39199 HHH-9985 - remove hack based on exposed state and route all field access to enhanced methods, if present 2015-08-05 19:33:18 +01:00
barreiro ed185b9b48 HHH-10017 - bytecode enhancement - consistent handling of persistent attributes, regardeless of access type 2015-08-05 19:33:18 +01:00
Steve Ebersole 9b9b806aac HHH-10018 - Change default ImplicitNamingStrategy to use the JPA compliant one + ImplicitNamingStrategy short-naming 2015-08-05 10:26:48 -05:00
Steve Ebersole 1556c272d5 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-05 09:09:24 -05:00
Andrea Boriero 1163d2bd0f HHH-10015 - Oracle Dialect override Dialect#canCreateSchema() to return false 2015-08-05 14:21:25 +01:00
Andrea Boriero a45261ed4c HHH-9990 - Fix test failure 2015-08-05 13:36:44 +01:00
Andrea Boriero 4da260b3be HHH-9990 - Enabled batched updates for versioned data by default 2015-08-05 11:27:18 +01:00
Andrea Boriero d905246c6a HHH-9990 - Add tests 2015-08-05 11:27:18 +01:00
Janario Oliveira 7ccbd46932 HHH-9534 - Exception with custom EnumType and Map relation 2015-08-04 21:50:59 -05:00
Steve Ebersole 3192e1db92 HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 21:11:18 -05:00
Daniel Gredler 8c8e729b3d Test for HHH-8615 (no fix). 2015-08-04 20:03:09 -05:00
Steve Ebersole d99fb4f5dc HHH-9503 - Consistently accept numeric value or Connection constant field name for configuring transaction isolation 2015-08-04 19:42:57 -05:00
Steve Ebersole 1d61210826 HHH-9850 - Primary key generated for nullable column in sequence table 2015-08-04 17:00:46 -05:00
Steve Ebersole 54a3bb244a HHH-10014 - Adjust default for hibernate.auto_quote_keyword to false 2015-08-04 16:59:08 -05:00
Steve Ebersole 45dd596c4f HHH-9869 - SizeExpression toString is misleading 2015-08-04 15:58:32 -05:00
Peter ad704a194e HHH-9869 - fix the order in which SizeExpression.toString() emits size and property so that the toString of a SizeExpression is logically correct 2015-08-04 15:57:20 -05:00
Steve Ebersole dd0547efdc HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true - checkstyle 2015-08-04 15:26:48 -05:00
Steve Ebersole b3a8453064 HHH-10014 - Adjust default for hibernate.auto_quote_keyword to false 2015-08-04 15:13:47 -05:00
Steve Ebersole f8b523f3de HHH-10013 - Adjust default for hibernate.id.new_generator_mappings to true 2015-08-04 15:06:24 -05:00
Steve Ebersole 41836726e1 HHH-9936 - Same Sequence is created and dropped multiple times 2015-08-04 11:49:15 -05:00
Steve Ebersole 4f725332af HHH-9998 - Continue documentation TLC - mapping basic-types 2015-08-02 14:07:26 -05:00
Steve Ebersole 7a67f39e38 HHH-9998 - Continue documentation TLC - mapping compositions & collections 2015-08-01 13:49:56 -05:00
Andrea Boriero 9d22ed62ed HHH-9865 - Fix incorrect column information generated using schemaExport 2015-08-01 00:06:30 +01:00
Steve Ebersole 02002169ef HHH-9882 - many to one declarations in hbm without embed-xml="false" generate warning 2015-07-31 16:32:51 -05:00
Steve Ebersole fa14d4fb70 HHH-9917 - 'value' is not a reserved word on Derby 2015-07-31 15:44:06 -05:00
Steve Ebersole 067e892767 HHH-9936 - Same Sequence is created and dropped multiple times 2015-07-31 15:43:00 -05:00
Steve Ebersole 923ecb8e2c HHH-9961 - Ejb3JoinColumn does not use PhysicalNamingStrategy 2015-07-31 12:52:01 -05:00
Emmanuel Bernard 6318160da8 Minor visibility relaxation in AbstractEntityPersister for OGM 2015-07-29 17:11:45 +02:00
barreiro 417baffa13 HHH-9938 - bytecode enhancer - field access enhancement feature 2015-07-29 09:26:26 -05:00
barreiro 6d77ac39c5 HHH-9937 - bytecode enhancement - expose loaded state in LazyAttributeLoader 2015-07-29 09:12:02 -05:00
Gail Badner 4f72f17623 HHH-9937 : Hibernate#isPropertyInitialized always returns true for new enhancer (test case only) 2015-07-29 09:08:20 -05:00
barreiro 716e954f49 HHH-9985 - bytecode enhancer - fix merge use case for composites 2015-07-29 09:01:13 -05:00
barreiro f759c152e2 HHH-9985 - bytecode enhancer - fix merge use case 2015-07-29 09:01:13 -05:00
Steve Ebersole 463decd245 HHH-9959 - Upgrade Hibernate Validator to 5.2.0.Final 2015-07-29 08:56:59 -05:00
Steve Ebersole ff565fddb0 HHH-9986 - Fix reference manual inconsistencies for 5.0 2015-07-29 08:47:10 -05:00
Steve Ebersole 16c0a1f144 HHH-9976 - JdbcResourceLocalTransactionCoordinatorImpl does not rollback on failure during #commit 2015-07-28 18:16:47 -05:00
Steve Ebersole 3d1a39f80d HHH-9976 - JdbcResourceLocalTransactionCoordinatorImpl does not rollback on failure during #beforeCompletionCallback 2015-07-28 15:54:26 -05:00
Andrea Boriero 98d5e943ea HHH-1872 - Fix Hibernate should handle hbm.auto = update with views 2015-07-28 18:39:46 +01:00
Radim Vansa 4fd7680191 HHH-9977 Consider options for passing Session to caching SPI calls
* Passing SessionImplementor to all the calls executed in transactional context
2015-07-28 17:56:55 +01:00
Steve Ebersole 7990630ae4 HHH-9986 - Fix reference manual inconsistencies for 5.0;
HHH-9987 - HikariCPConnectionProvider TLC
2015-07-27 17:08:21 -05:00
Andrea Boriero 09b3410db3 HHH-9967 - Add test for issue 2015-07-27 16:21:20 +01:00
Andrea Boriero 3658480642 HHH-9967 - Fix failure Create index on Postgres with --defaultSchemaName 2015-07-27 16:20:59 +01:00
Andrea Boriero 930a0f7075 HHH-9918 - Test requires Dialect to support identity key generation 2015-07-27 11:22:56 +01:00
Steve Ebersole c154d7edf7 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-25 10:14:27 -05:00
Gail Badner c00d4609ef HHH-5255 : Merge detached entity failed when the instrumented lazy property is initialized 2015-07-24 19:04:00 -07:00
Andrei Ivanov 3d21604602 Test for HHH-5255
(cherry picked from commit e0347f81e8)
2015-07-24 13:18:14 -07:00
Steve Ebersole 539465915b HHH-9966 - Improve schema tooling support for creating catalogs and schemas 2015-07-24 12:54:02 -05:00
Steve Ebersole 33b00de3c0 HHH-9913 - NPE in org.hibernate.cache.internal.CacheDataDescriptionImpl.decode() 2015-07-24 12:32:31 -05:00
Andrea Boriero d885f249d9 HHH-9966 - Improve schema tooling support for creating catalogs and schemas 2015-07-24 16:20:49 +01:00
Steve Ebersole e98f220b08 HHH-9980 - Implement mark-for-rollback-only handling for JdbcResourceLocalTransactionCoordinatorImpl 2015-07-24 09:58:48 -05:00
Steve Ebersole 7556a22c2f HHH-9980 - Implement mark-for-rollback-only handling for JdbcResourceLocalTransactionCoordinatorImpl 2015-07-24 09:50:02 -05:00
Hynek Svabek f429a8cb28 HHH-9915 - test fail on Oracle (long identifier name) 2015-07-24 15:29:19 +01:00
Hynek Svabek 021c80b5a0 HHH-9953 fix identifier is too long on OracleDB - ComponentNotNullTest 2015-07-24 15:29:19 +01:00
Hynek Svabek 6c0141786b HHH9968 -fix identifier is too long on Oracle DB - irrelevantInstantEntity 2015-07-24 15:29:19 +01:00
Steve Ebersole 5ec711fa1a HHH-9923 - Avoid cast to MetadataBuildingOptionsImpl in AnnotationMetadataSourceProcessorImpl#prepare() 2015-07-24 07:22:34 -05:00
Steve Ebersole f34c69cf11 HHH-9927 - Explicit calls to EntityManager.joinTransaction() with no active JTA transaction should throw a TransactionRequiredException 2015-07-23 14:47:48 -05:00
Steve Ebersole eaf562b129 HHH-9923 - Avoid cast to MetadataBuildingOptionsImpl in AnnotationMetadataSourceProcessorImpl#prepare() 2015-07-23 13:01:54 -05:00
Steve Ebersole 37cc060b45 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-23 12:25:40 -05:00
Steve Ebersole 11c76129bd HHH-9969 - MySQLDialect handling of numeric cast targets is incorrect 2015-07-23 10:28:43 -05:00
Steve Ebersole ff4774ad7e HHH-9974 - Rename org.hibernate.boot.model.relational.Schema to Namespace 2015-07-23 09:37:30 -05:00
Gail Badner 333e40465c HHH-9970 : Remove NoIdentityHQLScrollFetchTest and change HQLScrollFetchTest to work with "increment" ID generator 2015-07-22 18:47:52 -07:00
Steve Ebersole e678a5b8cf HHH-9955 - EnumType mapped via hbm.xml not always resolved properly as far as named/ordinal 2015-07-22 11:57:19 -05:00
Gail Badner 6bb8d03595 HHH-9637 : Join is reused when 2 explicit joins are used for the same ToOne association 2015-07-21 17:06:50 -07:00
Steve Ebersole ce54660cdb HHH-9910 - Schema migration (update) problems with catalog/schema restrictions
yes, in oracle
2015-07-21 18:31:09 -05:00
Steve Ebersole 6af89449f2 HHH-9956 - Enable derby database profile 2015-07-21 12:09:59 -05:00
Steve Ebersole 805600dd34 HHH-9956 - Enable derby database profile 2015-07-21 12:01:39 -05:00
Steve Ebersole b24ba54d38 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-20 12:06:34 -05:00
Emmanuel Bernard 4a2512e099 Minor JavaDoc improvement to clarify that class is no longer used 2015-07-20 18:44:10 +02:00
Steve Ebersole 855956135e HHH-9948 - SequenceStyleGenerator uses potentially incorrect name for table/sequence in DML statements 2015-07-19 09:00:41 -05:00
Steve Ebersole 3584d59c9e HHH-9949 - Recognize legacy http://hibernate.sourceforge.net/hibernate-configuration DTD base identifier 2015-07-19 08:28:34 -05:00
Steve Ebersole cfd5414321 HHH-9948 - SequenceStyleGenerator uses potentially incorrect name for table/sequence in DML statements 2015-07-18 17:44:11 -05:00
Steve Ebersole 7bc37fd2f3 HHH-9948 - SequenceStyleGenerators uses potentially incorrect name for table/sequence in DML statements 2015-07-18 17:22:57 -05:00
Steve Ebersole d7b1afeed7 HHH-9947 - PhysicalNamingStrategy#toPhysicalTableName called rather than #toPhysicalColumnName for some columns 2015-07-18 17:22:26 -05:00
Steve Ebersole 837e9913c1 HHH-9949 - Recognize legacy http://hibernate.sourceforge.net/hibernate-configuration DTD base identifier 2015-07-18 17:18:36 -05:00
Steve Ebersole ee2099ff8a HHH-9945 - Allow Transaction to rollback if marked-for-rollback-only 2015-07-18 13:28:08 -05:00
Steve Ebersole f0f852f14f HHH-9931 - Enable pgsql database profile 2015-07-17 09:33:41 -05:00
Steve Ebersole bebfce7902 HHH-9930 - Enable mariadb (mysql) database profile 2015-07-17 09:33:41 -05:00
Emmanuel Bernard 1ade555321 Clarify that LEGACY is the default value for batch size style 2015-07-17 14:46:31 +02:00
Gunnar Morling e4781feb74 HHH-9244 Using collection owner name in exception message 2015-07-16 10:05:57 +02:00
Gunnar Morling 5e894c993b HHH-9926 Properly applying auto-quoting setting 2015-07-16 07:13:06 +02:00
Andrea Boriero ddac360d7a HHH-9907 - Close loadCtClassFromClass() InputStream 2015-07-13 10:46:18 +01:00
barreiro 57f9836e2a HHH-9907 - bytecode enhancer - fix resource path on windows 2015-07-09 06:05:20 +01:00
Steve Ebersole c44afee6dc HHH-9905 - JPA integration property "javax.persistence.validation.factory" not passed along to TypeSafeActivator 2015-07-08 11:02:02 -05:00
Steve Ebersole 02026dec78 HHH-3949 - Intrumentated to one relations can not be join fetched 2015-07-07 13:48:35 -05:00
Andrea Boriero 0e9a839ca1 HHH-9899 : Fix checkstyle errors 2015-07-07 16:39:40 +01:00
Gunnar Morling 710e1f0288 HHH-9899 Enable integrators to plug in custom MetadataBuilder and Metadata 2015-07-07 10:52:59 +02:00
Steve Ebersole 83f4d4b81d HHH-8558 - Bytecode enhancer: lazy loading support - checkstyle fix 2015-07-06 17:00:31 -05:00
Steve Ebersole ae070f32c9 HHH-9822 - Switch runtime JPA Class transformation to use new bytecode Enhancer 2015-07-06 16:28:28 -05:00
barreiro 9352546006 HHH-8558 - Bytecode enhancer: skip creation of proxy factory 2015-07-06 13:34:32 -05:00
barreiro 8053fa7698 HHH-8558 - Bytecode enhancer: fix classloading issues on testsuite 2015-07-06 13:34:32 -05:00
barreiro d5ed3a87c4 HHH-8559 - Bytecode enhancemer: add test for HHH-3949
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java
2015-07-06 13:34:31 -05:00
barreiro 44a02e5efc HHH-8558 - Bytecode enhancer: testsuite reorganization with added lazy loading tests 2015-07-06 13:34:31 -05:00
barreiro c6fa2b1df1 HHH-8558 - Bytecode enhancer: lazy loading support 2015-07-06 13:34:31 -05:00
Steve Ebersole 750d6fb090 HHH-9857 - Reuse of EntityEntry for bytecode enhanced read-only reference cached entities 2015-07-06 13:24:57 -05:00
John O'Hara 3a515b5d39 HHH-9857 - Reuse of EntityEntry for bytecode enhanced read-only reference cached entities 2015-07-06 13:24:57 -05:00
Andrea Boriero d29b55a31a HHH-9849 - Fix Duplicate column name for mixed case column name on schema update 2015-07-06 17:53:20 +01:00
Andrea Boriero 9024ff55d6 HHH-9849 - Add test for issue 2015-07-06 17:53:20 +01:00
Radim Vansa 2f1b67b03f HHH-9843 Use optimized cache key implementation in Infinispan 2LC
* When multi-tenancy is not used, entity's @Id can be used as key to the cache
* Added Type to CacheDataDescription (in SPI), later used for container key equivalence
* Introduced CacheKeysFactory to SPI
* Pending puts cache is now per region - this is necessary as we need to use custom key equivalence
2015-07-06 11:40:17 -05:00
Steve Ebersole 8e2d1a12ae HHH-9166 handle nested exceptions with TemplatedViolatedConstraintNameExtracte - fixed bad braces 2015-07-06 11:09:03 -05:00
Steve Ebersole 9b5bb9751c HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 15:47:08 -05:00
Steve Ebersole 0d6393a8b1 HHH-9887 - Make sure the JPA temp ClassLoader is not used to load Class definitions that are then held on to 2015-07-02 02:50:12 -05:00
Gail Badner abd0461d34 HHH-8172 : @Embedded object containing a null attribute cannot be used as a query parameter (test case) 2015-07-01 21:32:56 -07:00
Radim Vansa e5f4b616d4 HHH-9840 Checkstyle fixes 2015-07-01 23:19:46 +01:00
Radim Vansa cffe71aeba HHH-9840 Change all kinds of CacheKey contract to a raw Object
* Replaced all CacheKey with Object
* Because of statistics, added unwrap operation to all AccessStrategies
2015-07-01 23:14:13 +01:00
Sanne Grinovero 16ae00a53a HHH-9840 Allow 2nd level cache implementations to customize the various key implementations 2015-07-01 20:42:51 +01:00
Sanne Grinovero 9ac0a343ac HHH-9840 Refactor org.hibernate.cache.spi.CacheKey into an interface 2015-07-01 20:42:51 +01:00
Sanne Grinovero ea82d09101 HHH-9885 The default ClassLoaderService implementation should handle java.lang.LinkageError 2015-07-01 15:06:40 +01:00
Brett Meyer 11ae0f72c8 HHH-9166 handle nested exceptions with TemplatedViolatedConstraintNameExtracter 2015-06-26 15:19:20 -04:00
Gail Badner d0d0963c18 HHH-2851 : ParameterTranslationsImpl fails to correctly determine parameter type 2015-06-17 15:41:19 -07:00
Gail Badner 1ec7688782 HHH-9862 : Multiple TREAT operators does not work properly for joined inheritance (test case) 2015-06-15 12:54:29 -07:00
Andrea Boriero 066e13cbb5 HHH-9866 - Fix Wrong join table column names generation with globally_quoted_identifiers 2015-06-14 15:52:43 +01:00
Andrea Boriero 5049c15c0b HHH-9866 - Add test for issue 2015-06-14 13:35:49 +01:00
Gail Badner 5eb4c0bdc5 HHH-9518 : Add tests for new warnings 2015-06-11 15:47:53 -07:00
Gail Badner f4f04901e2 HHH-9518 : Exception handling around collection session access needs to be improved 2015-06-11 11:58:06 -07:00
Steve Ebersole b272080645 HHH-9859 - ResourceLocalTransactionCoordinatorImpl#isJoined bad impl 2015-06-09 15:25:56 -05:00
Steve Ebersole 0ea03fd9a4 HHH-9856 - EntityManager.find() and getReference() throw incorrect exception for non-entity 2015-06-08 18:04:56 -05:00
Steve Ebersole 2b89553db5 HHH-9855 - Ignore non-entity classes listed as "managed classes" in persistence.xml 2015-06-08 14:24:14 -05:00
Gail Badner d0b429dc32 HHH-9851 : Limit handling is broken for dialects that don't support variable limit/offset 2015-06-05 14:13:29 -07:00
Steve Ebersole 30b260f14f HHH-9848 - Allow disabling auto-quoting of database object names (tables, columns, etc) 2015-06-05 13:43:10 -05:00
Steve Ebersole 5b1da92498 HHH-9838 - Leverage ClassLoaderService during JavassistLazyInitializer#getProxyFactory 2015-06-05 13:04:37 -05:00
Yann Diorcet c543cdbc07 DDL typo fix: Add only one space before unique keyword 2015-06-05 00:29:26 -04:00
Steve Ebersole 9e063ffa25 HHH-9837 - Remove reliance during annotation binding on org.hibernate.internal.util.ClassLoaderHelper
HHH-9841 - Redesign org.hibernate.property.PropertyAccessorFactory
2015-06-04 14:12:17 -05:00
Gail Badner 53a8b18ca8 HHH-9844 : org.hibernate.cache.spi.access.AccessType enum names are not valid values for hibernate.cache.default_cache_concurrency_strategy 2015-06-03 13:59:14 -07:00
Steve Ebersole 7fba0a00e9 HHH-9823 - org.hibernate.cfg.annotations.SimpleValueBinder#fillSimpleValue incorrectly using HCANN classloading directly 2015-05-27 15:33:12 -05:00
Gail Badner 4e2f7aeae4 HHH-9777 : Copy tests from AbstractDereferencedCollectionTest into subclasses 2015-05-27 18:09:10 +01:00
Gail Badner 93f56ecf5d HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (test case changes only)
2015-05-27 18:09:10 +01:00
Gail Badner e07eef3db1 HHH-9777 : Dereferenced collections are not processed properly
HHH-9777 : Dereferenced collections are not processed properly (mark test as FailureExpected due to partial fix)
2015-05-27 18:09:10 +01:00
Gail Badner 82cdc82a48 HHH-9777 : Dereferenced collections are not processed properly (test cases) 2015-05-27 18:09:09 +01:00
barreiro 58fd078e50 HHH-9811 - Enforce uniqueness on EntityPersister#resolveAttributeIndexes 2015-05-27 12:07:19 -05:00
barreiro f795dfc2bc HHH-9811 - Change EntityPersister#resolveAttributeIndexes to take String[] 2015-05-27 12:07:19 -05:00