Commit Graph

6587 Commits

Author SHA1 Message Date
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
Alex Snaps 0b57c4e787 HHH-10124 HHH-8732 Upgraded Ehcache to 2.10.1 2015-11-12 08:54:01 -06:00
Andrea Boriero 3147a2894d HHH-10270 - Hibernate User Guide transactions chapter examples are not properly rendered 2015-11-12 14:26:24 +00: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
Steve Ebersole 4132a4293a HHH-8847 - Exception thrown when trying to select a treated property 2015-11-09 22:41:59 -06:00
Steve Ebersole f940c72aa9 HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType 2015-11-09 22:05:47 -06:00
Steve Ebersole 7a2fbbd79a HHH-9710 - IllegalArgumentException passing null as parameter value with explicit TemporalType 2015-11-09 22:04:10 -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 85c1fd7e9e HHH-10145 - [maven plugin] Transitive dependencies as well 2015-11-06 12:17:41 -06:00
barreiro 0ab716cca6 HHH-10146 - [gradle plugin] Create loading classloader after classes have been compiled 2015-11-06 12:17:41 -06:00
barreiro 22a4bdd502 HHH-10145 - [maven plugin] Include dependencies in loader classloader 2015-11-06 12:17:41 -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 2e6811f413 HHH-8802 - Class cast exception thrown when trying to access Embedded type relationship path in Tuple 2015-11-05 09:35:14 -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 1a2bdd09e8 HHH-8775 - Exception when mapping a class more than once - applying tests from https://github.com/hibernate/hibernate-orm/pull/677 + fix 2015-11-04 20:32:46 -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
Radim Vansa 71e13cdf25 HHH-10185 In nonstrict-read-write mode the remove may be not applied 2015-11-04 12:10:11 +01: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
Radim Vansa 43345754f5 HHH-10163 QueryResultsRegion is not invalidated from evictAll() 2015-11-02 09:37:01 +01: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
Steve Ebersole eb2f33328d HHH-9160 - javax.persistence.Query#getParameterValue(String) returns the ParameterRegistration not the parameter value 2015-10-30 12:55:16 -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