Commit Graph

5592 Commits

Author SHA1 Message Date
Brett Meyer 519acb2749 HHH-6132 @FetchProfiles should throw MappingException when invalid
entity or association used
2014-03-25 14:12:07 -04:00
Brett Meyer b6795294e6 HHH-8962 allow PrimitiveTypeDescriptor to provide the actual Class 2014-03-24 18:11:44 -04:00
Brett Meyer e756bd0e0e HHH-6109 corrected @CollectionId#type handling 2014-03-24 17:18:49 -04:00
Brett Meyer 87d04ef3ed HHH-9078 correct OrderColumn indexes for inverse, extra lazy collections 2014-03-24 13:27:01 -04:00
Steve Ebersole ea2a7d50d1 HHH-9076 - Dynamic model (map mode) support in reflite 2014-03-22 15:20:14 -05:00
Brett Meyer 1c222d1b1e HHH-6438 made Constraint#name an Identifier 2014-03-21 16:12:20 -04:00
Brett Meyer 9504c102cf HHH-8796 corrected MySQL index create/drop, corrected qualifyIndexName()
use
2014-03-21 16:12:20 -04:00
Gail Badner 62704e4daa HHH-7490 - Integrate Envers with Metamodel 2014-03-21 13:15:11 -07:00
Gail Badner 24ff8d6eae HHH-7490 - Integrate Envers with Metamodel 2014-03-21 12:44:06 -07:00
Steve Ebersole 6f342358db HHH-7971 - Enabling ENABLE_LAZY_LOAD_NO_TRANS results in trying to remove elements in collections 2014-03-21 13:16:07 -05:00
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 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