Commit Graph

1435 Commits

Author SHA1 Message Date
Steve Ebersole e9405fe031 HHH-1168 - Problem combining locking and paging on Oracle
(cherry picked from commit 4b2871cfba)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/internal/StoredProcedureOutputsImpl.java
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
	hibernate-core/src/main/java/org/hibernate/loader/collection/DynamicBatchingCollectionInitializerBuilder.java
	hibernate-core/src/main/java/org/hibernate/loader/entity/DynamicBatchingEntityLoaderBuilder.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/QueryImpl.java
2012-11-20 13:57:11 -06:00
brmeyer 00849bce2e HHH-7785 Reverting a few more Dialect supportsNotNullUnique changes 2012-11-14 11:02:32 -05:00
brmeyer e733e7dd79 HHH-7785 Reverting supportsNotNullUnique change in HSQL 2012-11-13 11:47:29 -05:00
Steve Ebersole b69c554f9e HHH-7643 - java.io.NotSerializableException org.hibernate.type.EnumType
(cherry picked from commit 2158bec47c)
2012-11-12 14:22:17 -06:00
Steve Ebersole 695213568d HHH-7780 - many envers tests are failing
(cherry picked from commit 07fc1627cd)
2012-11-12 13:54:26 -06:00
Steve Ebersole 26a42cb365 HHH-7777 - Deprecate XmlRepresentableType
(cherry picked from commit 5ef8a667ff)
2012-11-12 12:14:34 -06:00
Steve Ebersole 83e122773d HHH-7782 - Deprecate PersistentElementHolder, PersistentIndexedElementHolder, PersistentListElementHolder and PersistentMapElementHolder
(cherry picked from commit ec942edb48)
2012-11-12 09:33:22 -06:00
Steve Ebersole 778c82b512 HHH-7777 - Deprecate XmlRepresentableType
(cherry picked from commit bcd15dc0eb)
2012-11-12 08:56:48 -06:00
Strong Liu 0d2a967fc3 HHH-7773 - Backout HHH-7544 (Pull Request 379) 2012-11-11 23:26:53 +08:00
Steve Ebersole 0251d13adc HHH-7769 - Define short-names for built-in MultiTableBulkIdStrategy impls 2012-11-08 15:15:20 -06:00
Steve Ebersole 0ef75629b9 HHH-7768 - Names of invalid named queries incorrectly concatenated
(cherry picked from commit dffb86c52d)
2012-11-08 13:11:21 -06:00
Steve Ebersole 67b973dc52 HHH-7767 - JoinWalker creates ".." substring in association path
(cherry picked from commit 209763faa8)
2012-11-08 11:59:00 -06:00
Alex Kalashnikov 0f442db095 HHH-7767 JoinWalker creates ".." substring in association path
(cherry picked from commit 9f462834da)
2012-11-08 11:58:59 -06:00
Steve Ebersole e5f0db2455 HHH-7377 - NullPointerException in conjunction with natural IDs after Session.clear()
(cherry picked from commit 785e2d869e)
2012-11-08 10:00:44 -06:00
Steve Ebersole 502542d2b6 HHH-7757 - NOT IN row-value syntax ignores NOT
(cherry picked from commit 78483e6389b73416bc38ee54dd6a92bc2a4843a9)
2012-11-06 13:13:02 -06:00
Steve Ebersole f916d49aee HHH-7645 - Enum property defined within orm.xml using enum-type string does not work
(cherry picked from commit 4294e0faee)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
2012-11-06 11:33:13 -06:00
Steve Ebersole 76b2cd201f HHH-7748 - EnumType crashes because of unsupported JDBC API in Oracle
(cherry picked from commit 432dab3465)
2012-11-06 08:27:28 -06:00
Strong Liu d93b2bf9ab HHH-7725 - fixing failing test that not clean up statistic before using it 2012-11-01 14:05:27 +08:00
brmeyer 1fdba5d906 HHH-7725 unclosed Statement 2012-10-31 17:15:23 -04:00
brmeyer f16a55f99c HHH-5267 NPE when updating a detached entity with a one-to-one
association changed to null that is mapped with delete-orphan
2012-10-31 13:54:49 -04:00
Steve Ebersole cac22a3926 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 1b5088a911)
2012-10-31 12:42:50 -05:00
Steve Ebersole 87fe888ad5 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable 2012-10-31 11:45:55 -05:00
Steve Ebersole 54d29f715b HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 0ab36bed8c)
2012-10-31 11:29:15 -05:00
Steve Ebersole dbf5c3dcea HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 9f0bbe10a6)
2012-10-31 11:29:15 -05:00
Steve Ebersole e32d7f277c HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit c94752d243)
2012-10-31 11:29:14 -05:00
Steve Ebersole e3239ae188 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit df809231c5)
2012-10-31 11:29:14 -05:00
Steve Ebersole 2729d462c7 HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
(cherry picked from commit 3e69b7bd53)
2012-10-31 11:29:13 -05:00
Steve Ebersole 1d9e45bc32 HHH-1570 - criteria-api: filtering by key-many-to-one causes invalid sql
(cherry picked from commit 3e3b439e02)
2012-10-30 12:27:29 -05:00
brmeyer 9a8d6955b0 HHH-7728 added null checks 2012-10-30 12:21:19 -04:00
Thorsten Schäfer a4f99386fb HHH-7728 Adapt hashcode to equals method 2012-10-30 12:21:15 -04:00
Thorsten Schäfer e66d98cd48 HHH-7728 Include schema and catalog in equals 2012-10-30 12:21:10 -04:00
Thorsten Schäfer 980554f97a HHH-7728 Add equals method in the table class 2012-10-30 12:21:06 -04:00
Erik-Berndt Scheper 7036538d9c HHH-6361 - Fixed ManyToManyAssociationClassCompositeIdTest broken by
CollectionType changes
2012-10-29 18:00:52 -04:00
brmeyer c57a31ad0c HHH-6361 formatting 2012-10-29 18:00:46 -04:00
Erik-Berndt Scheper 2dd97343dd HHH-6361: Patch ensuring that collection events have the correct stored
snapshot after merging a detached entity into the persistencecontext
2012-10-29 18:00:42 -04:00
brmeyer 30e1c10802 HHH-6361 Cleaned up test case 2012-10-29 18:00:37 -04:00
Erik-Berndt Scheper 1d2d6404ae HHH-6361: Testcase demonstrating that collection events may contain wrong stored snapshot after merging a detached entity into the persistencecontext 2012-10-29 18:00:31 -04:00
brmeyer e2bdf24e33 HHH-7733 NativeSQLQueriesTest failing on Postgres 2012-10-29 14:33:42 -04:00
brmeyer c74069a235 HHH-7734: SerializableTypeTest#testNewSerializableType failing for
Oracle 11G R1
2012-10-29 14:31:51 -04:00
brmeyer dd8c7c0cd7 HHH-7732 QueryTest#testMemberOfSyntax failing on Oracle 2012-10-29 14:31:30 -04:00
brmeyer 02ef55bcc3 HHH-7730 SchemaExportManagedConnectionTest#testGenerateDdlToFile
failing on Oracle & Sybase
2012-10-29 14:31:02 -04:00
brmeyer 8f463a752f HHH-5836 Mapping collection of entities with same name and notnull
constraints from two different entities results in duplicate property
mapping of Backref
2012-10-29 11:37:16 -04:00
Steve Ebersole 8dbe1b61dc HHH-1775 - collection batch fetching 2012-10-26 14:19:34 -05:00
brmeyer 85fa6bc141 HHH-7721 SQLFunctionRegistry findSQLFunction does not honor case
sensitivity
2012-10-26 14:46:57 -04:00
Steve Ebersole a9bc598042 HHH-1775 - collection batch fetching
Conflicts:

	hibernate-core/src/main/java/org/hibernate/engine/spi/BatchFetchQueue.java
