Thorsten Schäfer
776470b85a
HHH-7728 Include schema and catalog in equals
2012-10-30 12:22:02 -04:00
Thorsten Schäfer
e1ad7c51df
HHH-7728 Add equals method in the table class
2012-10-30 12:22:01 -04:00
Steve Ebersole
df809231c5
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-29 17:48:25 -05:00
Erik-Berndt Scheper
c22e7fd214
HHH-6361 - Fixed ManyToManyAssociationClassCompositeIdTest broken by
...
CollectionType changes
2012-10-29 18:11:23 -04:00
brmeyer
f9049a1fd2
HHH-6361 formatting
2012-10-29 18:11:21 -04:00
Erik-Berndt Scheper
7bb43baf0b
HHH-6361: Patch ensuring that collection events have the correct stored
...
snapshot after merging a detached entity into the persistencecontext
2012-10-29 18:11:20 -04:00
brmeyer
5c562411e6
HHH-6361 Cleaned up test case
2012-10-29 18:11:19 -04:00
Erik-Berndt Scheper
d0aa9f5d9d
HHH-6361: Testcase demonstrating that collection events may contain wrong stored snapshot after merging a detached entity into the persistencecontext
2012-10-29 18:11:18 -04:00
Steve Ebersole
3e69b7bd53
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-29 16:34:03 -05:00
Steve Ebersole
3305af5fe8
HHH-1775 - collection batch fetching
2012-10-29 16:34:03 -05:00
brmeyer
0c5ad566b6
HHH-7733 NativeSQLQueriesTest failing on Postgres
2012-10-29 14:24:43 -04:00
brmeyer
718dd237f5
HHH-7734: SerializableTypeTest#testNewSerializableType failing for
...
Oracle 11G R1
2012-10-29 14:15:02 -04:00
brmeyer
cdc8d4331c
HHH-7732 QueryTest#testMemberOfSyntax failing on Oracle
2012-10-29 13:46:47 -04:00
brmeyer
5293c78d52
HHH-7730 SchemaExportManagedConnectionTest#testGenerateDdlToFile
...
failing on Oracle & Sybase
2012-10-29 12:38:36 -04:00
brmeyer
eae079d283
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:33 -04:00
brmeyer
4e434f6197
HHH-7721 SQLFunctionRegistry findSQLFunction does not honor case
...
sensitivity
2012-10-26 14:47:19 -04:00
Steve Ebersole
c46c04631d
Merge branch 'master' of github.com:hibernate/hibernate-orm
2012-10-26 12:58:18 -05:00
Steve Ebersole
fb253b0297
HHH-1775 - collection batch fetching
2012-10-26 12:56:08 -05:00
Guenther Demetz
7cecc68fb1
HHH-1775
2012-10-26 10:40:26 -05:00
brmeyer
226d2459ec
HHH-7724 JpaLargeBlobTest failing on multiple DBs
2012-10-26 11:26:44 -04:00
Esen Sagynov
3d82bb1d64
HHH-7717 Quoted "value" column name as "`value`" since it's a reserved
...
word in
CUBRID.
2012-10-26 11:17:17 -04:00
Esen Sagynov
d611f59832
HHH-7717 Added a quoted "`data`" column name as this is a reserved word
...
in
CUBRID.
2012-10-26 11:17:04 -04:00
Esen Sagynov
339b4363b1
HHH-7717 Quoted table names in tests otherwise fail in CUBRID dialect as
...
these
names are reserved.
2012-10-26 11:16:46 -04:00
Esen Sagynov
f63352b0f7
HHH-7717 Wrapped "SYS_USER" column names into "`SYS_USER`" as they can
...
be
reserved in some dialects which would cause a test failure.
2012-10-26 11:16:15 -04:00
Esen Sagynov
eb4b4ba0d2
HHH-7717 Wrapped "date" column names into "`date`" as they can be
...
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:57 -04:00
Esen Sagynov
d41b800bb0
HHH-7717 Wrapped additional "type" column names into "`type`" as they
...
can
be
reserved in some dialects which would cause a test failure.
2012-10-26 11:15:44 -04:00
Esen Sagynov
76bb63c74c
HHH-7717 Wrapped "time" column names into "`time`" as they can be
...
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:28 -04:00
Esen Sagynov
36f519d02e
HHH-7717 Wrapped "value" column names into "`value`" as they can be
...
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:13 -04:00
Esen Sagynov
61cb6f59f6
HHH-7717 Added import to Tooth test for previously committed @Column.
2012-10-26 11:09:36 -04:00
Esen Sagynov
014bc42a86
HHH-7717 Wrapped column names which may be reserved in some dialects.
...
Also added
column declarations for properties which lacked column attribute.
2012-10-26 11:08:41 -04:00
Esen Sagynov
e4fbe2fc99
HHH-7716 Added a fallback data type for cases when VARCHAR length is
...
over
4000
chars.
In such cases the column type will be STRING which is equivalent to
VARCHAR(1,073,741,823).
2012-10-25 11:18:11 -04:00
Esen Sagynov
a0d02a0660
HHH-7716 FIxed a bug which didn't allow BOOLEAN type to be saved to
...
CUBRID DB.
BIT(8) data type solves this issue.
2012-10-25 11:17:44 -04:00
Esen Sagynov
220365600c
HHH-7716 Fixed a bug in CUBRIDLimitHandler. Now correctly processes
...
LIMIT
clause
in SQL.
2012-10-25 11:17:30 -04:00
Esen Sagynov
e7af2f4b76
HHH-7716 Skip these tests for CUBRID dialect as temp tables aren't
...
supported yet.
Raises: "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables"
2012-10-25 11:17:13 -04:00
Esen Sagynov
9be3666141
HHH-7716 Skip this JoinedSubClassTest for CUBRID dialect as temp tables
...
are not
supported yet.
Raises "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables".
2012-10-25 11:16:54 -04:00
Esen Sagynov
b9145ab132
HHH-7716 Skip testParameterMixing test for CUBRID dialect.
2012-10-25 11:16:37 -04:00
Esen Sagynov
d4ab63ccc0
HHH-7716 Renamed smallint data type to short. Sinonyms in CUBRID but
...
internally
saved as short.
2012-10-25 11:16:20 -04:00
Esen Sagynov
9534ffc94c
HHH-7716 Registered reserved words for CUBRID dialect.
2012-10-25 11:16:01 -04:00
Esen Sagynov
f647ecf7ae
HHH-7716 Added import for RowSelection used in buildLimitHandler.
2012-10-25 11:15:47 -04:00
Esen Sagynov
f52d0a9d63
HHH-7716 Added imports for CUBRID limit handler.
2012-10-25 11:15:31 -04:00
Esen Sagynov
f0ebd2f378
HHH-7716 Updated CUBRIDDialect.
...
Added supported SQL functions and data types. Removed limit related
methods in favor of CUBRIDLimitHandler. Improved the dialect by
correctly setting values (true/false) for certain dialect features.
2012-10-25 11:15:10 -04:00
brmeyer
61eaf4ce4e
HHH-7359 accidentally committed TRACE log levels
2012-10-24 23:10:38 -04:00
brmeyer
30ea167c41
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:51:05 -04:00
brmeyer
9968ce3adb
HHH-7359 Corrected trace logging of HibernateProxy objects
2012-10-24 16:05:33 -04:00
brmeyer
deaff9705e
HHH-7513 Corrected trace logging for one-to-one cascading
2012-10-24 13:39:36 -04:00
brmeyer
d627089242
HHH-7513 Corrected trace logging for collections using property-refs
2012-10-24 13:39:04 -04:00
brmeyer
b115f56f57
HHH-7479 formatting
2012-10-24 00:27:37 -04:00
mutazkabashi
1172fd94dc
HHH-7479 getForUpdateString() of HSQLDialect returns empty string.
2012-10-24 00:26:52 -04:00
Dmitry Geraskov
6d718a24b0
HHH-7711 Added test for SchemaExport
2012-10-23 18:38:21 -04:00
Dmitry Geraskov
e7e28dd978
HHH-7711 Generate ddl to file even if scriptToConsole and
...
exportToDatabase are
set to false
2012-10-23 18:37:33 -04:00
brmeyer
5e158e8861
HHH-7693 Formatting and duplicate code
2012-10-22 13:20:46 -04:00
Bryan Turner
1333725bcf
HHH-7692 Use Postgres82Dialect for 9 and 9.1.
2012-10-22 13:14:21 -04:00
Bryan Turner
189a8d3386
HHH-7693 Use SQLServer2008Dialect for 2012.
...
- Previously, SQL Server version 11 (SQL Server 2012) was an unknown
version, resulting in the SQLServerDialect
- Added version 11 to the switch statement so that SQLServer2008Dialect
is now returned by default, as SQL Server 2012 is much more similar
to SQL Server 2008 than SQL Server 2000
- Added test cases to verify dialects for several SQL Server versions
2012-10-22 13:07:19 -04:00
brmeyer
ec3f649ad5
HHH-7698: In efficient LOB creations backed by streams
...
https://hibernate.onjira.com/browse/HHH-7698
2012-10-19 17:10:16 -04:00
Sanne Grinovero
4fe494d13d
HHH-7699 DriverManagerConnectionProviderImpl is not exact in counting checked-out connections
2012-10-18 19:42:57 +01:00
Sanne Grinovero
e4300d279c
HHH-7699 More aggressive in checking log levels before creating log messages
2012-10-18 19:42:57 +01:00
Sanne Grinovero
e27afb8ded
HHH-7699 Proper code formatting of log statements
2012-10-18 19:42:57 +01:00
Galder Zamarreño
a074d3244d
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:57:15 +02:00
Steve Ebersole
2b4097aa49
HHH-7698 - In efficient LOB creations backed by streams
2012-10-17 12:26:35 -05:00
brmeyer
25a98fada3
HHH-7674 DB locks not cleared on
...
LazyLoadingTest#testLazyCollectionLoadingWithClearedSession
2012-10-10 22:01:32 -04:00
Steve Ebersole
c9fd71fe57
HHH-7683 - Optimize performance of AbstractLazyInitializer.prepareForPossibleSpecialSpecjInitialization()
2012-10-10 13:21:53 -05:00
brmeyer
11dcd9ab46
HHH-6655 trim function on DB2 is broken
2012-10-09 11:29:05 -04:00
brmeyer
58fa4c2eac
HHH-4459 Query with Composite Primary Key parameter crashes when query
...
cache is on
2012-10-08 21:51:56 -04:00
Steve Ebersole
199ee7860e
HHH-5209 - org.hibernate.hql.ast.QuerySyntaxException when running a JPQL query with a MEMBER OF on an @ElementCollection
2012-10-03 08:19:41 -05:00
Brett Meyer
4152ff660a
Revert "HHH-4098 VARBINARY should be BLOB in DB2400Dialect"
...
This reverts commit 590020535c
.
2012-09-27 11:32:00 -04:00
brmeyer
590020535c
HHH-4098 VARBINARY should be BLOB in DB2400Dialect
2012-09-26 21:33:52 -04:00
brmeyer
8dbaefced4
HHH-6972 Support PostgreSQL and Oracle LOBs
2012-09-26 17:33:54 -04:00
Oleh Faizulin
068c973cde
HHH-7644 Correct memory leak
2012-09-26 15:48:52 -04:00
brmeyer
3e5184e6d7
HHH-6043 PostLoad method invoked before collection initialised
2012-09-26 00:19:05 -04:00
brmeyer
121f495ff8
HHH-4635 Oracle ORA-24816 inserting and updating data for entities
...
containg LOB attributes
2012-09-24 12:19:22 -04:00
Sanne Grinovero
29ad8e9cb9
HHH-7633 Cache System#identity for IdentityMap reuse
2012-09-21 14:46:25 +02:00
Steve Ebersole
f85e9247e9
HHH-7631 - Improve performance of UpdateTimestampsCache
2012-09-21 07:02:16 -05:00
Steve Ebersole
a8a3f9b112
HHH-7626 - Add javadoc to annotations
2012-09-20 10:04:27 -05:00
Steve Ebersole
d0f88347af
HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder : reordered EMF builder processing to better allow late ValidatorFactory and DataSource (HHH-7621) passing
2012-09-20 05:40:15 -05:00
Shawn Clowater
35b9a9d785
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:51:58 -04:00
Ivan Sopov
8462677f53
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:40:22 -04:00
brmeyer
500e0222b5
HHH-6972 Support PostgreSQL and Oracle LOBs
2012-09-20 01:24:02 -04:00
Sergiu Dumitriu
54fdb87d30
HHH-7541: When using HSQLDB, inserting any CLOB value larger than 16Mb always fails with an exception
...
Fixed.
2012-09-19 10:04:23 -04:00
brmeyer
7d5ece822c
HHH-7309 Natural-id not cached in shared cache after insert
2012-09-19 08:34:55 -04:00
Guenther Demetz
a176931349
HHH-7309 bug-fix
2012-09-19 08:25:38 -04:00
Guenther Demetz
7c218bbe11
HHH-7309 testcase
2012-09-19 08:25:37 -04:00
brmeyer
6660d2412a
HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
...
job
2012-09-19 05:24:51 -04:00
brmeyer
8c58af3b19
HHH-6972 Support PostgreSQL and Oracle LOBs
2012-09-19 04:19:09 -04:00
brmeyer
cb60b0259c
HHH-6682 add support for oracle "bitand" function to Oracle Dialect
2012-09-18 01:33:41 -04:00
brmeyer
9f720b2d73
HHH-4635 Oracle ORA-24816 inserting and updating data for entities
...
containg LOB attributes
2012-09-18 01:20:42 -04:00
brmeyer
6a5bd555de
HHH-6682 add support for oracle "bitand" function to Oracle Dialect
2012-09-17 06:00:19 -04:00
brmeyer
9f7f572490
HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking
2012-09-17 03:54:36 -04:00
Emmanuel Bernard
b040866c2c
HHH-7597 Small error in AvailableSettings JavaDoc
2012-09-14 11:05:22 +02:00
Gail Badner
3a72b45325
HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity
2012-09-13 12:30:15 -07:00
Gail Badner
8eb7d8cf64
HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity
2012-09-12 23:46:50 -07:00
brmeyer
04ed36bf0a
HHH-7586 Re-architect Type or TypeFactory dynamic descriptors
2012-09-11 18:30:13 -04:00
brmeyer
7ce07642cb
HHH-7586 Re-architect SimpleValue's reflection for dynamic descriptors
2012-09-11 18:30:12 -04:00
brmeyer
69bcccaa1a
HHH-7584 Sybase dialects attempting to use BLOB types
2012-09-11 18:30:11 -04:00
brmeyer
5306dda1c9
HHH-7569 Correct multiple failures/issues in
...
hibernate-core-master-matrix CI job
2012-09-11 18:30:10 -04:00
brmeyer
ae59da9322
HHH-7569 Turned down AST logging due to stackoverflow
2012-09-11 18:30:09 -04:00
brmeyer
f63b0c5f69
HHH-7569 Correct multiple failures/issues in
...
hibernate-core-master-matrix CI job
2012-09-11 18:30:07 -04:00
brmeyer
86deac49f7
HHH-7579 Oracle does not support "unique not null"
2012-09-11 18:30:06 -04:00
brmeyer
1a3199bfa8
HHH-5376 Tests contain invalid SQL
2012-09-11 18:30:05 -04:00
brmeyer
c3861c6b33
HHH-7578 Sybase does not support "unique not null"
2012-09-11 18:30:04 -04:00
brmeyer
588d4be45b
HHH-7577 Dialect's supportsNotNullUnique not working when false
2012-09-11 18:30:03 -04:00