Commit Graph

2776 Commits

Author SHA1 Message Date
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
Steve Ebersole ac16e825f8 HHH-10128 - @Enumerated(EnumType.STRING) not working as expected with PosgreSQL database 2015-09-28 14:57:47 -05:00
Steve Ebersole 59a8d3122f HHH-10066 - Drop and recreate AuxiliaryDatabaseObjects as part of schema update 2015-09-28 14:26:57 -05:00
Steve Ebersole 2964ecbf1b HHH-10135 - DB2Dialect should override getSelectSequenceNextValString 2015-09-27 08:01:26 -05:00