2012-10-26 13:07:30 -05:00
brmeyer 188e9f4587 HHH-7724 JpaLargeBlobTest failing on multiple DBs 2012-10-26 11:27:08 -04:00
brmeyer 7f34fdb665 HHH-7359 accidentally committed TRACE log levels 2012-10-24 23:10:02 -04:00
brmeyer 54a088186c HHH-7359 Added a new method to MessageHelper to intelligently handle
property-ref issues in logging.  Rolled it out to as many MessageHelper
users as possible.
2012-10-24 22:52:40 -04:00
brmeyer 06463d169c HHH-7359 Corrected trace logging of HibernateProxy objects 2012-10-24 22:52:33 -04:00
brmeyer 757c18bf73 HHH-7513 Corrected trace logging for one-to-one cascading 2012-10-24 22:52:26 -04:00
brmeyer 375c72175a HHH-7513 Corrected trace logging for collections using property-refs 2012-10-24 22:52:20 -04:00
Dmitry Geraskov 847bbc2a36 HHH-7711 Added test for SchemaExport 2012-10-23 18:41:04 -04:00
Dmitry Geraskov eaa18d286b HHH-7711 Generate ddl to file even if scriptToConsole and
exportToDatabase are
set to false
2012-10-23 18:40:39 -04:00
brmeyer b6763565e4 HHH-7693 Formatting and duplicate code 2012-10-22 13:34:49 -04:00
Bryan Turner 0916baf2f8 HHH-7692 Use Postgres82Dialect for 9 and 9.1. 2012-10-22 13:32:57 -04:00
Bryan Turner 0695e22d41 HHH-7693 Use SQLServer2008Dialect for 2012. 2012-10-22 13:30:15 -04:00
brmeyer 47972c92e6 HHH-7698: In efficient LOB creations backed by streams
https://hibernate.onjira.com/browse/HHH-7698
2012-10-19 17:29:00 -04:00
Steve Ebersole d118c24776 HHH-7698 - In efficient LOB creations backed by streams 2012-10-19 17:28:46 -04:00
Galder Zamarreño e5d3b2b34c HHH-7640 Improve single node Infinispan 2LC performance
* Use an Infinispan cache to maintain pending puts, which avoids
the need to control it's memory consumption in the critical path
of putFromLoad.
* This cache is shared by all regions, and it's configured with
aggressive expiration settings to avoid piling up pending put
operations.
* Added a 2LC stress test that tests behaivour and performance
of 2LC under multiple situations, such as entity inserts, updates,
find via PK, find via query and deletes.
* Some other minor performance enhancements, such as avoiding
classloader aware cache wrapper if using 2LC locally.
* Remove cache adapter to reduce construction of useless objects.
* Cache flagged caches in order to avoid recomputing decorated
caches all the time, which reduces memory consumption.
* Skip locking for timestamp updates and separate timestamp region
implementations for local vs clustered scenarios.
2012-10-18 15:47:29 +02:00
brmeyer aeb48af15d HHH-7674 DB locks not cleared on
LazyLoadingTest#testLazyCollectionLoadingWithClearedSession
2012-10-10 22:03:09 -04:00
Steve Ebersole 3078cfa43f HHH-7683 - Optimize performance of AbstractLazyInitializer.prepareForPossibleSpecialSpecjInitialization()
(cherry picked from commit c9fd71fe57)
2012-10-10 13:22:39 -05:00
brmeyer c5a7916010 HHH-6655 trim function on DB2 is broken 2012-10-09 11:51:27 -04:00
brmeyer b130e7e430 HHH-4459 Query with Composite Primary Key parameter crashes when query
cache is on
2012-10-08 22:26:00 -04:00
Steve Ebersole 95bc0194ec HHH-5209 - org.hibernate.hql.ast.QuerySyntaxException when running a JPQL query with a MEMBER OF on an @ElementCollection
(cherry picked from commit 199ee7860e)
2012-10-03 08:21:09 -05:00
Brett Meyer 13ed16a114 Revert "HHH-4098 VARBINARY should be BLOB in DB2400Dialect"
This reverts commit 6a741706a3.
2012-09-27 11:30:30 -04:00
brmeyer 6a741706a3 HHH-4098 VARBINARY should be BLOB in DB2400Dialect 2012-09-26 21:34:55 -04:00
brmeyer 0fbf7202c0 HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-26 17:34:23 -04:00
Oleh Faizulin 59453919c7 HHH-7644 Correct memory leak 2012-09-26 15:48:18 -04:00
brmeyer 90a3859c27 HHH-6043 PostLoad method invoked before collection initialised 2012-09-26 00:24:49 -04:00
brmeyer 64ef9bcfc4 HHH-4635 Oracle ORA-24816 inserting and updating data for entities
containg LOB attributes
2012-09-24 12:20:50 -04:00
Sanne Grinovero 703c8358db HHH-7633 Cache System#identity for IdentityMap reuse 2012-09-21 15:05:29 +02:00
Steve Ebersole 839334db31 HHH-7631 - Improve performance of UpdateTimestampsCache
(cherry picked from commit f85e9247e9)
2012-09-21 07:04:21 -05:00
Shawn Clowater 807578ed18 HHH-7603 Changed AbstractPersistentCollection so that it would behave in a similar manner as 4.1.6 when using the default lazy load behavior for collections. With the changes for HHH-7603 the AbstractPersistentCollection was throwing a NPE instead of a LIE in a very particular case.
Added test that simulates a use case from Hibernate Search 4.1.1 as far as I can tell.
2012-09-20 01:53:22 -04:00
Ivan Sopov fc1637f816 fix for HHH-7487 org.hibernate.type.EnumType incorrectly logs binded values, trace logging was done as it is done in BasicBinder with the String.format 2012-09-20 01:41:12 -04:00
brmeyer 2113039a22 HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-20 01:24:26 -04:00
Sergiu Dumitriu 4ecd795be4 HHH-7541: When using HSQLDB, inserting any CLOB value larger than 16Mb always fails with an exception
Fixed.
2012-09-19 10:30:41 -04:00
brmeyer 3518055f7b HHH-7309 Natural-id not cached in shared cache after insert 2012-09-19 08:42:07 -04:00
Guenther Demetz e644e45367 HHH-7309 bug-fix 2012-09-19 08:42:01 -04:00
Guenther Demetz d74fa1573b HHH-7309 testcase 2012-09-19 08:41:51 -04:00
brmeyer f3899eabc2 HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
job
2012-09-19 05:29:42 -04:00
brmeyer 45f2d91a2a HHH-6972 Support PostgreSQL and Oracle LOBs 2012-09-19 04:22:50 -04:00
brmeyer 6269121718 HHH-6682 add support for oracle "bitand" function to Oracle Dialect 2012-09-18 01:44:05 -04:00
brmeyer c0043e1ee9 HHH-4635 Oracle ORA-24816 inserting and updating data for entities
containg LOB attributes
2012-09-18 01:43:53 -04:00
brmeyer 141d21d878 HHH-6682 add support for oracle "bitand" function to Oracle Dialect 2012-09-17 06:01:45 -04:00
brmeyer 419d76b17f HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking 2012-09-17 03:56:48 -04:00
Gail Badner 1871e9336e HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity
(cherry picked from commit 3a72b45325)
2012-09-13 13:33:25 -07:00
Gail Badner 608f6a2a11 HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity
(cherry picked from commit 8eb7d8cf64)
2012-09-13 13:33:24 -07:00
Gail Badner 9953644cdf HHH-1283 : Added tests that reproduce the issue
(cherry picked from commit cb1069a3d3)
2012-09-13 13:33:24 -07:00
brmeyer b48a5ddfba HHH-7586 Re-architect Type or TypeFactory dynamic descriptors 2012-09-12 10:27:35 -04:00
brmeyer b9aeb998a7 HHH-7586 Re-architect SimpleValue's reflection for dynamic descriptors 2012-09-12 10:18:22 -04:00
brmeyer 95047afc63 HHH-7584 Sybase dialects attempting to use BLOB types 2012-09-12 10:16:51 -04:00
brmeyer 3d356c2800 HHH-7569 Correct multiple failures/issues in
hibernate-core-master-matrix CI job
2012-09-12 10:14:23 -04:00
brmeyer 501b5d0a0b HHH-7569 Turned down AST logging due to stackoverflow 2012-09-12 10:13:32 -04:00
brmeyer daa01df922 HHH-7569 Correct multiple failures/issues in
hibernate-core-master-matrix CI job
2012-09-12 10:13:21 -04:00
brmeyer 1cc3a9ffeb HHH-7579 Oracle does not support "unique not null" 2012-09-12 10:10:47 -04:00
brmeyer aa068fb264 HHH-5376 Tests contain invalid SQL 2012-09-12 10:10:38 -04:00
brmeyer 992e1387ef HHH-7578 Sybase does not support "unique not null" 2012-09-12 10:10:11 -04:00
brmeyer 3f34271a57 HHH-7577 Dialect's supportsNotNullUnique not working when false 2012-09-12 10:09:25 -04:00
John Hardin 5a3e1b076c HHH-7398 -- Added testTimeout() and modified AbstractBatchImpl.buildBatchStatement() accordingly.
(cherry picked from commit 7e0559ecdb)
2012-09-05 14:18:29 -05:00
Steve Ebersole 053b676684 HHH-7568 - Add JPA1.0 compound key compatability when orm descriptor file used to override annotations.
(cherry picked from commit 6a48cccd5d)
2012-09-05 12:42:29 -05:00