2263 Commits

Author SHA1 Message Date
Brett Meyer
4ea068f2e9 HHH-8818 TcclSafeAggregatedClassLoader 2014-05-27 10:24:32 -04:00
Brett Meyer
ab8dd7966a HHH-9145 simplified JDBC check 2014-05-23 17:53:34 -04:00
begmandev
3c776321db HHH-9145 Use JDBC Wrapper API for type checks 2014-05-23 17:53:31 -04:00
Lukasz Antoniak
64a27ccada HHH-9203 - ConcurrentNaturalIdCacheStatisticsImpl#getEntries() fails
with ClassCastException

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/naturalid/mutable/cached/CachedMutableNaturalIdStrictReadWriteTest.java
2014-05-23 17:53:29 -04:00
Lukasz Antoniak
478e2e26eb HHH-9201 - Evict cache instead of remove after transaction completion 2014-05-23 17:53:27 -04:00
Brett Meyer
f4fe4108a9 HHH-8941 simplified the dialect function 2014-05-23 17:53:19 -04:00
dodgex
d7347c3f48 [HHH-8941] add SQLFunctionTemplate for replace() to FirebirdDialect
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/FirebirdDialect.java
2014-05-23 17:52:35 -04:00
Steve Ebersole
d3f75ea0d9 HHH-9138 - CastFunctionTest failing on most databases
(cherry picked from commit c012c4d8de9aa68f42fed067184d2520594013d5)
2014-05-22 11:03:51 -05:00
Steve Ebersole
14053b5928 HHH-9190 : consolidate contracts
(cherry picked from commit fbe72e7b641fba2c95ce0b8867e080fb7e52613d)

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/query/spi/ParameterMetadataRecognizerInitiator.java
2014-05-22 09:49:34 -05:00
Gunnar Morling
ac06799a55 HHH-9190 Introducing QueryPlanFactory service contract in order to make creation of native query plans customizable 2014-05-21 09:24:02 -05:00
Gunnar Morling
ccdf6df3d6 HHH-9190 Introducing ParameterMetadataRecognizer contract in order to make retrieval fo parameter meta-data for native queries customizable 2014-05-21 09:24:02 -05:00
Lukasz Antoniak
07bc5ce877 HHH-9200 - Natural id cache statistics are not cleared 2014-05-19 13:57:18 -04:00
Steve Ebersole
fdf2ae3df5 HHH-9154 - keywords as parameter names
gah... missed in initial commit for cherry-pick
2014-05-15 09:24:37 -05:00
Steve Ebersole
1ed895a373 HHH-9154 - keywords as parameter names
(cherry picked from commit 5aff092e2bd06bcfc18eb6eec9983b2f97237d64)

Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
2014-05-15 09:23:26 -05:00
Gail Badner
eeeb4a884f HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-14 15:05:59 -07:00
Gail Badner
32054d8603 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-13 23:59:53 -07:00
Gail Badner
fcaa6e8780 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-13 22:42:28 -07:00
Gail Badner
56bcf3ae7f HHH-9154 : HQL Parsing: unexpected token ':' (test case) 2014-05-13 15:49:20 -07:00
Brett Meyer
656997a82c HHH-9174 cache SqlExceptionHelper reference 2014-05-09 12:35:06 -04:00
Brett Meyer
8a2a78ff33 HHH-9170 StatelessSession is accidentally 2LC enabled in some cases 2014-05-09 12:28:47 -04:00
Brett Meyer
5979046d05 HHH-9174 Increase performance
of SqlExceptionHelper#handleAndClearWarnings
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java
2014-05-09 12:28:42 -04:00
Gail Badner
61d2c0c049 HHH-9171 : Orphan removal broken for new element added by merge that is removed by later merge (test case) 2014-05-07 16:16:10 -07:00
Brett Meyer
24b041986d Revert "HHH-3730 Compare both ids in isModified instead of an object and an id"
This reverts commit c7903392cd29c8e435763c3ffd8936bf1d9949b0.
2014-04-21 09:45:01 -04:00
Guillaume Smet
c7903392cd HHH-3730 Compare both ids in isModified instead of an object and an id 2014-04-21 08:49:37 -04:00
msulima
ee8f26a4be HHH-9136 - DatabaseMetadata: NPE hides exception in finally block
- Protection against NPE in finally block
- Little formatting fixes
2014-04-21 08:43:32 -04:00
Steve Ebersole
025d2e2f44 HHH-8980 - Instance of super-class not found because of joined subclass reference is an inner join
(cherry picked from commit 651b23b1739a1409dea7e4521f26185d48fbba71)
2014-04-08 16:41:09 -05:00
Brett Meyer
f6399cd159 HHH-9107 throw WrongClassException if attempting to load incorrect
subclass from 2lc
2014-04-08 11:19:24 -04:00
Gail Badner
d997265b26 HHH-9106 : Multiple detached representations of the same entity cannot be merged 2014-04-07 16:02:33 -07:00
Steve Ebersole
cbc79c2d61 HHH-9100 - Improve CAST function support
(cherry picked from commit 137c2daf8171a9fb47df58cb119d23c10fddf105)
2014-04-07 14:09:47 -05:00
Brett Meyer
b861b4d29f HHH-9104 corrected BasicHibernateAnnotationsTest.testFilterOnCollection
test data cleanup
2014-04-07 14:18:22 -04:00
Brett Meyer
03586f3b7b HHH-9103 Dialect resolver should use a newer Oracle dialect for
Oracle12c
2014-04-07 11:09:40 -04:00
Steve Ebersole
92ae4ac417 HHH-9100 - Improve CAST function support
(cherry picked from commit 6ffbf8f3f3d22a2e65017e4b6a1717a1297a17b9)
2014-04-03 13:07:30 -05:00
Steve Ebersole
bbd2f1ae5b HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThenNode()
(cherry picked from commit efa5dc2f6ca1b4f20725e2d58d6afac00dff10b6)
2014-04-03 13:07:15 -05:00
Gail Badner
decb673bdd HHH-9089 : Test case that shows annotations on fields in nested embeddable collection elements are ignored 2014-03-27 20:01:39 -07:00
Steve Ebersole
33aeb4f7c2 HHH-8923 - Reconsider closing of ServiceRegistry instances
Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
2014-03-26 12:28:06 -04:00
Brett Meyer
2c88c3998b HHH-8923 corrected test case 2014-03-26 09:33:10 -04:00
Steve Ebersole
daf120b063 HHH-8923 - Reconsider closing of ServiceRegistry instances 2014-03-26 09:33:07 -04:00
Brett Meyer
1ec115c0d6 HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections 2014-03-24 13:24:35 -04:00
Steve Ebersole
0e6ed807fb HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to remove elements in collections
(cherry picked from commit 6f342358db3aa5618d60ec69f69f8c6cfb6eb611)
2014-03-21 13:32:00 -05:00
Alexander-Dukhno
50c12d98b2 HHH-7971 create regression test case for lazy loading with property ENABLE_LAZY_LOAD_NO_TRANS = true
(cherry picked from commit 30205607efb5b1253bc19ea025800fc9b6493ca8)
2014-03-21 13:31:42 -05:00
Guillaume Smet
a86acaf010 HHH-9072 Fix name property of LoadEventListener.RELOAD 2014-03-21 10:46:31 -05:00
Steve Ebersole
c5bdec20b9 HHH-9071 - Proxy narrowing loses the initialized state of the original proxy 2014-03-21 09:59:43 -05:00
Guillaume Smet
2cf52cc7f1 HHH-9071 When an already initialized proxy is narrowed, initialize the new proxy 2014-03-21 09:59:43 -05:00
Steve Ebersole
156bebd8a1 HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden 2014-03-20 09:47:54 -05:00
Steve Ebersole
d023c7c95c HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden 2014-03-20 09:33:00 -05:00
Steve Ebersole
1178e70034 HHH-1582 : post-commit listeners and failed transactions 2014-03-17 15:00:31 -05:00
Shawn Clowater
c6ca3a4ef2 HHH-1582 - Added explicit PostCommit(Insert|Delete|Update)EvenLister interfaces to allow for separation of success/fail handling in post commit events.
Maintained current behavior by having the Entity actions call the existing API unless using one of the new interfaces.  Added 2 test cases, 1 using the new interfaces and 1 using the existing interfaces.
2014-03-17 15:00:31 -05:00
Brett Meyer
ccdddf4682 HHH-9051 removing unnecessary System.out.println 2014-03-17 15:43:54 -04:00
Brett Meyer
a9c0fd3243 HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting 2014-03-17 15:12:43 -04:00
Brett Meyer
514f096061 HHH-9056
OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin fails
on oracle and postresql
2014-03-17 15:12:43 -04:00