3043 Commits

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

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 86727515f4fb1ad19414479dd51485a0aa3cc457)
2016-06-09 13:35:24 -07:00
barreiro
c43ba563da HHH-10642 - [enhancer] Use INVOKEVIRTUAL instead of INVOKESPECIAL
(cherry picked from commit d95cecd91bba082bb3795b97c1a7a68f8aadf8d6)
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 c33735108a128868023b736893ccf9bfcc37788e)
2016-06-09 12:26:34 -07:00
barreiro
7ef6400d05 HHH-10540 - [enhancer] Add CompositeOwner interface only once
(cherry picked from commit 37b9a0c903225083e52e160f78bdd7b0f3eb5e9c)
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 3a0824a03754eefa630e38f1a32ae2c2c0ef5c0d)

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
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
Andrea Boriero
93c0e252d4 HHH-10373 - Fix Sequence generator for idbag ignores generator parameters
(cherry picked from commit 030f442f3cd894ff9defff62ac3b0eecc39d9d83)
2016-06-01 19:24:16 -07:00
Andrea Boriero
eb8b0fa0bd HHH-10373 - Add test for issue
(cherry picked from commit a9e4eb489516bc67c054ca5d10c00a2723c7f7cf)
2016-06-01 19:19:50 -07:00
Gail Badner
2b385e79fb HHH-10757 : select new ..." with CAST( NULL AS ...) fails
(cherry picked from commit 885f76a92ff9d783cbdd3482cf74dfa5e14f01b3)
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 f2427fa28a5ba358fb73997d082879e0c610022e)
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
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
Dgray16
54d913e6ba HHH-10766 Resolve mapping 'type' parameter error
(cherry picked from commit 50b788266339ac7f22f2f43dc011378e7b0b0aad)
2016-05-25 15:12:54 -07:00
Gail Badner
08a51523a2 HHH-10756 : Move tests to hibernate-entitymanager 2016-05-24 17:01:55 -07:00
Gail Badner
29710c2d5a HHH-10756 : StoredProcedureQuery with OUT param fails with Oracle when using named parameters
(cherry picked from commit 92dfd6993753515943ab1d8ef182b169a55bfeb0)
2016-05-24 16:57:39 -07:00
Steve Ebersole
0f918b4d42 HHH-10708 - Accessing a lazy collection in an enhanced class deletes it afterwards
(cherry picked from commit 0e1b79d2b52d7281bf977c3c0ec691f6822011eb)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Collections.java

HHH-10708 : Corrections due to backporting
2016-05-20 16:09:09 -07:00
barreiro
9768cf21c5 HHH-10708 - Test cases 2016-05-20 14:59:34 -07:00
Andrea Boriero
a1c134dd50 HHH-1237 - Fix check style failure 2016-05-17 17:18:05 +01:00
Vlad Mihalcea
da347c6d0c HHH-10691 - Fix tests failing when switching to PostgreSQL
HHH-10696 - Add a new CatalogFilterTest
2016-05-13 15:29:04 +01:00
Andrea Boriero
a8deb5f1e0 HHH-10526 - Fix SchemaMigrator does not apply SchemaFilter on foreign keys 2016-05-13 09:48:00 +01:00
Andrea Boriero
f34c50c411 HHH-10605 - Fix HSQLDialect dosn't use 'if exists' when dropping sequences 2016-05-13 09:37:11 +01:00
Andrea Boriero
d97bd9722f HHH-10605 - Add test for issue 2016-05-13 09:37:04 +01:00
Chris Cranford
2b6ab8e8bb HHH-8507 - Fix SQL Server 2005 limit handler to be tolerant of carriage returns. 2016-05-12 08:27:47 -05:00
Andrea Boriero
ef6c9266e6 HHH-10684 - Fix No target script generated for update action when using schema-generation 2016-05-12 11:07:41 +01:00
Andrea Boriero
d6ea43d6c9 HHH-10684 - Add test for issue 2016-05-12 11:02:37 +01:00
Andrea Boriero
b6d010c07a HHH-10678 - Fix hbm hibernate-mapping's schema attribute is ignored 2016-05-12 10:15:30 +01:00
Andrea Boriero
d6db50897a HHH-10678 - Add test for issue 2016-05-12 10:14:26 +01:00
Andrea Boriero
55ce254d2d HHH-10718 - Fix Underscore in table name can result in SchemaExtractionException: More than one table found 2016-05-12 09:54:17 +01:00
Andrea Boriero
54ffced4dc HHH-10710 - Add test for issue 2016-05-12 09:47:21 +01:00
Michael Schnell
7236123b0c HHH-1237 Escaping colon in queries 2016-04-26 10:09:43 +03:00
Gustavo Adolfo Rodríguez Libreros
01430c5be1 HHH-9570: Auto-detect SQL Server 2014
Copying a previous workaround for the same issue: https://github.com/hibernate/hibernate-orm/pull/395

- Previously, SQL Server version 12 (SQL Server 2014) was an unknown version, resulting in the SQLServerDialect
- Add version 12 to the switch statement so that SQLServer2012Dialect  is now returned by default, as SQL Server 2014 is much more similar to SQL Server 2012 than SQL Server 2000
- Add test case
- Add Oracle and SQL Server environments for testing purpose
2016-04-25 17:39:51 +03:00
Martin Simka
350522b505 [HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest 2016-04-07 10:27:19 +03:00
Martin Simka
3df3e81c5f [HHH-10587] skip NationalizedIgnoreCaseTest on db2 and postgresql(plus) as they don't support nString 2016-04-07 10:10:45 +03:00
Jan Martiska
7769feec25 HHH-10598 - Oracle JDBC driver can't handle entities with a one-character name in some cases 2016-04-06 17:52:16 +03:00
Martin Simka
5a018fce44 [HHH-10588] use H2Dialect in ConnectionsReleaseTest 2016-04-06 17:33:35 +03:00
Danny02
00db5af3db HHH-10612 - Check for support of RefCursor in Java 8 2016-04-06 17:17:00 +03:00
Martin Simka
219ee94ad3 [HHH-10640] fix wrong expected statement on DB2 2016-04-06 16:02:14 +03:00
Vlad Mihalcea
de4637d592 Remove Diamond Operator from test cases 2016-04-06 13:25:24 +03:00