2236 Commits

Author SHA1 Message Date
Alexander-Dukhno
30205607ef HHH-7971 create regression test case for lazy loading with property ENABLE_LAZY_LOAD_NO_TRANS = true 2014-03-21 13:13:46 -05:00
Guillaume Smet
cee8d5d376 HHH-9072 Fix name property of LoadEventListener.RELOAD
(cherry picked from commit a86acaf0102c70a06229d2d46e389660c4f11986)
2014-03-21 10:47:19 -05:00
Steve Ebersole
af557ce9b8 HHH-9071 - Proxy narrowing loses the initialized state of the original proxy
(cherry picked from commit c5bdec20b96a1179d70338644d8c2d5f1408001e)
2014-03-21 10:02:22 -05:00
Guillaume Smet
a9d927a1e4 HHH-9071 When an already initialized proxy is narrowed, initialize the new proxy
(cherry picked from commit 2cf52cc7f1e1d8f918188d5166a3a869fc213cd8)
2014-03-21 10:02:06 -05:00
Steve Ebersole
bdb27beb8e HHH-8923 - Reconsider closing of ServiceRegistry instances 2014-03-20 14:47:57 -05:00
Steve Ebersole
414a0fbb24 HHH-8816 - Unable to instantiate AttributeConverter: root cause of exception hidden 2014-03-20 11:28:43 -05:00
Steve Ebersole
9d0af62385 HHH-8956 - JandexHelper love 2014-03-19 17:10:23 -05:00
Baptiste Mathus
e83691501f HHH-9038 Fix HSQLDB dialect for non-existing constraints.
This commits relates to https://hibernate.atlassian.net/browse/HHH-7002.
It basically removes the explicit constraints dropping, and uses
cascading instead.

As HSQLDB requires to put CASCADE last, but fortunately accepts IF
EXISTS also before tablename, we just put the IF EXISTS *before* the
tablename, and CASCADE after it. And there you go.
2014-03-19 16:24:25 -04:00
Brett Meyer
8c8304a76a HHH-8021 support overriding nested embeddables with secondary tables 2014-03-19 14:53:07 -04:00
Steve Ebersole
6e8cffc983 HHH-9048 - Derived ids where the derived id is basic cannot be looked up by simple value 2014-03-18 12:17:44 -05:00
Steve Ebersole
4933a266f2 HHH-9059 - JPA 2.1 @NamedStoredProcedureQuery binding in metamodel 2014-03-18 09:58:30 -05:00
Brett Meyer
83d2e46ba4 HHH-7033 replaced all Dialect limit/offset methods with LimitHandler use 2014-03-17 19:45:17 -04:00
Brett Meyer
ac648cec15 HHH-9044 formatting, minor fixes 2014-03-17 19:45:17 -04:00
zhouyanming
1e5444f07d HHH-9044 created Oracle12cDialect, SQL2008StandardLimitHandler, minor tweaks for identity generation 2014-03-17 19:45:17 -04:00
Brett Meyer
a9f867fede HHH-7033 removed deprecated dialects, deprecated dialect methods,
o.h.dialect.unique
2014-03-17 19:45:17 -04:00
Brett Meyer
4651a064fa HHH-8805 HHH-7916 Support @Index(NO_CONSTRAINT) and @NotFound(IGNORE) 2014-03-17 19:45:16 -04:00
Steve Ebersole
8945e9e590 HHH-9060 - JPA 2.1 ContructorResult binding in metamodel 2014-03-17 18:31:42 -05:00
Steve Ebersole
8309071f3c HHH-1582 : post-commit listeners and failed transactions 2014-03-17 15:45:19 -05:00
Steve Ebersole
ef0bcbdc45 HHH-1582 : post-commit listeners and failed transactions
(cherry picked from commit 1178e70034e517abaa4029acd3c7aac83a4916c9)
2014-03-17 15:03:35 -05:00
Shawn Clowater
4f963a6fb4 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.
(cherry picked from commit c6ca3a4ef2278f82f0ba955978523058a4fcbb23)
2014-03-17 15:03:12 -05:00
Brett Meyer
96d60ba05d HHH-9051 removing unnecessary System.out.println 2014-03-17 15:44:03 -04:00
Brett Meyer
ea112b7712 HHH-9057 Correct ObjectNameNormalizer for mssql-style quoting 2014-03-17 15:16:19 -04:00
Brett Meyer
a972348369 HHH-9056
OneToOneTest.testPkOneToOneSelectStatementDoesNotGenerateExtraJoin fails
on oracle and postresql
2014-03-17 15:16:17 -04:00
Brett Meyer
fed02fff68 HHH-9054 QuoteTest violates unique key constraint on some DBs 2014-03-17 15:16:15 -04:00
Brett Meyer
128efcab0a HHH-9052 ASTParserLoadingTest.testBooleanPredicate fails on most
databases
2014-03-17 15:16:12 -04:00
Steve Ebersole
c06a45a636 HHH-8966 - Redo the MetadataBuilder process;
HHH-8956 - TLC for annotation pre-processor;
HHH-8962 - Create a set of light reflection classes;
HHH-8932 - Need to integrate JPA 2.1 AttributeConverters into new metamodel binding
2014-03-17 13:07:31 -05:00
Gail Badner
0329f37d99 HHH-9002 : Fetch many-to-many order by 2014-03-14 15:59:22 -07:00
Libor Ondrusek
26fadde9d3 HHH-9040 Added halt on error support for scripts importing
Conflicts:
	hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
