1542 Commits

Author SHA1 Message Date
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
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 991342f2c269973378cd03f79959dee08d3c90ff)
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
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 c8b20660ed56432a946e78794be147422e80ede6)
2013-01-08 21:40:33 -06: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 9c3998dade2af4b73d7745fa6e6d2788bd7872ce)
2012-12-19 09:25:22 -06:00
Steve Ebersole
8b6606c60e HHH-7872 - Improved L2 cache storage of "reference" data
(cherry picked from commit 2ff69d24c423d3e95e65606f1c836c975dc2a7c9)
2012-12-18 20:23:51 -06:00
Steve Ebersole
ff14688d7c HHH-7746 - Investigate alternative batch loading algorithms
(cherry picked from commit 06b0faaf5770da47681d9d32e06ea204519a3846)

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
brmeyer
2cd062058c HHH-7797 minor refactoring 2012-12-18 10:09:37 -05:00
brmeyer
98149d2534 HHH-7797 Finished auditing dialects. Cleanup and javadocs. Completed
uniqueness test.
2012-12-18 10:09:21 -05:00
brmeyer
fa09bc2866 HHH-7797 initial test case 2012-12-18 10:09:09 -05:00
Brett Meyer
7254d465ae HHH-7797 Initial attempt at using UniqueDelegate within metamodel 2012-12-18 10:09:01 -05:00
brmeyer
1416126a00 HHH-7797 Finished first take on UniqueDelegate and rolled into .cfg and
.mapping
2012-12-18 10:08:54 -05:00
brmeyer
0a2b639808 HHH-7797 UniqueDelegate & DefaultUniqueDelegate 2012-12-18 10:08:36 -05:00
Brett Meyer
2ae841db66 HHH-7797 Block "unique" syntax on a column if a constraint can/will be
used
2012-12-18 10:08:28 -05:00
Gail Badner
349d4ab36f HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-13 12:14:25 +08:00
Gail Badner
005cc6cd2a HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods 2012-12-13 12:14:14 +08:00
Gail Badner
c6ef23a51c HHH-7860 : Log a warning when embed-xml attribute is used in mappings 2012-12-12 15:15:29 -08:00
Brett Meyer
1782a9dc84 HHH-7856 Deprecate TableHiLoGenerator and TableGenerator 2012-12-12 16:59:43 -05:00
Scott Marlow
8b365d8ef5 HHH-7747 check if the code attribute is null when building the StackMapTable 2012-12-11 15:06:26 -05:00
Dustin Schultz
834bb03c96 HHH-7747 - Fixes CNFE regression for runtime field level class
enhancing. Also removes the usage of ClassPool.getDefault() and
creates a new ClassPool on each usage.

HHH-7747 - Add the entity class to the ClassPool to support modular
classloading like OSGI. Remove unused import in FieldTransformer.

HHH-7747 - Enhanced test to ensure that class enhancement sees all
classes of an entity. Added test to ensure that StackMapTables are
non-null for Javassist added methods.
2012-12-11 15:06:20 -05:00
Scott Marlow
2dc09fad41 HHH-7850 BulkAccessorFactory Java 7 verify error resolved by JASSIST-163 BulkAccessorFactory.java.diff2 patch from Shigeru Chiba. 2012-12-11 09:51:55 -05:00
brmeyer
c1e29a23fd HHH-7849 Cleaner fix. Added additional regression test.
Conflicts:
	hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/criteria/components/ComponentCriteriaTest.java
2012-12-10 14:18:31 -05:00
brmeyer
d6de1d509a HHH-7849 Formatting 2012-12-10 14:17:18 -05:00
mgrenonville
419e440629 HHH-7849 Unable to join on an embedded field 2012-12-10 14:17:07 -05:00
Shawn Clowater
1286c2319c Changed the error handling for LazyInitializationException to go through the throwLazyInitializationException method so that the collection role is reported. 2012-12-07 12:23:34 -05:00
Barney
48afb82ea1 HHH-7826 - Generate 'unique' constraints in stable order 2012-12-07 11:41:09 -05:00
brmeyer
f3dbacdf44 HHH-7839 Documentation bug at
SimpleNaturalIdLoadAccess.getReference(Object naturalIdValue)
2012-12-07 11:28:32 -05:00
brmeyer
08640663d4 HHH-7840 org.hibernate.id.IncrementGenerator very slow 2012-12-07 11:21:30 -05:00
Steve Ebersole
37bb7bb45e HHH-1168 - Problem combining locking and paging on Oracle
(cherry picked from commit 21ade0c798ed0fbb1444339af396325f324f94cb)
2012-11-30 12:18:56 -06:00
Steve Ebersole
08d5d994dc HHH-1168 - Problem combining locking and paging on Oracle
(cherry picked from commit 6e71a0907eba1a83ef50f3f6d4bf860c7df292e5)
2012-11-29 12:35:00 -06:00
Strong Liu
a3a024ec34 HHH-7612 - rollback the chage in 4.1 branch 2012-11-28 23:24:49 +08:00