Commit Graph

5681 Commits

Author SHA1 Message Date
Guillaume Smet cee8d5d376 HHH-9072 Fix name property of LoadEventListener.RELOAD
(cherry picked from commit a86acaf010)
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 c5bdec20b9)
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 2cf52cc7f1)
2014-03-21 10:02:06 -05:00
Guillaume Smet 4f0cd27ccc HHH-9067 Make HibernatePersistenceProvider easier to extend
The ultimate goal is to be able to instantiate easily an HibernatePersistenceProvider
with a Spring managed interceptor.
(cherry picked from commit 1c0841180d)
2014-03-20 22:34:36 -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 18561b8dfb HHH-8732 minor test fix 2014-03-19 16:04:21 -04:00
Alex Snaps 27a53af302 HHH-8732 Upgraded Ehcache to 2.7.5 2014-03-19 15:48:05 -04:00
Brett Meyer 8c8304a76a HHH-8021 support overriding nested embeddables with secondary tables 2014-03-19 14:53:07 -04:00
Brett Meyer 839f680d58 HHH-9064 Simplify/improve the hibernate-osgi tests 2014-03-18 18:07:21 -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 1178e70034)
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 c6ca3a4ef2)
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
Julien Herr 7f2eb1c525 HHH-9039 Typo 2014-03-12 14:37:43 -04:00
bleporini fc4a0cd6c3 HHH-9039 Update collection_mapping.xml typos 2014-03-12 14:37:41 -04:00
Evan Severson f21a84ded6 HHH-8815 Updated example code for session scoped interceptor 2014-03-12 13:23:13 -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 539866b773.
2014-02-28 13:59:32 -05:00
Brett Meyer d25044a1ea HHH-9010: Revert "HHH-8961 corrected test failure"
This reverts commit 64acebb5a9.
2014-02-28 13:59:04 -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