Commit Graph

2738 Commits

Author SHA1 Message Date
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