Vlad Mihalcea
e9b48a881d
Change PreparedStatementSpyConnectionProvider so that it works with any given ConnectionProvider
2016-06-14 13:52:35 +03:00
Vlad Mihalcea
6142f92d2f
Improve the PreparedStatement assertion mechanism to rely on Mockito solely
2016-06-14 12:50:43 +03:00
Chris Cranford
be93105e9a
HHH-10299 - Fix DOM4J entity-mode deprecation warning for Envers audited entities.
2016-06-13 23:29:38 -05:00
Andrea Boriero
0eaf431ef6
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
2016-06-13 19:26:40 -07:00
Andrea Boriero
2ea122aedd
HHH-10352 - Fix HBM2DDL does not use described name for foreign key in join inheritance
2016-06-13 16:58:32 -07:00
Andrea Boriero
4afa8fb57d
HHH-10352 - Add test for issue
2016-06-13 16:58:32 -07:00
Andrea Boriero
35cefeda2f
HHH-10796 - Fix org.hibernate.query.Query<R> setProperties(Map map); set to null parameters not contained in the map
2016-06-13 14:02:47 -07:00
Andrea Boriero
6027d8319e
HHH-10796 - Add test for issue
2016-06-13 14:02:47 -07:00
Vlad Mihalcea
8513a55255
HHH-10822 - Wrong signature for SharedSessionContract#setJdbcBatchSize
2016-06-13 18:59:27 +03:00
Andrej Golovnin
28af8cb95a
HHH-10835 The hash code calculation of the EntityKey should also include the hash code of the root entity name.
2016-06-13 12:21:40 +01:00
Chris Cranford
5318cef733
HHH-10803 - Fix test to assert based on exception typing.
2016-06-11 16:02:25 -05:00
Chris Cranford
131127a498
HHH-10803 - Fix getParameter methods to be JPA compliant with thrown exception types.
2016-06-11 16:02:24 -05:00
Chris Cranford
42f3028dca
HHH-10833 - JPA NoResultException and NonUniqueResultException not thrown from getSingleResult.
2016-06-11 15:56:36 -05:00
Gail Badner
ec86d2d446
HHH-10511 : Restore and deprecate org.hibernate.property.access.spi.EnhancedGetterMethodImpl to maintain backward-compatibility
2016-06-10 14:31:01 -07:00
Vlad Mihalcea
a599d4fc1d
HHH-10797 - PostgreSQL81Dialect does not honor the lock timeout settings
...
HHH-10799 - Add PostgreSQL 9.5 Dialect which supports the SKIP LOCKED clause
HHH-10816 - SQLServer2005Dialect does not use NOWAIT for aliases
HHH-10817 - AbstractHANADialect should support the NOWAIT directive in the FOR UPDATE clause
2016-06-10 19:22:00 +03:00
Andrea Boriero
3d74c45e1d
HHH-10820 - Fix InformationExtractorJdbcDatabaseMetaDataImpl quoted table names
2016-06-10 13:52:55 +01:00
Andrea Boriero
c713c56f6c
HHH-10820 - Add test for issue
2016-06-10 13:15:55 +01:00
Andrea Boriero
93a1a1f531
HHH-10427 - Modify test
2016-06-09 18:53:52 +01:00
Andrea Boriero
1beb6ec27b
HHH-10427 - Fix Checkstyle error
2016-06-09 18:49:45 +01:00
Sanne Grinovero
dfa3f52e25
HHH-10427 Make sure to cache Provided services in the fast-access map as well
2016-06-09 11:58:31 -05:00
Sanne Grinovero
f7174c9207
HHH-10427 Protect from double initialization and from concurrent destroy actions
2016-06-09 11:58:31 -05:00
Sanne Grinovero
b626f289b7
HHH-10427 All access to mutable fields needs lock protection
2016-06-09 11:58:31 -05:00
Sanne Grinovero
5a3260fb02
HHH-10427 Binding to alternative implementations need to be a final field
2016-06-09 11:58:31 -05:00
Gail Badner
9ecc646df2
HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services
2016-06-09 11:58:31 -05:00
Andrea Boriero
c1fde98aee
HHH-10427 - Fix ServiceRegistry creates multiple service instances and returns uninitialized services
2016-06-09 11:58:31 -05:00
Andrea Boriero
493793a299
HHH-10427 - Add test for issue
2016-06-09 11:58:31 -05:00
barreiro
86727515f4
HHH-10245 - [enhancer] Do not expose ClassPool
2016-06-09 10:52:13 -05:00
barreiro
d95cecd91b
HHH-10642 - [enhancer] Use INVOKEVIRTUAL instead of INVOKESPECIAL
2016-06-09 10:52:13 -05:00
barreiro
68169968a5
HHH-10511 - drop EnhancedGetterMethod: use GetterMethod / GetterField instead
2016-06-09 10:52:13 -05:00
barreiro
c33735108a
HHH-10583 - [enhancer] also consider attribute type when finding the right mappedBy value
2016-06-09 10:52:13 -05:00
barreiro
37b9a0c903
HHH-10540 - [enhancer] Add CompositeOwner interface only once
2016-06-09 10:52:13 -05:00
Matthias Kurz
78de650efe
HHH-10643 - Attribute 'foreignKeyDefinition' of @javax.persistence.ForeignKey ignored by schema exporter
2016-06-07 11:36:30 +03:00
Dionis Argiri
2abf9ddac4
HHH-10805 - fix hierarchy of PostgreSQL dialects.
2016-06-07 11:17:15 +03:00
Andrea Boriero
30ad787c9e
HHH-10802 - Fix Attempt to resolve foreign key metadata from JDBC metadata failed to find column mappings for foreign key
2016-06-06 16:51:57 +01:00
Andrea Boriero
e03d4d1f88
HHH-10802 - Add test for issue
2016-06-06 16:51:57 +01:00
Alex Belyaev
816c97613d
HHH-9512: Avoid creation of invalid managed -> managed entity mapping in MergeContext when traversing cascade loop
2016-06-06 17:31:08 +03:00
Gail Badner
62ac35213f
HHH-10679 HHH-10712 : Fix subselect fetching in load plans
...
(cherry picked from commit d444be1fdbf3618ce1f52b6ea8b8812fbfd795db)
Conflicts:
hibernate-core/src/main/java/org/hibernate/loader/plan/exec/process/internal/ResultSetProcessingContextImpl.java
2016-06-02 13:03:43 -07:00
Vlad Mihalcea
545930c39f
HHH-1594 - Add on-delete="cascade" support to unidirectional *ToOne relationships.
2016-06-02 16:53:24 +03:00
Martin Simka
c579c8b451
HHH-10756 fix procedure name in test
2016-06-02 08:01:24 +03:00
Anthony Foulfoin
db6832fc1f
HHH-10786 - Add MySQL 5.7 JSON datatype support
2016-06-02 07:52:11 +03:00
barreiro
e615d76a26
HHH-10646 - [enhancer] Add support for @MappedSuperclass
2016-06-01 22:16:03 -05:00
Steve Ebersole
3a0824a037
HHH-10287 - Cache keys no longer include the entity type
2016-06-01 20:51:46 -05:00
Andrea Boriero
114ea15b30
HHH-10085 HHH-10143 - Fix issues with Criteria and case expressions
2016-06-01 00:16:01 -05:00
Louis Jacomet
73aa359242
HHH-10664 Remove duplicate cacheAccess.close() invocation
2016-05-31 23:55:23 -05:00
Andrea Boriero
030f442f3c
HHH-10372 - Fix Sequence generator for idbag ignores generator parameters
2016-05-31 23:44:52 -05:00
Andrea Boriero
a9e4eb4895
HHH-10373 - Add test for issue
2016-05-31 23:44:52 -05:00
Gail Badner
885f76a92f
HHH-10757 : select new ..." with CAST( NULL AS ...) fails
2016-05-31 17:13:22 -07:00
Janario Oliveira
8cd51b450a
HHH-7355 - Added support to join with of many-to-many relation
2016-05-31 16:57:34 +03:00
Timo Verhoeven
5e8bb78b77
HHH-10780 - Provide a PrimitiveByteArrayTypeDescriptor toString implementation
2016-05-31 12:07:44 +03:00
Timo Verhoeven
455368dccd
HHH-9676 - TypeSafeActivator.applyDDL doesn't process composing constraints when @NotNull is present
2016-05-31 07:57:36 +03:00
Gail Badner
f2427fa28a
HHH-10476 : Getting an entity with composite ID containing a detached entity fails if PersistenceContext contains a managed copy
2016-05-27 15:36:18 -07:00
Brett Meyer
53e044334e
HHH-10365 checkstyle
2016-05-26 14:13:54 -04:00
Brett Meyer
69bdf979cb
HHH-10365 added OsgiClassLoaderService support for non-container-managed JPA, tweaked method overloading
2016-05-26 12:05:46 -04:00
Kankare Timo
585a8aa757
HHH-10365: Initializing ClassLoaderService in OsgiPersistenceProvider.
2016-05-26 12:05:46 -04:00
Vlad Kuznetsov
bf9b3f524d
HHH-6781 - Class level @Where annotation is not enforced on collections of that class
2016-05-26 16:23:34 +03:00
Andrea Boriero
80472f6a43
HHH-10513 - Fix locking WARN message logged when query LockMode is NONE
2016-05-26 10:01:55 +01:00
Andrea Boriero
70c6abcbae
HHH-10513 - Add test for issue
2016-05-26 10:01:54 +01:00
Vlad Mihalcea
1345d515d2
HHH-10772 - RuntimeException during releaseStatements causes JDBC connection not to be closed
2016-05-26 10:32:43 +03:00
Dgray16
50b7882663
HHH-10766 Resolve mapping 'type' parameter error
2016-05-25 15:45:54 +03:00
Gail Badner
92dfd69937
HHH-10756 : StoredProcedureQuery with OUT param fails with Oracle when using named parameters
2016-05-24 16:45:28 -07:00
Vlad Mihalcea
a3207ca5a8
HHH-10754 - Add support for PARTITION keyword in @Formula
2016-05-24 21:38:51 +03:00
Vlad Mihalcea
f18a749c12
HHH-10431 - Session-level configurable batch size support
2016-05-24 16:52:46 +03:00
Michael Hum
5a47abbbfe
HHH-9951 - Formula annotation doesn't properly escape keywords/types
2016-05-24 09:54:21 +03:00
Guillaume Smet
5a1194d571
HHH-10760 Add a getter to Index to expose the columnOrderMap
2016-05-23 09:24:20 +01:00
Steve Ebersole
0e1b79d2b5
HHH-10708 - Accessing a lazy collection in an enhanced class deletes it afterwards
2016-05-20 08:52:22 -05:00
barreiro
e91feda6d9
HHH-10708 - Test cases
2016-05-20 08:52:21 -05:00
Chris Cranford
0a92e384bd
HHH-10736 - Fix regression introduced for windows line separator parsing.
2016-05-19 11:26:02 -05:00
Vlad Mihalcea
1223683192
Add a \r\n on the expected form too
2016-05-19 11:26:02 -05:00
Vlad Mihalcea
2315a5fcbf
HHH-10736
...
- Provide test case for situations when \r\n is used as a line separator
- Add a temporary "fix" to demonstrate how we can handle the issue
2016-05-19 11:26:01 -05:00
Vlad Mihalcea
e2c5b34093
Fix checkstyle issue caused by finally block being misplaced
2016-05-19 17:19:22 +03:00
Vlad Mihalcea
d658295025
Fix checkstyle issue due to improper use of spacing
2016-05-19 17:08:54 +03:00
a.navrotskiy
e6d3ad5013
HHH-9406 - Add method for get avg execution time for offen but really fast queries (where avg execution time ~0-1 ms)
2016-05-19 11:26:24 +03:00
Greg Jones
3ef05dea2f
HHH-9894 - Support Informix Boolean Type
2016-05-19 10:02:18 +03:00
soldierkam
87fb8af34f
HHH-10714 - Add support for @Immutable attribute types
2016-05-18 17:33:39 +03:00
Andrea Boriero
d47fc93090
HHH-10752 - Fix ProcedureCallImpl registers every paremeter twice
2016-05-18 12:34:33 +01:00
Vlad Mihalcea
c5704dbafa
HHH-10750 - Add stored procedure unit tests for Oracle, MySQL, PostgreSQL, and SQL Server
2016-05-18 13:16:22 +03:00
Vlad Mihalcea
231484662b
HHH-10689 - Fix tests failing when switching to Oracle
2016-05-17 17:44:32 +03:00
Steve Ebersole
bdff7ab169
HHH-9339 - java.lang.Optional support
2016-05-16 11:25:01 -05:00
Steve Ebersole
aa9e1f0baf
HHH-9339 - java.lang.Optional support
2016-05-16 11:14:05 -05:00
Andrea Boriero
18a068ab5d
HHH-10664 - Fix NativeQueryImpl#doScroll(ScrollMode) does not apply scrollmode
2016-05-13 16:06:59 +01:00
Andrea Boriero
d54b7ad50f
HHH-10691 - Fix other PostgreSQL test failures after HEM integration
2016-05-13 15:26:55 +01:00
Vlad Mihalcea
25c75eed6f
HHH-10691 - Fix tests failing when switching to PostgreSQL
...
HHH-10696 - Add a new CatalogFilterTest
2016-05-13 15:26:47 +01:00
Steve Ebersole
eb308a953a
HHH-9340 - Streams API for query result processing.
2016-05-13 08:38:39 -05:00
Andrea Boriero
b990cf08ea
HHH-9340 - Fix checkstyle error
2016-05-13 14:13:10 +01:00
Steve Ebersole
7cae5ba95b
HHH-9340 - Streams API for query result processing.
2016-05-13 07:13:02 -05:00
Andrea Boriero
14b34c78bd
HHH-10601 - Fix test
2016-05-13 11:47:09 +01:00
Andrea Boriero
0b9e81d35c
HHH-10526 - Fix SchemaMigrator does not apply SchemaFilter on foreign keys
2016-05-13 09:46:31 +01:00
Andrea Boriero
7ac83badf3
HHH-10605 - Fix HSQLDialect dosn't use 'if exists' when dropping sequences
2016-05-13 09:35:15 +01:00
Andrea Boriero
62a1b92881
HHH-10605 - Add test for issue
2016-05-13 09:35:15 +01:00
Chris Cranford
6871824f4d
HHH-8507 - Fix SQL Server 2005 limit handler to be tolerant of carriage returns.
2016-05-12 08:20:47 -05:00
Andrea Boriero
31a75390f7
HHH-10684 - Fix No target script generated for update action when using schema-generation
2016-05-12 10:50:48 +01:00
Andrea Boriero
58fce234df
HHH-10684 - Add test for issue
2016-05-12 10:50:48 +01:00
Andrea Boriero
67c0e68170
HHH-10678 - Fix hbm hibernate-mapping's schema attribute is ignored
2016-05-12 10:12:00 +01:00
Andrea Boriero
ed991e385e
HHH-10678 - Add test for issue
2016-05-12 10:12:00 +01:00
Andrea Boriero
251a19ef24
HHH-10718 - Fix Underscore in table name can result in SchemaExtractionException: More than one table found
2016-05-12 09:44:59 +01:00
Andrea Boriero
bc8fc81efa
HHH-10710 - Add test for issue
2016-05-12 09:44:59 +01:00
Andrea Boriero
ffb7470ce8
HHH-10601 - Fix Persistence.generateSchema - the output file contains duplicated DDL statements
2016-05-12 08:30:08 +01:00
Chris Cranford
8117588354
Checkstyle fix - Added file header.
2016-05-11 17:15:00 -05:00
Steve Ebersole
69b8202c75
HHH-9602 - Schema validation fails when materialized view is involved
2016-05-10 08:21:58 -05:00
dionis
8235721747
HHH-9602 - added new dialect for PostgreSQL 9.3 that supports materialized views & enable materialized view support.
2016-05-10 08:21:58 -05:00