2014-03-12 17:06:00 -04:00
Brett Meyer
a71eb4786a HHH-8374 test case 2014-03-12 16:22:51 -04:00
sndyuk
05c078e459 HHH-8374: Treat an entity wrapped by hibernate proxy equals a raw entity 2014-03-12 16:22:49 -04:00
Jorgen Rydenius
a69c6c7dff HHH-9037 Simplified debugging by improving the ClassCastException message from JavassistLazyInitializer. 2014-03-12 13:20:46 -04:00
Brett Meyer
552301bdc4 HHH-9034 ASTParserLoadingTest fails with postgresplus92 2014-03-12 12:53:22 -04:00
Brett Meyer
ca9b917622 HHH-7534 completed test case 2014-03-10 15:42:20 -04:00
Brett Meyer
d576bb071f HHH-9028 corrected Session#get for caching w/ polymorphism, improved
tests
2014-03-07 12:17:30 -05:00
Guillaume Smet
c94088ee6c HHH-9028 Test case: when second level cache is enabled, the session returns the objects even if the class doesn't match 2014-03-07 12:17:28 -05:00
Brett Meyer
ca0c2f4548 HHH-9024 correct TypedValue transients during de-serialization 2014-03-06 12:15:24 -05:00
Brett Meyer
2f293ed46c HHH-7072 correcting test failure 2014-03-04 17:19:18 -05:00
Brett Meyer
595c78754c HHH-7072 force recreation of element collections of components with all
nullable properties
2014-03-04 16:29:37 -05:00
Brett Meyer
9b57337a85 HHH-9017 correct HSQL pooled sequences 2014-03-04 09:57:17 -05:00
Brett Meyer
9f927ba3ac HHH-9010: Revert "HHH-8961 Reduce allocation cost of org.hibernate.cache.spi.CacheKey instances"
This reverts commit 539866b773793bb677d15aad58a1d534ca8f32a1.
2014-02-28 13:59:32 -05:00
Sanne Grinovero
1a79515e3c HHH-9003 Avoid allocating arrays in most methods of ComponentType 2014-02-26 19:01:39 -05:00
Sanne Grinovero
8cd013bf11 HHH-8950 Avoid repeated array allocation for sqlTypes 2014-02-26 19:01:37 -05:00
Sanne Grinovero
6ccde14d24 HHH-8878 Remove some dead code 2014-02-26 18:53:38 -05:00
Sanne Grinovero
2798e9d8e3 HHH-8878 Avoid hot allocation in PooledLoOptimizer
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
2014-02-26 18:53:35 -05:00
Sanne Grinovero
a34d740eba HHH-8878 Fix logged message about PooledLoOptimizer being created
Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java

Conflicts:
	hibernate-core/src/main/java/org/hibernate/id/enhanced/OptimizerFactory.java
	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2014-02-26 18:53:31 -05:00
Sanne Grinovero
28ae6d32ea HHH-9001 Unnecessary Stack object being allocated in
org.hibernate.engine.internal.Cascade

Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/internal/Cascade.java
2014-02-26 17:41:52 -05:00
Brett Meyer
15247a6a59 Revert "HHH-8945 introduced "hibernate.session.initial_capacity" to reduce"
This reverts commit 284e219fd38776e6e809ff29f305d4b89ab64955.
2014-02-26 17:22:43 -05:00
Brett Meyer
03c086ee6f Revert "HHH-8945 increased default map size"
This reverts commit 31a4b22e44edf238f0179c219b7d42931eb80910.
2014-02-26 17:22:30 -05:00
Sanne Grinovero
a373505a1c CheckStyle: Improve formatting of org.hibernate.event.spi.LoadEvent 2014-02-24 17:06:04 +00:00
Sanne Grinovero
86ab291257 HHH-8984 EntityEntry slimming: remove EntityMode and tenantId fields 2014-02-24 17:00:59 +00:00