1531 Commits

Author SHA1 Message Date
Brett Meyer
97770fe6a9 HHH-4084 Corrected test compiling error 2013-02-14 17:37:56 -05:00
Nikolay Shestakov
7c6d65f938 fix review remark 2013-02-14 17:22:31 -05:00
Nikolay Shestakov
5cc0864562 HHH-4084 @UniqueConstraint(columnNames="") causes StringIndexOutOfBoundsException 2013-02-14 17:22:28 -05:00
Brett Meyer
328986f392 HHH-7889 Cleanup inconsistencies in Blob, Clob, and NClob type 2013-02-14 17:12:47 -05:00
Brett Meyer
cbacb9c8d9 HHH-8006 MergeCollectionEventTest & BadMergeHandlingTest fail on MySQL 2013-02-14 12:28:40 -05:00
Brett Meyer
46ad6cf882 HHH-7992 Updated to reflect Session SPI change 2013-02-14 11:05:43 -05:00
Brett Meyer
1af005bfb1 HHH-7991 Correct all instances of
Thread.currentThread().getContextClassLoader()
2013-02-14 11:04:35 -05:00
Brett Meyer
94cbc61f04 HHH-7527 Enterprise OSGi JPA support 2013-02-14 11:04:35 -05:00
Brett Meyer
7fe238ac70 HHH-8003 Create "sqlDropString" method in Dialect to handle "if exists"
correctly
2013-02-13 23:12:16 -05:00
Brett Meyer
e25211380d HHH-7999 Oracle test failures due to lack of support for identity
columns
2013-02-13 23:12:11 -05:00
Brett Meyer
44bc6e4273 HHH-8002 TransactionTimeoutTest#testTransactionTimeoutSuccess failing on
Oracle
2013-02-13 23:12:04 -05:00
Brett Meyer
dd321af629 HHH-7999 Create HQLScrollFetchTest for dialects that do not support
identity columns
2013-02-13 17:41:05 -05:00
Guillaume Smet
c2e4220c0f HHH-7821 - Clear the entire BatchFetchQueue on flush.
Provide a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:26:16 -05:00
Guillaume Smet
d86d2671e9 HHH-7821 - Clears the batch collection fetching queue on flush.
Provides a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:25:56 -05:00
Guillaume Smet
e2fc8b12db HHH-7970 - Fix broken logic in JPAOverriddenAnnotationReader.getCacheable(): if element is null, you have to consider the @Cacheable annotation
per gripe from Andreas Joseph Krogh
2013-02-13 12:02:00 -05:00
Sanne Grinovero
74251d5185 HHH-7992 - Add a base Session delegator implementation
(cherry picked from commit ec11902a92e5b9ad06b94e7109427d1b7520d98e)
2013-02-12 16:19:22 -06:00
Brett Meyer
17e8bbc6b7 HHH-7829 NullPointerException when manually flushing One-To-One
relationship with orphan removal
2013-02-01 13:00:55 -05:00
Strong Liu
6c4df3477f HHH-7930 Hibernate will crash with (custom) enum types when running with a logback.xml in debug mode 2013-01-30 17:10:11 +08:00
Himavanth
0ddd884400 HHH-7933 boolean should be treated as bit in SQLServer 2013-01-28 14:55:01 -05:00
Brett Meyer
eb84ff9a42 HHH-3788 FirebirdDialect: current_date() function 2013-01-28 14:55:00 -05:00
Brett Meyer
09f8237d2f HHH-995 Order.ignoreCase() only works for VARCHAR types, not CHAR types 2013-01-28 14:55:00 -05:00
Brett Meyer
3220ca5b17 HHH-3869 Improve toString on SessionStatistics 2013-01-28 14:55:00 -05:00
Brett Meyer
644efaebe4 HHH-2805 The class Order does not contain getters 2013-01-28 14:55:00 -05:00
Brett Meyer
1aec3c1378 HHH-7520 BlobProxy.invoke Javadoc is incorrect 2013-01-28 14:54:37 -05:00
Kamyar Sajjadi
51342f6ef3 HHH-7520 - now the implementation and the javadoc should be the same 2013-01-28 14:54:37 -05:00
Brett Meyer
f876f4e24b HHH-7304 Minor cleanup 2013-01-28 14:54:36 -05:00
Guenther Demetz
a407665819 HHH-7304 bugfix proposal 2013-01-28 14:54:36 -05:00
Guenther Demetz
f58557a567 HHH-7304 testcase 2013-01-28 14:54:36 -05:00
Guenther Demetz
3aee934d53 HHH-7304 new testcase entity class 2013-01-28 14:54:36 -05:00
Brett Meyer
d0093a7fa9 HHH-2951 test case 2013-01-28 14:54:36 -05:00
Nikolay Shestakov
265b3d37cf HHH-2951 Restrictions.eq when passed null, should create a NullRestriction 2013-01-28 14:54:36 -05:00
Brett Meyer
6395e57013 HHH-1917 updated comment 2013-01-28 14:54:36 -05:00
Brett Meyer
9c89ef994e HHH-1917 Bulk Delete on the owning side of a ManyToMany relation needs
to delete corresponding rows from the JoinTable

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
2013-01-28 14:54:36 -05:00
Steve Ebersole
5d280a8041 HHH-5869 - Add suport for nationalized character mappings
(cherry picked from commit e7b188c924d08654be9fb53a46439692af664f6c)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java

