Commit Graph

2366 Commits

Author SHA1 Message Date
Brett Meyer df7c35d956 HHH-8941 simplified the dialect function 2014-05-23 17:31:02 -04:00
dodgex 54cc9073f4 [HHH-8941] add SQLFunctionTemplate for replace() to FirebirdDialect 2014-05-23 17:29:40 -04:00
Steve Ebersole c012c4d8de HHH-9138 - CastFunctionTest failing on most databases 2014-05-22 11:02:38 -05:00
Steve Ebersole fbe72e7b64 HHH-9190 : consolidate contracts 2014-05-22 09:39:01 -05:00
Steve Ebersole d1959cd121 HHH-9190 : port to master 2014-05-22 09:39:01 -05:00
Gunnar Morling 954a8416ab HHH-9190 Introducing QueryPlanFactory service contract in order to make creation of native query plans customizable
(cherry picked from commit ac06799a55)
2014-05-22 09:39:01 -05:00
Gunnar Morling 523b515bf8 HHH-9190 Introducing ParameterMetadataRecognizer contract in order to make retrieval fo parameter meta-data for native queries customizable
(cherry picked from commit ccdf6df3d6)
2014-05-22 09:39:01 -05:00
Brett Meyer 2faa0b2244 HHH-8893 corrected expected failures 2014-05-21 20:33:12 -04:00
Brett Meyer 51d09c53cb HHH-8893 HBM transform/mock
asdf
2014-05-21 18:03:30 -04:00
Brett Meyer 3e1d73cae8 HHH-8893 @FailureExpectedWithNewUnifiedXsd & a @FailureExpectedMarker
meta-annotation
2014-05-21 17:22:19 -04:00
Brett Meyer 754af46a70 HHH-8893 HBM transform/mock 2014-05-21 17:21:23 -04:00
Brett Meyer 047d308601 HHH-8893 delay binding of xml resources until building Metadata,
introduce ClassLoaderAccess into transformer, removed old XmlBinder
2014-05-21 17:12:24 -04:00
Brett Meyer 95d66ed252 HHH-8893 HBM transform/mock 2014-05-21 17:09:54 -04:00
Brett Meyer 87a4b56bd2 HHH-8893 deprecated Configuration#addDocument(Document), removed EntityResolver concepts 2014-05-21 17:09:51 -04:00
Brett Meyer 01ece111a0 HHH-8893 HBM transform/mock 2014-05-21 17:09:48 -04:00
Brett Meyer 77f0c9a1ed HHH-8893 removed o.h.metadata.source.internal.hbm,
MetadataSourceProcessor, and MetadataSourceProcessingOrder
2014-05-21 17:09:41 -04:00
Brett Meyer 8634da864b HHH-8893 wired UnifiedMappingBinder into MetadataSources 2014-05-21 17:04:59 -04:00
Brett Meyer 66da9cac98 HHH-9167 formatting, postgres 94 extends 92 2014-05-19 15:17:22 -04:00
Mark Robinson 4a8bc1f250 HHH-9167 Add support for PostgreSQL's new JSON data type 2014-05-19 15:17:18 -04:00
Brett Meyer bd8230841a HHH-9126 formatting 2014-05-19 15:03:51 -04:00
Matthias Kurz 924fce2c86 HHH-9126 Support new functions in PostgreSQL 9.4 2014-05-19 15:01:21 -04:00
Lukasz Antoniak b9dc1e3d48 HHH-9200 - Natural id cache statistics are not cleared 2014-05-19 13:56:35 -04:00
Steve Ebersole cb87d8ff7a HHH-9154 - keywords as parameter names 2014-05-15 09:47:09 -05:00
Gail Badner 483bfdb74d HHH-9189 HHH-9189 : Initial value for sequence in HBM mapping 2014-05-14 16:47:08 -07:00
Gail Badner e4426c9249 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-14 13:44:17 -07:00
Gail Badner 2a27b7de98 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-14 12:56:21 -07:00
Gail Badner 642012aac0 HHH-9169 : SQLServer2012Dialect creates sequences starting from Long.MIN_VALUE 2014-05-14 12:56:11 -07:00
Gail Badner b945cc2709 HHH-9154 : HQL Parsing: unexpected token ':' (test case) 2014-05-13 15:56:35 -07:00
Brett Meyer c5e09dd8ef HHH-9174 cache SqlExceptionHelper reference 2014-05-09 12:35:13 -04:00
Brett Meyer 47204593f6 HHH-9170 StatelessSession is accidentally 2LC enabled in some cases 2014-05-09 12:29:42 -04:00
Brett Meyer 26c7400c0a HHH-9174 Increase performance
of SqlExceptionHelper#handleAndClearWarnings
Conflicts:
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/SqlExceptionHelper.java
2014-05-09 12:29:37 -04:00
Steve Ebersole 457937885b HHH-9143 - Build baseline Jandex as part of scanning 2014-05-08 13:19:20 -05:00
Steve Ebersole f410417f25 HHH-9143 - Build baseline Jandex as part of scanning 2014-05-08 13:19:20 -05:00
Gail Badner 20d3b62f12 HHH-9171 : Orphan removal broken for new element added by merge that is removed by later merge (test case) 2014-05-08 11:00:48 -07:00
Steve Ebersole bb91e1d3b8 HHH-9161 - Improve build handling of generated sources 2014-05-08 11:40:51 -05:00
Steve Ebersole 568a16eefa HHH-9113 - Support for building with Java 8 JDK 2014-05-07 11:27:53 -05:00
Steve Ebersole 9514c56c6d HHH-9055 - Binding support for IdClass and MapsId needs a complete review 2014-04-24 21:30:12 -05:00
Steve Ebersole 7e5b0c4aa5 HHH-9055 - Binding support for IdClass and MapsId needs a complete review 2014-04-24 15:35:26 -05:00
Steve Ebersole bd7605da01 HHH-9055 - Binding support for IdClass and MapsId needs a complete review 2014-04-24 15:31:55 -05:00
Steve Ebersole 104eea1beb HHH-9055 - Binding support for IdClass and MapsId needs a complete review 2014-04-24 15:29:27 -05:00
Brett Meyer 7e7a7b2f95 Revert "HHH-3730 Compare both ids in isModified instead of an object and an id"
This reverts commit d3a3a6804f.
2014-04-21 09:45:39 -04:00
Guillaume Smet d3a3a6804f HHH-3730 Compare both ids in isModified instead of an object and an id 2014-04-21 08:47:58 -04:00
msulima 3b18c275ea HHH-9136 - DatabaseMetadata: NPE hides exception in finally block
- Protection against NPE in finally block
- Little formatting fixes
2014-04-21 08:45:43 -04:00
Gail Badner 9bd6917d0d HHH-7490 : Misc bugfixes and added @FailureExpectedWithNewMetamodel to failing tests 2014-04-11 17:54:52 -07:00
Steve Ebersole 651b23b173 HHH-8980 - Instance of super-class not found because of joined subclass reference is an inner join 2014-04-08 16:40:17 -05:00
Brett Meyer 42217d78bc HHH-9107 @FailureExpectedWithNewMetamodel 2014-04-08 17:04:08 -04:00
Brett Meyer 8c94c30eb7 HHH-9107 throw WrongClassException if attempting to load incorrect
subclass from 2lc
2014-04-08 11:19:37 -04:00
Gail Badner 0118376f8e HHH-9106 : Multiple detached representations of the same entity cannot be merged 2014-04-07 16:26:47 -07:00
Brett Meyer 3ed2d7a35c HHH-9104 corrected BasicHibernateAnnotationsTest.testFilterOnCollection
test data cleanup
2014-04-07 14:18:59 -04:00
Steve Ebersole c98c4869a8 Applying advice from Peter in regards to http://forums.gradle.org/gradle/topics/gradle_hangs_indefinitely_in_testclasses_ci 2014-04-04 17:22:13 -05:00
Steve Ebersole 137c2daf81 HHH-9100 - Improve CAST function support 2014-04-04 16:00:45 -05:00
Steve Ebersole 1dd12ec9e9 FailureExpectedWithNewMetamodel cleanup 2014-04-03 22:14:38 -05:00
Steve Ebersole 8ed0bbcd52 FailureExpectedWithNewMetamodel cleanup 2014-04-03 21:37:27 -05:00
Steve Ebersole 2a0b9825f1 FailureExpectedWithNewMetamodel cleanup 2014-04-03 20:56:46 -05:00
Steve Ebersole d8e4f9e8f8 HHH-8956 - TLC for annotation pre-processor + document AccessType as topical guide 2014-04-03 16:14:58 -05:00
Steve Ebersole 6ffbf8f3f3 HHH-9100 - Improve CAST function support 2014-04-03 13:02:30 -05:00
Steve Ebersole efa5dc2f6c HHH-4700 - ClassCastException with parameter in CaseNode.getFirstThenNode() 2014-04-03 08:35:44 -05:00
Steve Ebersole 608e5080e8 HHH-8956 - TLC for annotation pre-processor + document AccessType as topical guide 2014-04-02 13:53:46 -05:00
Steve Ebersole 545516328a HHH-9055 - Binding support for IdClass and MapsId needs a complete review 2014-03-28 16:56:55 -05:00
Brett Meyer 3cd4ae6c2a HHH-9094 update hibernate-infinispan for metamodel 2014-03-28 15:09:15 -04:00
Steve Ebersole c171d79ecf FailureExpectedWithNewMetamodel cleanup 2014-03-27 07:17:25 -05:00
Steve Ebersole c3e8f4a007 FailureExpectedWithNewMetamodel cleanup 2014-03-27 07:16:25 -05:00
Brett Meyer 11f4aab733 HHH-8966 removed mistakenly committed code 2014-03-26 15:51:23 -04:00
Brett Meyer 0612dc72f7 HHH-8966 do not process attributes for non
@Entity/@MappedSuperclass/@Embeddable classes
2014-03-26 14:17:10 -04:00
Steve Ebersole 8002cf4492 HHH-8923 - Reconsider closing of ServiceRegistry instances 2014-03-26 11:05:19 -05:00
Gail Badner b9066312a6 HHH-7490 - Integrate Envers with Metamodel 2014-03-25 23:03:45 -07:00
Steve Ebersole 674eeec3a9 FailureExpectedWithNewMetamodel cleanup 2014-03-25 23:31:55 -05:00
Steve Ebersole 2b17b95980 FailureExpectedWithNewMetamodel cleanup 2014-03-25 22:08:10 -05:00
Steve Ebersole bab7fc6a47 HHH-9077 - org.hibernate.metamodel.source.spi TLC 2014-03-25 21:09:42 -05:00
Brett Meyer c7a07a170a HHH-7904 corrected CollectionTableNamingStrategyHelper 2014-03-25 16:41:48 -04:00
Brett Meyer c1a5622a7e HHH-9083 throw AnnotationException for out of place @Immutable 2014-03-25 14:33:04 -04:00
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 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
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 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