Commit Graph

2461 Commits

Author SHA1 Message Date
Sanne Grinovero d7bf58e318 HHH-8898 Change the ScrollableResults API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00
Sanne Grinovero 4d70a29e58 HHH-8898 Change the SessionFactory API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00
Sanne Grinovero 7c006f7fcd HHH-8898 Change the Session API to enable auto-closeable when running on Java7 2015-05-12 13:51:27 +01:00
Steve Ebersole 1b468d06a3 HHH-9699 - Re-work the hibernate-osgi integration tests using managed Karaf 2015-05-08 15:31:51 -05:00
Steve Ebersole 88a6e4ba27 HHH-9760 - TransactionImpl itself should not be throwing new TransactionExceptions 2015-05-08 13:08:01 -05:00
Steve Ebersole 21abf08452 HHH-9756 - NPE in JtaTransactionCoordinatorImpl#explicitJoin() after previously executed transaction 2015-05-07 14:59:25 -05:00
barreiro 165f037bad HHH-8489 - bytecode enhancement: bi-directional associtation management
Closes #933
2015-05-07 13:10:58 -05:00
Gunnar Morling 7346533259 HHH-9697 Making AbstractDelegatingSessionFactoryBuilder a self-referential generic type so implementations can use co-variant return types in builder methods 2015-05-05 18:02:35 -05:00
Steve Ebersole da1fcbbfb7 HHH-9762 - Complete deprecation of Settings contract 2015-05-05 18:00:37 -05:00
Steve Ebersole 9bfd65e370 HHH-9768 - Maintain explicit list of ANSI SQL keywords 2015-05-01 14:29:17 -05:00
Steve Ebersole dd314f492d HHH-9768 - Maintain explicit list of ANSI SQL keywords 2015-05-01 14:08:33 -05:00
Steve Ebersole 5c88ccec5c HHH-9768 - Maintain explicit list of ANSI SQL keywords 2015-05-01 10:50:29 -05:00
Gail Badner 7569355ad8 HHH-9737 : Back out of change that quoted ANSI keyword in hibernate-core 2015-04-30 17:18:02 -07:00
Gail Badner bc58df9a78 HHH-9758 : Broken SQL generated for dynamic batch fetching entities with a composite ID 2015-04-29 21:48:12 -07:00
Gail Badner 4431f094c8 HHH-9736 : BigIntegerType should use BigIntTypeDescriptor 2015-04-28 16:11:35 -07:00
Gail Badner 720202058c HHH-9736 : BigIntegerType should use BigIntTypeDescriptor 2015-04-28 16:01:36 -07:00
Gail Badner 829709f60e HHH-9753 : Remove ClassicAvgFunction, ClassicCountFunction, ClassicSumFunction 2015-04-28 14:18:41 -07:00
Steve Ebersole 7715fccd04 HHH-9697 - Complete documentation of new approach and APIs for SessionFactory building 2015-04-27 13:26:28 -05:00
Steve Ebersole 148159fadc HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 13:34:42 -05:00
Andrea Boriero b476094d43 HHH-9747 - Import initial reworking of transaction handling (based on JdbcSession work) 2015-04-24 10:58:08 -05:00
Karel Maesen 0c0a5e2af0 HHH-6510 Added SQL Server 2008 support.
Converts SQL Server convertor integration tests to proper unit tests.
2015-04-24 05:55:52 -05:00
Karel Maesen 812da6e7cd HHH-6510 : Initial commit.
Source code copied from Hibernate Spatial 1.1.1-SNAPSHOT.
Root package is now org.hibernate.spatial (instead of org.hibernatespatial)
GeometryType replaces GeometryUserType.
SpatialDialects remap SpatialSqlTypeDescriptors.
Hibernate Spatial registers GeometryType in Integrator (temporary fix: see HHH-6507).
2015-04-24 05:55:52 -05:00
Steve Ebersole ae43670290 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used 2015-04-23 15:21:27 -05:00
Steve Ebersole 52589379e1 HHH-9732 - Audit code for spots that would benefit from a case-insensitive keyed Map 2015-04-22 13:17:21 -05:00
Steve Ebersole 3c85127f82 HHH-9716 - Previously working schema creation fails on 5.0 2015-04-22 11:09:51 -05:00
John O'Hara 3e5a8b6603 HHH-9701 - Develop "immutable EntityEntry" impl 2015-04-22 13:24:02 +01:00
Gail Badner 5269bcbeeb HHH-9737 : Miscellaneous bugs in unit tests when using non-default dialects
(cherry picked from commit a6969ceb0a)
2015-04-21 12:28:16 -07:00
Steve Ebersole d2c50f16f2 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 13:49:06 -05:00
Steve Ebersole e8af41637f HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-21 11:56:06 -05:00
Gail Badner df8cc6d4be HHH-9250 : BigIntegerSequenceGeneratorTest.testBasics fails on MS SQL Server 2012
(cherry picked from commit 49fed0938e)
2015-04-20 17:47:17 -07:00
Steve Ebersole 4541f7b501 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-20 15:21:37 -05:00
Steve Ebersole bf3669a7de HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-20 12:18:34 -05:00
Steve Ebersole 0993d78e97 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used 2015-04-17 16:36:39 -05:00
Steve Ebersole 06b6135a11 HHH-9724 - More complete "temp table" coverage and allow Dialects to influence which strategy is used - initial work 2015-04-17 16:25:40 -05:00
Brett Meyer 7ca12c7d80 HHH-9722 cleanup, removed StringHelper methods 2015-04-17 15:53:24 -04:00
10urshin 1361925bc7 HHH-9722
Changed all toLowerCase() and toUpperCase() to toLowerCase(Locale.ROOT),
toUpperCase(Locale.ROOT).
2015-04-17 15:53:24 -04:00
Steve Ebersole f77b861137 HHH-9716 - Previously working schema creation fails on 5.0 2015-04-17 11:05:39 -05:00
Steve Ebersole b6ae9edb4e HHH-9716 - Previously working schema creation fails on 5.0 2015-04-17 11:02:13 -05:00
Steve Ebersole 76d732d53a HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-16 14:19:11 -05:00
Steve Ebersole b1bbae2783 HHH-9727 - Slight redesign to bootstrapping APIs to allow for OGM bootstrapping 2015-04-16 09:02:28 -05:00
Steve Ebersole 2c968538a5 HHH-9728 - Audit Settings to decide what should become a SessionFactoryServiceRegistry service 2015-04-16 00:59:10 -05:00
Steve Ebersole 83f83c57dc HHH-9726 - Rename MetadataBuilderContributor to MetadataBuilderInitializer and pass it the StandardServiceRegistry 2015-04-15 11:44:49 -05:00
Steve Ebersole 650267077d HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-10 11:58:22 -05:00
Steve Ebersole 6e7357beeb HHH-9717 - Build script improvements - applied new standalone XJC and AnimalSniffer plugins 2015-04-09 11:36:04 -05:00
Steve Ebersole 9786409096 HHH-9550 - Allow a dialect to specify the level of catalog/schema support 2015-04-07 14:31:41 -05:00
Steve Ebersole a96385a6e0 HHH-9713 - Creating an index in the database incorrectly tries to qualify the index with table name for some databases 2015-04-06 13:47:48 -05:00
Steve Ebersole b7273d93a2 HHH-9704 - Complete HHH-8805 work on 5.0;
HHH-9709 - @ForeignKey
2015-04-02 17:14:40 -05:00
Steve Ebersole 22ca7125f7 HHH-9704 - Complete HHH-8805 work on 5.0;
HHH-9709 - JPA @ForeignKey not consistently applied from annotation binding
2015-04-02 17:02:59 -05:00
Sanne Grinovero 4c690a8839 HHH-9706 Review concurrency of ClassLoaderService and warn against reuse 2015-04-02 18:32:52 +01:00
Gail Badner 02e2644676 HHH-9370 : Unidirectional one-to-many with key that is property-ref (test case) 2015-04-01 16:13:55 -07:00
Steve Ebersole 256b2608ce HHH-9265 - Extract EntityEntry behind a factory + interface;
HHH-9700 - Make EntityEntryFactory pluggable via EntityPersister
2015-03-31 14:42:40 -05:00
John O'Hara 5c4dacb83e HHH-9265 - Extract EntityEntry behind a factory + interface 2015-03-31 13:07:06 -05:00
Brett Meyer 410a785dfe HHH-9680 updated OSGi quickstarts, added necessary contracts to Envers blueprint, corrected a few uses of ReflectionManager 2015-03-30 15:36:57 -04:00
barreiro 4def797408 [HHH-9690] reorganization of bytecode enhancer code
Enhancer class was split into 3 logical units: EntityEnhancer for regular entities; CompositeEnhancer for emmbeded entities; PersistentAttributesEnhancer to enhance the persistent fields of both types of entities
Added a few helper classes and re-worked the tests a bit as well
2015-03-27 18:24:07 -05:00
Steve Ebersole e9230758b4 HHH-9446 - ClassCastException on loaded entities under GlassFish 4.0 2015-03-27 15:13:53 -05:00
Gunnar Morling d5d066cb3d HHH-8901 Creating forwarding base classes for SessionBuilder(Implementor) and SharedSessionBuilder 2015-03-27 13:47:08 -05:00
Steve Ebersole 08f37c4502 HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-27 13:42:48 -05:00
Steve Ebersole d796acdbc2 HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-27 12:04:24 -05:00
Gunnar Morling 30240beded HHH-9689 Avoid NPE when trying to load non-existent properties resource 2015-03-27 10:12:30 -05:00
Steve Ebersole 1f50efa34c HHH-9524 - Make strategy for interpreting id-generator annotations pluggable 2015-03-26 22:54:01 -05:00
Gail Badner 64c3e4c783 HHH-8879 HHH-8994 : Embeddable with associations used as a Map key 2015-03-26 17:44:37 -07:00
Steve Ebersole 5d365cfa00 HHH-9524 - Make it pluggable how GenerationType.AUTO is mapped 2015-03-26 16:18:40 -05:00
Steve Ebersole 3b9b2eaa91 HHH-9668 - Document new SessionFactory approach and APIs 2015-03-26 12:28:29 -05:00
Steve Ebersole 599c10cd5a HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) 2015-03-26 09:57:49 -05:00
Steve Ebersole a92ddea9ca HHH-9492 - Migrate to new bootstrap API (MetadataSources, etc) - Gunnar's feedback 2015-03-26 00:25:52 -05:00
Steve Ebersole 9901f85f77 HHH-465 - order by nulls first / last 2015-03-25 15:37:07 -05:00
Gunnar Morling 52fabe70bc HHH-8191 Remvoing redundant semicolon 2015-03-25 16:24:54 +01:00
Steve Ebersole 117cb9cd2c Merge pull request #862 from magdalenamoeller/HHH-9556
HHH-9556 - enable query hints for SQL Server 2012
2015-03-24 23:54:57 -05:00
Steve Ebersole 4e0f2b3a7b HHH-9300 - DB2Dialect generates invalid order by clause 2015-03-24 23:49:09 -05:00
Steve Ebersole a4b5cf4597 HHH-9668 - Document new SessionFactory approach and APIs 2015-03-24 22:16:22 -05:00
Steve Ebersole 5f6d1d24f7 HHH-8844 - Add support for Java 8 date and time types (JSR-310) 2015-03-24 16:01:15 -05:00
Steve Ebersole 3e73948dae HHH-7375 - TimeZone of Calendar objects should be used in binding to JDBC statements 2015-03-23 21:02:45 -05:00
Steve Ebersole 04a4f54579 HHH-8191 - Update Teradata Dialect for Teradata 14.0 2015-03-23 14:54:24 -05:00
Steve Ebersole f6322b5cdd HHH-9678 - Change built-in SqlTypeDescriptor impls to not auto-register themselves with SqlTypeDescriptorRegistry 2015-03-23 11:20:01 -05:00
Brett Meyer 715544febe HHH-8191 cleanup 2015-03-21 23:15:10 -04:00
Dave Repshas 027840018b HHH-8191 Support Teradata 14.0 2015-03-21 23:06:06 -04:00
Steve Ebersole 27e8aae279 HHH-8697 - AttributeConverter not called when value is null;
HHH-9320 - AttributeConverter result ignored on extraction when ResultSet.wasNull
2015-03-21 15:54:56 -05:00
Steve Ebersole 7a1c155099 HHH-9577 - Make UUID generation the default (AUTO) for UUID type;
HHH-9562 - Dialect specific UUID handling
2015-03-21 14:45:44 -05:00
Andrej Golovnin a381e368eb HHH-9336 Avoid creation of TypedValue objects in
AbstractPersistentCollection#getOrphans(Collection, Collection,
String, SessionImplementor) for some ID types.
2015-03-20 17:17:43 -05:00
Andrej Golovnin 4615ae1018 - HHH-9324: Avoids creation of LimitHandler instances for every query. 2015-03-20 17:11:36 -05:00
Steve Ebersole 38c004431d HHH-9599 - AnnotationException occurs when applying @Nationalized and @Convert annotations to the same field 2015-03-20 16:55:29 -05:00
Steve Ebersole 8a7bc2e7c1 HHH-9605 - Query on an enum collection fails - minor changes 2015-03-20 15:39:02 -05:00
obr 001b841934 HHH-9605: fix querying a collection of enums 2015-03-20 15:39:02 -05:00
obr 2c8ded5ff3 HHH-9605: Test for querying a collection of enums 2015-03-20 15:39:02 -05:00
Steve Ebersole f45b37da8e HHH-9495 - @Convert support for collections 2015-03-20 15:08:49 -05:00
Gail Badner 8284b9ae2c HHH-9392 : SQLGrammarException while executing a entity graph with subgraphs 2015-03-20 12:40:20 -07:00
Steve Ebersole 22730624fc HHH-9042 - Envers fails with @Converter and AttributeConverter 2015-03-20 11:17:48 -05:00
Gail Badner 180e714b7c HHH-9448 : Association is not fetched when EntityGraph has explicit fetch and query has implicit join 2015-03-19 21:58:30 -07:00
Steve Ebersole 93cf72bfa1 HHH-9490 - Migrate from dom4j to jaxb for XML processing 2015-03-19 19:22:35 -05:00
Steve Ebersole bd8acaebca HHH-8866 - HQL Query with enum and @Convert 2015-03-19 19:19:03 -05:00
Steve Ebersole ffce4ffc2c HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi 2015-03-19 14:20:00 -05:00
Steve Ebersole 80bf715f0b HHH-9490 - Migrate from dom4j to jaxb for XML processing - hibernate-osgi 2015-03-19 12:40:29 -05:00
Steve Ebersole 63a0f03c5a HHH-9654 - Adjust envers for 5.0 APIs + JAXB 2015-03-18 20:22:26 -05:00
Gunnar Morling 8468d834ef HHH-9451 Propagating entity entry extra state when using identity id generation strategy
(cherry picked from commit 4bbf4cd1db)
2015-03-13 12:56:33 -07:00
Sanne Grinovero 04e7cfce70 HHH-9659 AnnotationMetadataSourceProcessorImpl uses a Logger.debugf method without matching parameters 2015-03-13 19:09:12 +00:00
Sanne Grinovero 6eb6f38721 HHH-9658 Refactor some of the existing logging tests 2015-03-13 19:09:12 +00:00
Sanne Grinovero c067fc2b42 HHH-9658 Simplify the way tests assert on logging statements 2015-03-13 19:09:12 +00:00
Gail Badner 965e044850 HHH-9333 : TypeMismatchException when using composite-id and natural-id mappings 2015-03-12 23:40:47 -07:00
Gail Badner 6c404c30f7 HHH-9642 : Join fetch not performing join fetch for @Embeddable with @OneToMany 2015-03-11 15:58:29 -07:00
Steve Ebersole 24bafba2b0 Merge pull request #848 from golovnin/HHH-9328_newmaster
HHH-9328 Avoid creation of Cascade objects at all
2015-03-10 22:21:53 -05:00