Commit Graph

6876 Commits

Author SHA1 Message Date
Vlad Mihalcea 0609471258 HHH-10826 Auxiliary Database Object no longer documented
HHH-10334 @Formula annotation javadoc contains database dependent sample usage

Created a new section related to automatic schema generation
2016-06-20 15:06:58 +03:00
Steve Ebersole 7096f223e6 HHH-10774 - SortedMap defined in .hbm.xml are not sortable
(cherry picked from commit 60aac117e6)
2016-06-19 12:10:12 -05:00
Steve Ebersole 10123cf46a HHH-10277 - AttributeConverter not applied to attributes of an embeddable used as collection element
(cherry picked from commit b7f17ce898)
2016-06-16 14:15:20 -07:00
Gail Badner d2ed801ea8 HHH-10562 : ManagedEntity linked list broken when non-associated enhanced entity is evicted
(cherry picked from commit 7ed51f44dd)
2016-06-15 22:14:43 -07:00
Gail Badner bfc4289f12 HHH-10375 : Add import required to backport 2016-06-15 17:43:50 -07:00
Gail Badner 532b63042c HHH-10360 : Natural ID columns are nullable by default
(cherry picked from commit 10a035481d)
2016-06-15 17:35:42 -07:00
Gail Badner e72ff7687c HHH-10360 : Added test cases
(cherry picked from commit 67c7858dd5)
2016-06-15 17:35:20 -07:00
Chris Cranford fbe730abf1 HHH-8305 - Fix ToOne join tables with optional=true and OneToOne inverse mappings.
(cherry picked from commit 86fad51)
2016-06-15 15:35:46 -05:00
Andrea Boriero 557de57927 HHH-10375 - Fix adding an entity at index to list with @OrderColumn in detached Entity
(cherry picked from commit da0b46d61c)
2016-06-14 16:30:30 -07:00
Andrea Boriero cf665a3e84 HHH-10375 - Add test for issue
(cherry picked from commit 6e47c2840a)
2016-06-14 16:30:20 -07:00
Chris Cranford b57bbdabf6 HHH-10811 - Fix character encoding issues with Enver's XML mappings when JVM encoding isn't UTF-8.
(cherry picked from commit 77a4a95)
2016-06-14 11:37:36 -05:00
Gail Badner b74868d658 HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services 2016-06-13 22:31:17 -07:00
Chris Cranford 5ab790cad2 HHH-10299 - Fix DOM4J entity-mode deprecation warning for Envers audited entities.
(cherry picked from commit be93105)
2016-06-13 23:30:04 -05:00
Chris Cranford 6117886049 HHH-7510 - Fix LazyInitializationException for ManyToMany when deleting and global_with_modified_flag is enabled.
(cherry picked from commit 69b8879)
2016-06-13 22:24:50 -05:00
Gail Badner 27ed69c2bc HHH-10515 : Moved test to hibernate-entitymanager` 2016-06-13 19:43:09 -07:00
Andrea Boriero c892df7aa9 HHH-10515 - Add test for issue
HHH-10515 - Fix Stored procedure execution fails to find column

HHH-10515 : Add test case using no JDBC DatabaseMetaData; move original test case to hibernate-core

HHH-10515 - Fix Stored procedure execution fails to find column

(cherry picked from commit 0eaf431ef6)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
2016-06-13 19:39:37 -07:00
Chris Cranford 8f1dbf51f0 HHH-10841 - Fix columns with generated annotation not being tracked by Envers. 2016-06-13 19:24:31 -05:00
Andrea Boriero 312ef5600f HHH-10352 - Fix HBM2DDL does not use described name for foreign key in join inheritance
(cherry picked from commit 2ea122aedd)
2016-06-13 17:04:54 -07:00
Andrea Boriero a1b133381f HHH-10352 - Add test for issue
(cherry picked from commit 4afa8fb57d)
2016-06-13 17:04:32 -07:00
Andrea Boriero dc32226aab HHH-10796 - Fix org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map
(cherry picked from commit 35cefeda2f)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/query/internal/AbstractProducedQuery.java
2016-06-13 16:30:20 -07:00
Gail Badner 61bc59af15 HHH-10796 : Correct to use org.hibernate.Query for backport 2016-06-13 14:23:20 -07:00
Andrea Boriero ea4ddbd690 HHH-10796 - Add test for issue
(cherry picked from commit 6027d8319e)
2016-06-13 14:18:49 -07:00
Gail Badner 66f08002cb HHH-10511: Restore and deprecate org.hibernate.property.access.spi.EnhancedGetterMethodImpl to maintain backward-compatibility 2016-06-10 15:21:21 -07:00
Andrea Boriero 27447cf118 HHH-10820 - Fix InformationExtractorJdbcDatabaseMetaDataImpl quoted table names 2016-06-10 14:16:45 +01:00
Andrea Boriero 3f51bdd254 HHH-10820 - Add test for issue 2016-06-10 14:09:26 +01:00
barreiro 822dcade28 HHH-10511 - drop EnhancedGetterMethod: use GetterMethod / GetterField instead
(cherry picked from commit 68169968a5)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedGetterMethodImpl.java
2016-06-09 17:40:43 -07:00
barreiro 3c6ae4112e HHH-10245 - [enhancer] Do not expose ClassPool
(cherry picked from commit 86727515f4)
2016-06-09 13:35:24 -07:00
barreiro c43ba563da HHH-10642 - [enhancer] Use INVOKEVIRTUAL instead of INVOKESPECIAL
(cherry picked from commit d95cecd91b)
2016-06-09 13:19:48 -07:00
barreiro 2ae61a3e33 HHH-10583 - [enhancer] also consider attribute type when finding the right mappedBy value
(cherry picked from commit c33735108a)
2016-06-09 12:26:34 -07:00
barreiro 7ef6400d05 HHH-10540 - [enhancer] Add CompositeOwner interface only once
(cherry picked from commit 37b9a0c903)
2016-06-09 12:05:57 -07:00
Gail Badner 81ffaacf09 HHH-10287 - Made necessary changes to backport 2016-06-07 12:00:43 -07:00
Steve Ebersole 6667020808 HHH-10287 - Cache keys no longer include the entity type
(cherry picked from commit 3a0824a037)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
	hibernate-testing/src/main/java/org/hibernate/testing/cache/BaseNaturalIdRegionAccessStrategy.java
	hibernate-testing/src/main/java/org/hibernate/testing/cache/ReadWriteNaturalIdRegionAccessStrategy.java
2016-06-07 12:00:43 -07:00
Vlad Mihalcea 1f14ec555c HHH-10361 - Child module osgi does not exist in hibernate-tutorials 2016-06-07 17:23:52 +03:00
Matthias Kurz d8865d22ac HHH-10643 - Attribute 'foreignKeyDefinition' of @javax.persistence.ForeignKey ignored by schema exporter 2016-06-07 08:51:51 +03:00
Andrea Boriero ee4dc0a03e HHH-10802 - Fix Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign key 2016-06-06 17:01:26 +01:00
Andrea Boriero b76f8c2065 HHH-10802 - Add test for issue 2016-06-06 17:01:15 +01:00
Gail Badner 9c29ec22c5 HHH-10679 HHH-10712 : Fix subselect fetching in load plans 2016-06-02 13:25:16 -07:00
Vlad Mihalcea 0d38b85d79 Add Oracle and SQL Server dependencies based on the supplied db property 2016-06-02 09:54:24 +03:00
Martin Simka f512e6631b HHH-10756 fix procedure name in test 2016-06-02 08:27:13 +03:00
Andrea Boriero 93c0e252d4 HHH-10373 - Fix Sequence generator for idbag ignores generator parameters
(cherry picked from commit 030f442f3c)
2016-06-01 19:24:16 -07:00
Andrea Boriero eb8b0fa0bd HHH-10373 - Add test for issue
(cherry picked from commit a9e4eb4895)
2016-06-01 19:19:50 -07:00
Gail Badner 2b385e79fb HHH-10757 : select new ..." with CAST( NULL AS ...) fails
(cherry picked from commit 885f76a92f)
2016-05-31 17:30:28 -07:00
Timo Verhoeven adba228941 HHH-10780 - Provide a PrimitiveByteArrayTypeDescriptor toString implementation 2016-05-31 12:29:58 +03:00
Timo Verhoeven 86e9efe788 HHH-9676 - TypeSafeActivator.applyDDL doesn't process composing constraints when @NotNull is present 2016-05-31 09:15:09 +03:00
Gail Badner 40bb7d518c HHH-10476 : Getting an entity with composite ID containing a detached entity fails if PersistenceContext contains a managed copy
(cherry picked from commit f2427fa28a)
2016-05-27 15:59:02 -07:00
Andrea Boriero 8e3e01340f HHH-10513 - Fix locking WARN message logged when query LockMode is NONE 2016-05-26 10:35:17 +01:00
Andrea Boriero 4a15d23aec HHH-10513 - Add test for issue 2016-05-26 10:35:17 +01:00
Vlad Mihalcea d70c2c04ef HHH-10773 - Add a toString() implementation to the READ_WRITE Ehcache Item object 2016-05-26 11:01:51 +03:00
Vlad Mihalcea 2ba9b98cbc HHH-10772 - RuntimeException during releaseStatements causes JDBC connection not to be closed 2016-05-26 10:35:10 +03:00
Gail Badner bec1ff8f83 HHH-10766 : Correct test to use Session.createSQLQuery (session.createNativeQuery API is 5.2+) 2016-05-25 15:20:10 -07:00