Commit Graph

4281 Commits

Author SHA1 Message Date
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 e7b188c924)

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 03520b928f)
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
Lukasz Antoniak 87eae02f5c HHH-7918 - Completely recalculate entity state on merge 2013-01-28 14:53:45 -05:00
Lukasz Antoniak 357b12c040 HHH-7918 - Fix and test 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 11ed12ef8f HHH-7437 - Fix and test
(cherry picked from commit bcf73bd32c)
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 3e956a7a58 HHH-7923 Revert to Javassist 3.15 2013-01-28 13:55:51 -05:00
Steve Ebersole e2c21f92d6 Update version to 4.2 based SNAPSHOT 2013-01-28 12:49:02 -06: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 cb1b9a05af)

Conflicts:

	hibernate-core/src/test/java/org/hibernate/test/event/collection/detached/BadMergeHandlingTest.java
2013-01-24 12:44:40 -06:00
Scott Marlow 603682937c HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException (message improvement) 2013-01-24 11:10:08 -05:00
Scott Marlow 2f0bd59431 HHH-7861 EntityManager.find() should return null instead of EntityNotFoundException 2013-01-23 14:26:24 -05:00
Scott Marlow d339e94491 HHH-7928 reproduced the tck failure caused by HHH-6361 2013-01-19 22:28:31 -05:00
Steve Ebersole 18f8aa75de HHH-7928 - Regression caused by HHH-6361
(cherry picked from commit 991342f2c2)
2013-01-16 14:55:06 -06:00
Brett Meyer f70234c5ee HHH-7902 Replace JDBC proxies with a set of contracts/helpers
HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator.  Parts of
LogicalConnection moved into JdbcCoordinator as well.

HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release

HHH-7902 Enforced the use of StatementPreparer, instead of Connection

HHH-7902 ResultSetExtractor.  Replaced all instances of execute,
executeQuery, executeUpdate, etc.

HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator

HHH-7902 Corrected test failures

HHH-7902 Removed resource registry use from JdbcIsolation workers

HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.

HHH-7902 ResultSetExtractor -> ResultSetReturn.  Reworked proxy tests to
test the new APIs.
2013-01-14 13:49:15 -05:00
Lukasz Antoniak 2fc81e9d98 HHH-7870 - Fix and test
(cherry picked from commit 0713cea180)
2013-01-10 15:09:49 +01:00
Steve Ebersole 0ffe6e7115 HHH-7912 - Define edge-case behavior for Session.evict 2013-01-08 21:40:33 -06:00
Steve Ebersole 78d1a9f5be HHH-7912 - Define edge-case behavior for Session.evict
(cherry picked from commit c8b20660ed)
2013-01-08 21:40:33 -06:00
Strong Liu 923002fa50 impl new added method to make compiler happy 2013-01-08 13:38:31 +08:00
Brett Meyer 12fb24ec40 HHH-7797 Deprecating mistakenly removed Dialect methods
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
2013-01-07 12:21:02 -05:00
Steve Ebersole 4d7adb8d1e HHH-7872 - Improved L2 cache storage of "reference" data
(cherry picked from commit 9c3998dade)
2012-12-19 09:25:22 -06:00
Steve Ebersole 8b6606c60e HHH-7872 - Improved L2 cache storage of "reference" data
(cherry picked from commit 2ff69d24c4)
2012-12-18 20:23:51 -06:00
Steve Ebersole ff14688d7c HHH-7746 - Investigate alternative batch loading algorithms
(cherry picked from commit 06b0faaf57)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/internal/util/collections/ArrayHelper.java
	hibernate-core/src/main/java/org/hibernate/loader/Loader.java
2012-12-18 20:18:46 -06:00
Steve Ebersole 30b3bd1564 HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
Steve Ebersole 5506a48bea HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
Steve Ebersole 93f4fe0668 HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
Steve Ebersole 5dadc5afd2 HHH-7667 - Investigate expanding bytecode enhancement support 2012-12-18 14:28:39 -06:00
brmeyer 29ae3debc6 HHH-7797 Corrected failing test that was exposed by src changes 2012-12-18 10:09:53 -05:00
brmeyer e629feee8a HHH-7797 Use unique indexes on nullable columns for DB2. Correctly
handle @UniqueConstraint table annotations on second passes.
2012-12-18 10:09:43 -05:00