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
Chris Cranford
d44e535b12
Checkstyle fix
2016-05-06 20:57:16 -05:00
Naros
7854e1d338
HHH-9084 - Added regression test case.
2016-05-06 20:23:08 -05:00
Chris Cranford
2b66cd72bb
Checkstyle fixups
2016-05-06 18:37:59 -05:00
Steve Ebersole
8c9152040c
HHH-10664 - Prep 5.2 feature branch
2016-05-06 13:27:14 -05:00
Andrea Boriero
69c8ef29a8
Steve fix NoCdiAvailableTest
2016-05-06 13:13:30 -05:00
Andrea Boriero
a6af7c6f74
remove gradle stupid log :)
2016-05-06 13:13:29 -05:00
Andrea Boriero
9ae57a6f7a
remove hibernate-entitymanager project
2016-05-06 13:13:29 -05:00
Andrea Boriero
b77626ddbd
other changes
2016-05-06 13:12:39 -05:00
Andrea Boriero
37fc401da8
copy test from hem to core
2016-05-06 13:12:39 -05:00
Steve Ebersole
5e30247c6f
HHH-10669 - Allow to add SF-scoped services through a ServiceContributor
2016-05-06 13:12:38 -05:00
Steve Ebersole
60dd63536e
HHH-10726 - Support for Java 8 date/time types as Query parameters
2016-05-06 13:12:38 -05:00
Steve Ebersole
d44bacedd0
HHH-10674 - SessionFactoryObserver could use a sessionFactoryAboutToClose method
2016-05-06 13:12:38 -05:00
Steve Ebersole
6cb8ef26ac
HHH-10674 - SessionFactoryObserver could use a sessionFactoryAboutToClose method
2016-05-06 13:12:38 -05:00
Andrea Boriero
2e1d1a6f16
Fix TransactionJoiningTest
2016-05-06 13:12:38 -05:00
Chris Cranford
f30c879bca
Removed checkOpen() from accessTransaction()
2016-05-06 13:12:38 -05:00
Chris Cranford
0f2ced4668
- Add new configuration setting ALLOW_JTA_TRANSACTION_ACCESS. Uses can use this setting to
...
override default JPA behavior for transaction access if needed.
- Added new SPI method accessTransaction() which bypasses checks and returns the current or new transaction.
2016-05-06 13:12:38 -05:00
Steve Ebersole
f826b7d5e8
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (test fixup)
2016-05-06 13:12:38 -05:00
Steve Ebersole
52fd42ebb4
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Query#getHints)
2016-05-06 13:12:38 -05:00
Steve Ebersole
d06055a951
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Query#getHints)
2016-05-06 13:12:38 -05:00
Andrea Boriero
71f69b09a6
Fix LockTimeoutPropertyTest
2016-05-06 13:12:37 -05:00
Steve Ebersole
71009d0da4
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
9ecb2a3deb
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
1c1783e90f
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
b67b5866ac
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
68bde01676
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Chris Cranford
6e5a4e6335
Fix javadoc/comments to indicate ordinals are stored 0-based rather than 1-based.
2016-05-06 13:12:37 -05:00
Steve Ebersole
5a328d1d72
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
66802a70c1
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
1ece6056d1
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (fix test failures)
2016-05-06 13:12:37 -05:00
Steve Ebersole
4ad242799a
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (misc)
2016-05-06 13:12:37 -05:00
Andrea Boriero
614d406e8c
fix ValidatorFactory2PhaseInjectionTest
2016-05-06 13:12:37 -05:00
Steve Ebersole
7ce75e4080
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (autoClear fix)
2016-05-06 13:12:37 -05:00
Andrea Boriero
c4378c1c9d
Fix not masked properties
2016-05-06 13:12:37 -05:00
Andrea Boriero
4f1bca75bc
Fix JPA Transaction#commit() does not throw RollbacackException
2016-05-06 13:12:36 -05:00
Andrea Boriero
3637bd342d
Fix RefreshTest
2016-05-06 13:12:36 -05:00
Andrea Boriero
d6a3fdb771
Fix EntityManagerFactoryClosedTest
2016-05-06 13:12:36 -05:00
Chris Cranford
fd7ada315e
Fixed NullPointerException when building session.
2016-05-06 13:12:36 -05:00
Chris Cranford
a54da750ad
Fixed failing tests and code to treat '?' parameters as 0-based ordinals and '?<position>' parameters as named 1-based parameters.
2016-05-06 13:12:36 -05:00
Steve Ebersole
8a746b98a7
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (stored procedure queries)
2016-05-06 13:12:36 -05:00
Chris Cranford
affa6a086c
Fix FlushMode
2016-05-06 13:12:36 -05:00
Andrea Boriero
1e6a601795
Fix NonNullableCircularDependencyCascadeTest
2016-05-06 13:12:36 -05:00
Steve Ebersole
bedb33decf
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (Interceptor handling)
2016-05-06 13:12:36 -05:00
Andrea Boriero
8f812730d1
Fix setLockMode
2016-05-06 13:12:36 -05:00
Andrea Boriero
bec73b3bd3
Fix MultiCircleJpaCascadeTest#testPersistNoCascadeToTransient() test
2016-05-06 13:12:36 -05:00
Andrea Boriero
9e4b90e72a
Fix test transactionCoordinator.isActive() check
2016-05-06 13:12:35 -05:00
Andrea Boriero
7570baed15
Fix issue with jta getTransaction()
2016-05-06 13:12:35 -05:00
Chris Cranford
ad7771d489
Removed an unnecessary check.
2016-05-06 13:12:35 -05:00
Chris Cranford
35f27be589
Changed positional parameter mappings to be stored as list.
...
Added JPA positional and named parameter translation support.
2016-05-06 13:12:35 -05:00
Steve Ebersole
8ef423a1b3
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (have HibernateException extend JPA PersistenceException)
2016-05-06 13:12:35 -05:00
Andrea Boriero
f4d8a9d850
Fix unwarp for SharedSessionContractImplementor
2016-05-06 13:12:35 -05:00
Andrea Boriero
b352756377
Fix ManipulationCriteriaTest
2016-05-06 13:12:35 -05:00
Andrea Boriero
da4ee5bbac
Fix issue with getMetamodel() called before its initialization
2016-05-06 13:12:35 -05:00
Andrea Boriero
4f72bd0cef
Fix guessType() method refactoring
2016-05-06 13:12:35 -05:00
Andrea Boriero
3839fc8c8b
Fix ParameterTest
2016-05-06 13:12:35 -05:00
Andrea Boriero
13ce7148ae
Fix closing entity manager that uses a closed session factory, must throw IllegalStateException
2016-05-06 13:12:35 -05:00
Chris Cranford
c10c006b0d
Fix ordinal bind parameter binding to fix SQLLoaderTest testCompositeIdId.
2016-05-06 13:12:35 -05:00
Andrea Boriero
33c4f3b5b5
fix Session#refresh() exception
2016-05-06 13:12:35 -05:00
Steve Ebersole
d2ac092992
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods)
2016-05-06 13:12:35 -05:00
Steve Ebersole
5e37492490
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods)
2016-05-06 13:12:34 -05:00
Steve Ebersole
2c96937587
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (HEM tests - JPA requirements around access to Transaction delegate after EntityManager is closed; also its requirement that the same Transaction delegate be available across all calls to its commit/rollback methods)
2016-05-06 13:12:34 -05:00
Steve Ebersole
8e6d51d56d
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (added org.hibernate.boot.spi.SessionFactoryOptions.isJpaBootstrap)
2016-05-06 13:12:34 -05:00
Andrea Boriero
2d2e496e10
Fix MasterDetailTest
2016-05-06 13:12:34 -05:00
Steve Ebersole
482771ad99
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (initial compilation and work on hibernate-entitymanager tests)
2016-05-06 13:12:34 -05:00
Steve Ebersole
a7a039e291
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:34 -05:00
Steve Ebersole
16c78f0438
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:34 -05:00
Andrea Boriero
49514b92e3
Fix ImmutableNaturalIdTest
2016-05-06 13:12:34 -05:00
Andrea Boriero
dc0033aa9d
Fix IdClassTest
2016-05-06 13:12:34 -05:00
Andrea Boriero
44efc0162e
Fix error causing ClearEventListenerTest failure
2016-05-06 13:12:34 -05:00
Chris Cranford
d34153f52e
FIx setProperties functionality.
2016-05-06 13:12:34 -05:00
Chris Cranford
713263a71c
Fix SuppliedConnectionTest failure.
2016-05-06 13:12:34 -05:00
Steve Ebersole
ebfab98f2e
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:34 -05:00
Andrea Boriero
d9ac176989
Fix for TuplizerDynamicEntityTest and ImprovedTuplizerDynamicEntityTest
2016-05-06 13:12:34 -05:00
Chris Cranford
16b0b74bd2
Fixed assertion errors and session.merge returning correct exceptions.
2016-05-06 13:12:34 -05:00
Chris Cranford
4e2f0f804d
Fix typo
2016-05-06 13:12:33 -05:00
Chris Cranford
9076c78785
Fix TransactionRequiredException failures.
2016-05-06 13:12:33 -05:00
Andrea Boriero
a9ffd13efb
Fix SessionEventListenerManager serialization issue
2016-05-06 13:12:33 -05:00
Steve Ebersole
63e96a46ce
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:33 -05:00
Chris Cranford
a340d11eea
Fixed exception handling to expect IllegalArgumentException rather than QueryExceptioin
2016-05-06 13:12:33 -05:00
Andrea Boriero
4b2e96c6e9
Fix SecondaryTableTest
2016-05-06 13:12:33 -05:00
Andrea Boriero
7b107539db
Fix BasicHibernateAnnotationsTest
2016-05-06 13:12:33 -05:00
Andrea Boriero
d67db86f73
Fix EmbeddableIntegratorTest
2016-05-06 13:12:33 -05:00
Steve Ebersole
59ed7fa29b
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:33 -05:00
Andrea Boriero
5c5de945e5
HHH-10664 - Fix SortedSet issue
2016-05-06 13:12:33 -05:00
Chris Cranford
b4b158aaff
Fixed missing bound parameters not throwing QueryException
2016-05-06 13:12:33 -05:00
Chris Cranford
993e308e96
Fixed query-based read-only support during iteration.
2016-05-06 13:12:33 -05:00
Steve Ebersole
76bac3268a
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:33 -05:00
Andrea Boriero
34b439223e
Fix ConfigurationTest
2016-05-06 13:12:32 -05:00
Andrea Boriero
a0da5fe677
Fix some tests
2016-05-06 13:12:32 -05:00
Steve Ebersole
e3ab793fe8
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (continued fixing of hibernate-core test failures)
2016-05-06 13:12:32 -05:00
Steve Ebersole
87e3f0fd28
HHH-10664 - Prep 6.0 feature branch - merge hibernate-entitymanager into hibernate-core (first sucessful full compile of consolidated hibernate-core)
2016-05-06 13:12:32 -05:00
Steve Ebersole
774b805ce1
initial HEM->CORE consolidation work
2016-05-06 13:11:18 -05:00
Dominique Toupin
15c83ab61b
HHH-10332 - Disambiguate missing table name
2016-04-28 17:42:04 +03:00
Andrej Golovnin
58303884bd
HHH-10382 - GetterFieldImpl creates unnecessary objects
2016-04-28 11:16:48 +03:00
Kirill Vlasov
2d8e9d66e2
Fixing squid:S2259 - Null pointers should not be dereferenced
2016-04-27 17:29:36 +03:00
Michael Schnell
b3e260b234
HHH-1237 Escaping colon in queries
2016-04-26 10:08:54 +03:00
Gustavo Adolfo Rodríguez Libreros
5c724307c7
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:57:06 +03:00
Martin Simka
3152bb0ffb
[HHH-10290] ignore environment property hibernate.jdbc.batch_versioned_data in BatchVersionedDataConfigTest
2016-04-07 10:21:06 +03:00
Martin Simka
18dd88c957
[HHH-10587] skip NationalizedIgnoreCaseTest on db2 and postgresql(plus) as they don't support nString
2016-04-07 10:01:34 +03:00
Jan Martiska
78685964ec
HHH-10598 - Oracle JDBC driver can't handle entities with a one-character name in some cases
2016-04-06 17:44:53 +03:00
Martin Simka
e591b70cf7
[HHH-10588] use H2Dialect in ConnectionsReleaseTest
2016-04-06 17:29:18 +03:00