Commit Graph

6371 Commits

Author SHA1 Message Date
barreiro 0145736fe5 HHH-10271 - Add ordinal() method to EventType and change EventListenerRegistryImpl to take advantage of that
(cherry picked from commit 340cee232a)
2015-11-12 08:16:09 -06:00
Stuart Douglas feacc4a3b0 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

(cherry picked from commit 991ff265da)
2015-11-12 06:52:05 -06:00
Gail Badner 38c355ed42 HHH-10273 : Reserved word used for database object in testsuite
(cherry picked from commit fa7851058c)
2015-11-11 18:15:02 -08:00
John O'Hara fc077401e7 HHH-10259 : ForUpdateFragment.toFragmentString() does not check if aliases are defined when lockOptions are not null 2015-11-11 16:33:14 -08:00
Steve Ebersole 60e8f8cfe4 HHH-10264 - hibernate.cache.auto_evict_collection_cache problems;
HHH-9140 - Error in CollectionCacheInvalidator when hibernate.cache.auto_evict_collection_cache is enabled

(cherry picked from commit 1d5b0779d6)
2015-11-10 09:15:12 -06:00
Janario Oliveira 6dbb3a8f57 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)

(cherry picked from commit bf2eb01856)
2015-11-10 09:15:00 -06:00
Emanuele Gesuato 92a830a5dd HHH-5946 - Wrong SQL generated when composites are compared using not-equal operator
(cherry picked from commit cd2b031b6b)
2015-11-09 23:08:37 -06:00
Steve Ebersole 7612f8c183 HHH-8847 - Exception thrown when trying to select a treated property
(cherry picked from commit 4132a4293a)
2015-11-09 22:42:45 -06:00
Steve Ebersole 823bf5e0d8 HHH-9475 - Cannot mix @MapKey with @Convert 2015-11-09 22:22:30 -06:00
Steve Ebersole 06637289b8 HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType
(cherry picked from commit f940c72aa9)
2015-11-09 22:06:18 -06:00
Steve Ebersole 5169f77fb2 HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType
(cherry picked from commit 7a2fbbd79a)
2015-11-09 22:04:47 -06:00
Janario Oliveira fa526f6011 HHH-9475 Cannot mix @MapKey with @Convert - Moved classes to reuse in test case; Added copy of type from referenced MapKey
(cherry picked from commit 80e851e7d0)
2015-11-09 21:49:23 -06:00
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 b4b6fa97e6 HHH-10145 - [maven plugin] Transitive dependencies as well
(cherry picked from commit 7da8e53469)
2015-11-06 12:22:50 -06:00
barreiro ab4cada056 HHH-10146 - [gradle plugin] Create loading classloader after classes have been compiled
(cherry picked from commit 0089a3f40f)
2015-11-06 12:22:39 -06:00
barreiro 577bd4752a HHH-10145 - [maven plugin] Include dependencies in loader classloader
(cherry picked from commit 080fcd9082)
2015-11-06 12:22:27 -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 3d89f9e771 HHH-8802 - Class cast exception thrown when trying to access Embedded type relationship path in Tuple
(cherry picked from commit 2e6811f413)
2015-11-05 09:35:57 -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 8a6f504d27 HHH-8775 - Exception when mapping a class more than once - applying tests from https://github.com/hibernate/hibernate-orm/pull/677 + fix
(cherry picked from commit 1a2bdd09e8)
2015-11-04 20:33:25 -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
Radim Vansa 957a210610 HHH-10163 QueryResultsRegion is not invalidated from evictAll() 2015-11-02 09:38:26 +01: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 315e57c6aa HHH-9160 - javax.persistence.Query#getParameterValue(String) returns the ParameterRegistration not the parameter value
(cherry picked from commit eb2f33328d)
2015-10-30 12:55:53 -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
Janario Oliveira 81eaf8a70c HHH-5948 - Trying to get a PluralAttributePath from a @MappedSuperclass throws org.hibernate.MappingException: Unknown collection role - Changed to read path from entity (not mappedclass) as defined in CollectionBinder.bind()
(cherry picked from commit 41879f6d1a)
2015-10-28 22:02:14 -05:00
Steve Ebersole 12ada0ce34 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field"
(cherry picked from commit bf41b43c16)
2015-10-28 21:27:40 -05:00
Steve Ebersole 2ed2319eb6 HHH-8712 - Hibernate startup error "HHH015011: Unable to locate static metamodel field"
(cherry picked from commit dbb84be810)
2015-10-28 20:45:16 -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 03b2e78136 5.0.3 release 2015-10-28 11:42:02 -05:00
Steve Ebersole fed9c2a748 5.0.3 release 2015-10-28 11:12:14 -05:00