Plus, added all nationalized variants of the character-based SqlTypeDescriptors
2013-01-28 14:54:35 -05:00
Lukasz Antoniak
428866f058 HHH-7781 - Fix and test
(cherry picked from commit 03520b928f1c69dbf128d083f31b13dc03f7d314)
2013-01-28 14:53:45 -05:00
Nikolay Shestakov
6d444a7bb5 HHH-2721 PostgreSQLDialect: function md5() always returns a string value 2013-01-28 14:53:45 -05:00
Brett Meyer
7abdde7a62 HHH-7911 NPE in TwoPhaseLoad#initializeEntity 2013-01-28 14:53:44 -05:00
Brett Meyer
91998e042e HHH-6643 Overrode getNotExpression in DB2Dialect 2013-01-28 14:53:44 -05:00
Brett Meyer
31480aa1c8 HHH-7797 Deprecating mistakenly removed Dialect methods 2013-01-28 14:53:44 -05:00
Brett Meyer
c4ef270967 HHH-2448 Generate identical column aliases among cluster 2013-01-28 14:53:44 -05:00
Brett Meyer
b4122f6a9f HHH-6643 Corrected intermittent test failure 2013-01-28 14:53:44 -05:00
Nikolay Shestakov
d5c651ccf5 HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect 2013-01-28 14:53:44 -05:00
Brett Meyer
bfcca64997 HHH-6643 Criteria doesn't support a chaining of 2 not restrictions (sql
= not not criterion)
2013-01-28 14:53:44 -05:00
Brett Meyer
03c010e519 HHH-7866 Cleanup and added a few more checks 2013-01-28 14:53:05 -05:00
Sanne Grinovero
3c9c226159 HHH-7866 Avoid redundant log level checking in StandardQueryCache 2013-01-28 14:53:05 -05:00
Lukasz Antoniak
6455107c6e HHH-7561 - Fix and test ( from Lukasz ) 2013-01-28 14:53:05 -05:00
Lukasz Antoniak
de4517b0d5 HHH-6627 HHH-7752 - Test cases 2013-01-28 14:53:04 -05:00
Lukasz Antoniak
5bf8d84379 HHH-465 - Support for NULLS FIRST/LAST
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/criterion/Order.java

Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/SettingsFactory.java
	hibernate-core/src/main/java/org/hibernate/criterion/Order.java
2013-01-28 14:19:58 -05:00
Brett Meyer
dc3222a4e3 HHH-7797 Simplified UniqueKey creation and corrected a couple of
@UniqueConstraint bugs.
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
2013-01-25 14:41:00 -05:00
Steve Ebersole
61f548db6f HHH-7928 - Regression caused by HHH-6361
(cherry picked from commit cb1b9a05af20713a7d673c0a4fa0536a6a4792c1)

Conflicts:

	hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/BadMergeHandlingTest.java
2013-01-24 12:44:40 -06:00