Steve Ebersole
6062eb67ea
HHH-7914 - Improve new stored procedure call support
2013-01-14 15:05:49 -06:00
Brett Meyer
9ce5c32dd7
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.
Conflicts:
hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java
2013-01-14 14:25:06 -05:00
Steve Ebersole
5de1677ce7
HHH-7914 - Improve new stored procedure call support
2013-01-11 17:48:38 -06:00
Steve Ebersole
c8b20660ed
HHH-7912 - Define edge-case behavior for Session.evict
2013-01-08 20:56:38 -06:00
Brett Meyer
fbe24bc2cb
HHH-7911 NPE in TwoPhaseLoad#initializeEntity
2013-01-08 00:20:34 -05:00
Brett Meyer
e1c9c1e9a7
HHH-6643 Overrode getNotExpression in DB2Dialect
2013-01-07 12:27:58 -05:00
Brett Meyer
6aabd0a0e4
HHH-7797 Deprecating mistakenly removed Dialect methods
2013-01-07 12:18:41 -05:00
Brett Meyer
7b9b9b39c0
HHH-2448 Generate identical column aliases among cluster
2013-01-04 14:50:50 -05:00
Brett Meyer
cb4a5ee91b
HHH-6643 Corrected intermittent test failure
2013-01-04 13:35:56 -05:00
Nikolay Shestakov
d803b9b3a7
HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect
2013-01-03 17:36:32 -05:00
Brett Meyer
cd76f86f02
HHH-6643 Criteria doesn't support a chaining of 2 not restrictions (sql
...
= not not criterion)
2013-01-03 15:59:26 -05:00
Brett Meyer
510f876ff0
HHH-7866 Cleanup and added a few more checks
2013-01-03 15:08:22 -05:00
Sanne Grinovero
5cf1b469dd
HHH-7866 Avoid redundant log level checking in StandardQueryCache
2013-01-03 15:00:57 -05:00
Strong Liu
9f4f817a73
simple change, mostly are removing those unnesserary unboxing code.
2012-12-31 23:20:05 +08:00
Strong Liu
781133164b
code format and fixing typo
2012-12-31 22:00:51 +08:00
Nikolay Shestakov
1c0b551055
using ConcurrentHashMap for decrease synchronization
2012-12-29 00:13:50 +06:00
Lukasz Antoniak
b11c23fd45
HHH-7561 - Fix and test
2012-12-26 01:46:42 +08:00
Strong Liu
6c6df69535
refactor, remove redundant type cast
2012-12-25 19:25:47 +08:00
Strong Liu
ada2a5327e
simple improvement and code format
2012-12-24 03:10:38 +08:00
Lukasz Antoniak
ceb96094f5
HHH-6627 HHH-7752 - Test cases
2012-12-20 11:16:08 -05:00
Brett Meyer
12c7ab93c3
HHH-7797 Simplified UniqueKey creation and corrected a couple of
...
@UniqueConstraint bugs.
2012-12-19 14:48:11 -05:00
Steve Ebersole
9c3998dade
HHH-7872 - Improved L2 cache storage of "reference" data
2012-12-19 09:24:36 -06:00
Steve Ebersole
2ff69d24c4
HHH-7872 - Improved L2 cache storage of "reference" data
2012-12-18 14:11:59 -06:00
brmeyer
1d5bf1608e
HHH-7797 Corrected failing test that was exposed by src changes
2012-12-17 14:10:35 -05:00
brmeyer
41397f22d1
HHH-7797 Use unique indexes on nullable columns for DB2. Correctly
...
handle @UniqueConstraint table annotations on second passes.
2012-12-17 14:10:34 -05:00
brmeyer
9bec5d12ff
HHH-7797 minor refactoring
2012-12-14 12:44:49 -05:00
brmeyer
49c8a8e4f0
HHH-7797 Finished auditing dialects. Cleanup and javadocs. Completed
...
uniqueness test.
2012-12-14 12:44:48 -05:00
brmeyer
962d1e580d
HHH-7797 initial test case
2012-12-14 12:44:47 -05:00
Brett Meyer
7b05f4aed8
HHH-7797 Initial attempt at using UniqueDelegate within metamodel
2012-12-14 12:44:47 -05:00
brmeyer
4204f2c5fe
HHH-7797 Finished first take on UniqueDelegate and rolled into .cfg and
...
.mapping
2012-12-14 12:44:46 -05:00
brmeyer
953aec40ad
HHH-7797 UniqueDelegate & DefaultUniqueDelegate
2012-12-14 12:44:45 -05:00
Brett Meyer
3a995f574d
HHH-7797 Block "unique" syntax on a column if a constraint can/will be
...
used
2012-12-14 12:44:45 -05:00
Gail Badner
cb4e92a98d
HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods
2012-12-12 16:09:02 -08:00
Gail Badner
32e8765615
HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods
2012-12-12 16:09:02 -08:00
Gail Badner
2883cb85c3
HHH-7860 : Log a warning when embed-xml attribute is used in mappings
2012-12-12 16:06:03 -08:00
Brett Meyer
dc3283f50a
HHH-7856 Deprecate TableHiLoGenerator and TableGenerator
2012-12-12 16:16:31 -05:00
Scott Marlow
b4e78a99e5
HHH-7747 check if the code attribute is null when building the StackMapTable
2012-12-11 16:36:26 -05:00
Dustin Schultz
58978a486f
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:27:50 -05:00
Scott Marlow
8463057b85
HHH-7850 BulkAccessorFactory Java 7 verify error resolved by JASSIST-163 BulkAccessorFactory.java.diff2 patch from Shigeru Chiba.
2012-12-11 10:34:36 -05:00
brmeyer
598c6d3d25
HHH-7849 Cleaner fix. Added additional regression test.
2012-12-10 14:16:20 -05:00
brmeyer
c75b045adc
HHH-7849 Formatting
2012-12-10 14:15:53 -05:00
mgrenonville
02825e9fd6
HHH-7849 Unable to join on an embedded field
2012-12-10 13:35:12 -05:00
Shawn Clowater
afc49f435f
Changed the error handling for LazyInitializationException to go through the throwLazyInitializationException method so that the collection role is reported.
2012-12-07 12:22:59 -05:00
Barney
18d10d6fde
HHH-7826 - Generate 'unique' constraints in stable order
2012-12-07 11:40:06 -05:00
brmeyer
79cc807aae
HHH-7839 Documentation bug at
...
SimpleNaturalIdLoadAccess.getReference(Object naturalIdValue)
2012-12-07 11:28:16 -05:00
brmeyer
263a84154e
HHH-7840 org.hibernate.id.IncrementGenerator very slow
2012-12-07 11:16:48 -05:00
Steve Ebersole
21ade0c798
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-30 12:09:15 -06:00
Steve Ebersole
6e71a0907e
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-29 12:33:54 -06:00
Strong Liu
5707798b4b
Revert "HHH-7612 - Fix and test"
...
This reverts commit 14d1c626a5
.
2012-11-28 23:35:08 +08:00
Steve Ebersole
caf2ee420c
HHH-7825 - org.hibernate.type.descriptor.java.DataHelper is incompatible with FireBird JDBC
2012-11-26 17:49:55 -06:00
Steve Ebersole
dd280b8c27
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-26 13:19:08 -06:00
Lukasz Antoniak
14d1c626a5
HHH-7612 - Fix and test
2012-11-24 18:08:15 +01:00
Brett Meyer
0118819133
HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
...
job
2012-11-21 14:08:13 -05:00
Brett Meyer
8df655aa6b
HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
...
job
2012-11-21 12:53:13 -05:00
Steve Ebersole
5d2f21a01e
HHH-7816 - DDL opertations will incorrectly commit current transaction on Oracle XA
2012-11-20 15:57:33 -06:00
Steve Ebersole
4b2871cfba
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-20 13:23:10 -06:00
brmeyer
32746ff07e
HHH-7785 Reverting a few more Dialect supportsNotNullUnique changes
2012-11-14 11:01:51 -05:00
brmeyer
65093aabf0
HHH-7785 Reverting supportsNotNullUnique change in HSQL
2012-11-13 11:32:25 -05:00
Steve Ebersole
2158bec47c
HHH-7643 - java.io.NotSerializableException org.hibernate.type.EnumType
2012-11-12 14:21:01 -06:00
Steve Ebersole
07fc1627cd
HHH-7780 - many envers tests are failing
2012-11-12 13:51:12 -06:00
Steve Ebersole
5ef8a667ff
HHH-7777 - Deprecate XmlRepresentableType
2012-11-12 12:13:52 -06:00
Steve Ebersole
ec942edb48
HHH-7782 - Deprecate PersistentElementHolder, PersistentIndexedElementHolder, PersistentListElementHolder and PersistentMapElementHolder
2012-11-12 09:30:47 -06:00
Steve Ebersole
bcd15dc0eb
HHH-7777 - Deprecate XmlRepresentableType
2012-11-12 08:55:55 -06:00
Strong Liu
3489b71dca
HHH-7773 - Backout HHH-7544 (Pull Request 379)
2012-11-11 23:26:35 +08:00
Steve Ebersole
25036b088a
HHH-7769 - Define short-names for built-in MultiTableBulkIdStrategy impls
2012-11-08 15:03:16 -06:00
Steve Ebersole
dffb86c52d
HHH-7768 - Names of invalid named queries incorrectly concatenated
2012-11-08 13:09:48 -06:00
Steve Ebersole
209763faa8
HHH-7767 - JoinWalker creates ".." substring in association path
2012-11-08 11:56:11 -06:00
Alex Kalashnikov
9f462834da
HHH-7767 JoinWalker creates ".." substring in association path
2012-11-08 21:27:42 +04:00
Steve Ebersole
785e2d869e
HHH-7377 - NullPointerException in conjunction with natural IDs after Session.clear()
2012-11-08 09:59:51 -06:00
Steve Ebersole
08e63ac4a8
HHH-7757 - NOT IN row-value syntax ignores NOT
2012-11-08 09:59:50 -06:00
Steve Ebersole
4294e0faee
HHH-7645 - Enum property defined within orm.xml using enum-type string does not work
2012-11-06 11:21:38 -06:00
Steve Ebersole
432dab3465
HHH-7748 - EnumType crashes because of unsupported JDBC API in Oracle
2012-11-06 08:26:11 -06:00
Steve Ebersole
06b0faaf57
HHH-7746 - Investigate alternative batch loading algorithms
2012-11-02 13:32:15 -05:00
brmeyer
174e9b8ab2
HHH-7725 unclosed Statement
2012-10-31 17:15:58 -04:00
brmeyer
3847ebb478
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:10 -04:00
Steve Ebersole
1b5088a911
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-31 12:41:48 -05:00
Steve Ebersole
0ab36bed8c
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-31 11:22:33 -05:00
Steve Ebersole
9f0bbe10a6
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-30 15:39:47 -05:00
Steve Ebersole
c94752d243
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-30 14:02:53 -05:00
Steve Ebersole
3e3b439e02
HHH-1570 - criteria-api: filtering by key-many-to-one causes invalid sql
2012-10-30 12:26:32 -05:00
brmeyer
4516dd45d6
HHH-7728 added null checks
2012-10-30 12:22:04 -04:00
Thorsten Schäfer
c297d93261
HHH-7728 Adapt hashcode to equals method
2012-10-30 12:22:03 -04:00
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