Commit Graph

2380 Commits

Author SHA1 Message Date
Steve Ebersole 8451c03ea5 HHH-8211 - Checkstyle and FindBugs fix-ups 2013-05-18 11:39:44 -05:00
Steve Ebersole 14993a4637 HHH-8223 - Implement @NamedEntityGraph binding 2013-05-17 12:50:19 -05:00
Brett Meyer 21ae220a4c HHH-8254 throw HibernateException when transaction is rolledback by a
reaper thread
2013-05-17 13:22:46 -04:00
Gail Badner 043d618c03 HHH-7841 - Redesign Loader
HHH-7841 - Redesign Loader

HHH-7841 - Redesign Loader

HHH-7841 - Redesign Loader
2013-05-17 03:14:48 -07:00
Brett Meyer bc6f5d8a17 HHH-6813 @Id @OneToOne cause NullPointerException during query 2013-05-16 18:50:48 -04:00
Brett Meyer 8412dce0eb HHH-7666 SchemaUtil cleanup 2013-05-16 18:10:09 -04:00
Brett Meyer 940ff1831e HHH-7666 Replace unit tests' use of configuration() 2013-05-16 17:45:29 -04:00
Brett Meyer 9dc22b3322 added @FailureExpected on a new test from master merge 2013-05-16 16:09:51 -04:00
Brett Meyer adbb3d9324 HHH-8252 Correct metamodel support for custom SQL annotations 2013-05-16 15:43:31 -04:00
george-007 8b9ec5cca5 Update DefaultInitializeCollectionEventListener.java 2013-05-16 11:53:55 -04:00
Brett Meyer 08215bad73 HHH-2664 full join not working 2013-05-15 00:35:12 -04:00
Gail Badner 4dac8052d5 HHH-7841 - Redesign Loader 2013-05-13 13:28:01 -07:00
Brett Meyer ca4516a4e9 HHH-8217 constraint name fixes for metamodel 2013-05-13 16:23:18 -04:00
Gail Badner 4620ff4b4f HHH-7841 - Redesign Loader 2013-05-13 12:10:47 -07:00
Gail Badner dfe33ffa1a HHH-7841 - Redesign Loader 2013-05-13 12:10:47 -07:00
Strong Liu 96ce0d2742 merge master 2013-05-13 18:55:37 +08:00
Steve Ebersole 1337d36a79 HHH-8235 - Drop database profiles upstream 2013-05-10 15:59:02 -05:00
Brett Meyer cf91fd7a49 HHH-6813 @Id @OneToOne cause NullPointerException during query 2013-05-10 13:11:49 -04:00
Steve Ebersole 9a590c8e69 HHH-8222 - Implement @NamedStoredProcedureQuery binding 2013-05-09 20:36:14 -05:00
Steve Ebersole 8e3770235b HHH-8211 - Checkstyle and FindBugs fix-ups 2013-05-09 19:51:10 -05:00
Steve Ebersole 8c95a6077a HHH-8222 - Implement @NamedStoredProcedureQuery binding 2013-05-09 14:47:58 -05:00
Brett Meyer 1df4b2ea3c HHH-8226 table synonyms cannot find columns on Oracle 2013-05-07 16:20:43 -04:00
Steve Ebersole f09a337601 HHH-5465 - HQL left join fetch of an element collection following a left join fetch of a one-to-one relationship causes NullPointerException 2013-05-07 15:10:28 -05:00
Christian Beikov 4c47ba13e3 HHH-5465 - HQL left join fetch of an element collection following a left join fetch of a one-to-one relationship causes NullPointerException (testcase) 2013-05-07 15:10:28 -05:00
Brett Meyer 9030fa015e HHH-8217 Make generated constraint names short and non-random 2013-05-07 12:36:54 -04:00
Lukasz Antoniak 9fc22a49be HHH-7214 - Validation of duplicated discriminator values 2013-05-07 09:40:12 -04:00
Lukasz Antoniak 51b9248c4b HHH-6875 - Fix and test 2013-05-07 09:40:12 -04:00
Strong Liu 7004914ec0 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-07 13:30:29 +08:00
Gunnar Morling 1bf647b7eb HHH-8218 - Upgrading to BV 1.1.0.Final and HV 5.0.1.Final 2013-05-06 16:29:52 -05:00
Gunnar Morling 196885498b HHH-8219 - Removing references to methods added in Java 7 2013-05-06 22:16:57 +02:00
Strong Liu b9249e548a merge master 2013-05-06 22:55:00 +08:00
Strong Liu 72291316fc HHH-8221 - mocking orm.xml is not processed well 2013-05-03 18:28:17 +08:00
Brett Meyer 257d8ee370 HHH-7943 Corrected RegionFactoryInitiator for failing inifinispan tests 2013-05-01 15:05:31 -04:00
Brett Meyer 489ee4a734 HHH-7943 Added support for ehcache and infinispan strategies and OSGi
services.  Numerous ehcache and infinispan CL fixes.
2013-05-01 15:05:31 -04:00
Steve Ebersole 8c9ab58f44 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 11:52:08 -05:00
Steve Ebersole 2b20197249 HHH-8207 - Locale conversion is broken 2013-05-01 11:28:23 -05:00
Christian Beikov b39fdbf1f8 Fix string to locale conversion
The original implementation didn't care about leading underscores. StringTokenizer skips leading separators which is actually wrong. new Locale("", "XX").toString() produces "_XX" which can't be converted back to the same locale with the original implementation.
2013-05-01 10:43:23 -05:00
Steve Ebersole 4d04dfc088 HHH-8207 - Locale conversion is broken 2013-05-01 10:34:05 -05:00
Steve Ebersole a1d190d674 HHH-8159 - Apply fixups indicated by analysis tools 2013-05-01 09:23:52 -05:00
Brett Meyer 04fe84994d HHH-7995 Added support for TypeContributors in OSGi. Integrated with
envers
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiPersistenceProvider.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/OsgiSessionFactoryService.java
2013-05-01 00:05:03 -04:00
Steve Ebersole 06fb9e70db HHH-7998 - Add TypeContributions contract
Conflicts:
	hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/spi/TypeContributor.java
2013-04-30 23:58:43 -04:00
Steve Ebersole 459c061eb6 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-30 15:31:10 -05:00
Steve Ebersole 1c690ca89b HHH-8159 - Apply fixups indicated by analysis tools 2013-04-29 20:24:54 -05:00
Steve Ebersole 3b8320da7e HHH-8159 - Apply fixups indicated by analysis tools 2013-04-29 18:57:29 -05:00
Brett Meyer 30d63bf58f HHH-7995 Auto-discovery of Hibernate extension points in OSGi 2013-04-29 11:51:02 -04:00
Brett Meyer 398000517f HHH-7943 Reworked "Availability" concepts into "strategy registration
providers".  Updated proxool and c3p0 to use strategy selection.
2013-04-29 11:51:01 -04:00
Steve Ebersole b51164aef6 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 18:50:39 -05:00
Steve Ebersole 021401835c HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 14:10:54 -05:00
Steve Ebersole fc02da1c12 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 12:30:34 -05:00
Steve Ebersole 48331ed8cf HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 11:36:58 -05:00
Steve Ebersole 42fd32a81a HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 11:19:54 -05:00
Steve Ebersole e09d6855a2 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-26 11:04:40 -05:00
Steve Ebersole b05b7800e1 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-25 17:16:28 -05:00
Strong Liu fecde04472 HHH-8127 OutOfMemoryError when running tests 2013-04-26 02:44:18 +08:00
Steve Ebersole ce08bdb7a8 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-25 10:01:09 -05:00
Steve Ebersole 955c99cc43 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-25 09:49:02 -05:00
Brett Meyer 377c300071 HHH-8162 Make unique constraint handling on schema update configurable 2013-04-24 17:24:53 -04:00
Brett Meyer 4d461cc44e HHH-2872 test case 2013-04-24 15:43:08 -04:00
Steve Ebersole 5fc70fc5ab HHH-8159 - Apply fixups indicated by analysis tools 2013-04-24 13:28:26 -05:00
Steve Ebersole 8c28ba8463 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-23 18:13:59 -05:00
Strong Liu 262c109e64 HHH-8201 global info defined in the orm.xml is not mocked into entity annotation 2013-04-24 00:57:45 +08:00
Gail Badner 900ad4be11 HHH-7841 - Redesign Loader 2013-04-22 16:07:50 -07:00
Gail Badner 8c7dfc9d28 HHH-7841 - Redesign Loader 2013-04-22 16:07:50 -07:00
Steve Ebersole 63093dbfd9 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-22 17:15:14 -05:00
Strong Liu a0ccbb425b merge master 2013-04-22 15:19:35 +08:00
Steve Ebersole 3343e6d6c3 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-19 15:49:53 -05:00
Steve Ebersole 6a388b754c HHH-8159 - Apply fixups indicated by analysis tools 2013-04-19 14:35:39 -05:00
Gail Badner bca73db4f9 HHH-7841 - Redesign Loader 2013-04-19 02:16:38 -07:00
Gail Badner b6fd7bf223 HHH-7841 - Redesign Loader 2013-04-19 02:15:59 -07:00
Gail Badner f3298620ee HHH-7841 - Redesign Loader 2013-04-18 13:32:57 -07:00
Steve Ebersole 3600ffb7f2 HHH-7841 - Redesign Loader 2013-04-18 12:47:18 -05:00
Steve Ebersole b8b9735cf5 simple build script fix for IDEA project generation 2013-04-17 13:26:55 -05:00
Steve Ebersole 8eeef7af3b HHH-8146 - Update to use maven-publishing plugin 2013-04-16 18:26:02 -05:00
Brett Meyer cbddeccf9b HHH-6457 Improve how BaseCoreFunctionalTestCase builds SessionFactory from new metadata mappings 2013-04-16 15:32:53 -04:00
Brett Meyer 079fd4ac01 HHH-8160 Corrected Import-Package in module manifests 2013-04-16 10:29:44 -04:00
Strong Liu c68cca809a HHH-8187 - Integrate JPA Metamodel with hibernate new metamodel 2013-04-16 14:13:34 +08:00
Steve Ebersole fafce001e7 HHH-7841 - Redesign Loader 2013-04-15 20:46:18 -05:00
Steve Ebersole cbfa233ea1 HHH-7880 - SessionFactory.openStatelessSession() does not respect tenant identifier from CurrentTenantIdentifierResolver 2013-04-15 14:50:43 -05:00
Brett Meyer 1af9724692 HHH-8183 Added setting to enable synonyms 2013-04-15 13:25:35 -04:00
Baptiste Mathus 15a0868bd7 Adding SYNONYM in the list of searched types. 2013-04-15 13:25:35 -04:00
Steve Ebersole d9aa9d3cd2 HHH-7974 - Session.getTenantIdentifier() not callable without active transaction 2013-04-15 11:21:02 -05:00
Strong Liu a448e268e0 HHH-8184 association attributes from mapped super class are not included 2013-04-15 21:56:35 +08:00
Strong Liu f29a670378 merge master 2013-04-15 18:33:46 +08:00
Steve Ebersole 8bca70e6a9 HHH-7841 - Redesign Loader 2013-04-12 14:08:35 -05:00
Nikolay Shestakov cbbadea538 HHH-7908 Logging level checking
Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
2013-04-12 09:56:41 -04:00
Lukasz Antoniak 6be8b4aad0 HHH-7478 - Fix and test 2013-04-11 18:13:58 -04:00
Jeremy Whiting 7778aae3b7 HHH-8180 Checks for logging level. Logging level check moved to variable
outside for loop.
2013-04-11 17:52:20 -04:00
Lukasz Antoniak bd315f01a9 HHH-7357 - Constraint violation exception while inserting NULL to not nullable column 2013-04-11 16:37:26 -04:00
Lukasz Antoniak 6d6dcdf267 HHH-7605 - Event cache descriptive error messages 2013-04-11 16:31:26 -04:00
Lukasz Antoniak fb54d0f3a5 HHH-8103 - Oracle LOBs with SequenceIdentityGenerator 2013-04-11 16:31:26 -04:00
Steve Ebersole ba1b02ed22 HHH-7841 - Redesign Loader 2013-04-11 14:57:43 -05:00
Gail Badner 560a397a01 HHH-7841 - Redesign Loader 2013-04-11 14:31:26 -05:00
Gail Badner b3791bc3c3 HHH-7841 : Redesign Loader 2013-04-11 14:31:26 -05:00
Steve Ebersole 3f8699c913 HHH-7841 - Redesign Loader 2013-04-11 14:31:26 -05:00
Steve Ebersole 88d5c02d7f HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole 1b10ee72f5 HHH-7841 - Redesign Loader - initial test of ResultSetProcessor 2013-04-11 14:31:25 -05:00
Steve Ebersole 87012e8101 HHH-8077 - Add MDC usage into attribute walking to help decode logs from recursive calls 2013-04-11 14:31:25 -05:00
Gail Badner 6ea20fa308 HHH-7841 : Add LoadQuery for generating SQL 2013-04-11 14:31:25 -05:00
Steve Ebersole 8b7091e1c7 HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole 3d332371bd HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole c75dafbedd HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole a102bf2c31 HHH-7841 - Redesign Loader 2013-04-11 14:31:25 -05:00
Steve Ebersole c259e157b0 HHH-8167 - Adding @NotNull to a @ManyToOne association with @JoinColumnsOrFormulas logs a ClassCastException 2013-04-11 14:30:32 -05:00
Brett Meyer 53f7b73adb HHH-8178 Natural IDs generate one UniqueKey for all columns 2013-04-11 14:19:33 -04:00
Brett Meyer d39272a280 HHH-8175 Test fixes for postgresplus92 2013-04-11 14:19:33 -04:00
Lukasz Antoniak 35bd192556 HHH-2403 - Test cleanup 2013-04-11 09:12:23 +02:00
Steve Ebersole 692959a48e HHH-8170 - Deprecate Hibernate @ForeignKey in favor of JPA 2.1 introduced @ForeignKey annotation 2013-04-10 16:25:12 -05:00
Steve Ebersole 33640ae2bd HHH-8164 - Deprecate @Sort in favor of @SortNatural and @SortComparator 2013-04-10 16:25:12 -05:00
Brett Meyer 9c3bad3b2d HHH-8084 LobMergeTest fails on oracle 2013-04-10 15:25:20 -04:00
Steve Ebersole 54bc9fbf9d HHH-8163 - Deprecate @IndexColumn and add @ListIndexBase 2013-04-10 12:26:33 -05:00
Steve Ebersole 4806324291 HHH-8163 - Deprecate @IndexColumn and add @ListIndexBase 2013-04-10 11:48:24 -05:00
Strong Liu de070e11ca HHH-8169 - rework on binding jpa entity listener 2013-04-10 23:13:47 +08:00
Steve Ebersole bb5e07dce9 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 20:40:36 -05:00
Steve Ebersole b8ebe0ef4d HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 19:40:58 -05:00
Steve Ebersole 34e7512c76 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 19:38:40 -05:00
Steve Ebersole 1a066dd6b3 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-09 12:54:15 -05:00
Brett Meyer 06bb009dc6 HHH-8160 Support unmanaged JPA in 4.3.x 2013-04-09 09:57:38 -04:00
Brett Meyer cc4ef44670 HHH-8160 Updated for Gradle 1.5 OSGi plugin changes and package
versioning issues
2013-04-09 09:57:36 -04:00
Steve Ebersole 96aa4a6239 HHH-8159 - Apply fixups indicated by analysis tools 2013-04-08 21:24:09 -05:00
Brett Meyer cf921df1d0 HHH-8092 Added comment about unique constraints in schema update. 2013-04-08 13:05:44 -04:00
Strong Liu 68720548c8 merge master 2013-04-06 12:30:53 +08:00
Steve Ebersole 378fc1378a HHH-8143 - Create a 'generateSources' task that performs all generation tasks 2013-04-04 14:45:49 -05:00
Brett Meyer d68dcd9ae6 HHH-7993 Support jar scanning in OSGi 2013-04-04 15:02:26 -04:00
Steve Ebersole 442c3268b3 HHH-8113 - Persistence.createEntityManagerFactory() should run schema export if JPA properties are set 2013-04-03 11:20:52 -05:00
Steve Ebersole 2f40949719 HHH-8129 - Unify BaseQueryImpl and AbstractQueryImpl hierarchies 2013-04-03 10:52:52 -05:00
Brett Meyer e17819ed61 HHH-8136 Correct "to_char" function in HSQL 2013-04-03 11:16:20 -04:00
Brett Meyer edc242d061 HHH-8127 Corrected failing test 2013-04-03 10:47:03 -04:00
Brett Meyer 47443bcf57 HHH-8127 Corrected failing test 2013-04-03 10:29:12 -04:00
Strong Liu bae5a85c26 HHH-8127 OutOfMemoryError when running tests
Conflicts:
	hibernate-core/src/test/java/org/hibernate/cfg/beanvalidation/ApplySchemaConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/test/annotations/entity/BasicHibernateAnnotationsTest.java
2013-04-03 10:27:38 -04:00
Brett Meyer 56a907385e Another mem-leak fix 2013-04-02 22:08:42 -04:00
Brett Meyer 9a4a760280 HHH-8125 Support for pure native scalar queries in metamodel 2013-04-02 11:19:02 -04:00
Brett Meyer 832a60c9c1 HHH-7042 Clean up & finish MetadataSources 2013-04-02 11:17:48 -04:00
Strong Liu 3551bfa58f HHH-8127 OutOfMemoryError when running tests 2013-04-02 18:25:08 +08:00
Strong Liu b10f6c5d24 HHH-8126 migrate HEM to metamodel branch 2013-04-02 16:31:43 +08:00
Strong Liu 65f204fb72 HHH-8126 migrate HEM to metamodel branch 2013-04-02 14:16:49 +08:00
Strong Liu cb59c84389 merge master 2013-04-01 12:05:14 +08:00
Brad Koehn f77b068e91 HHH-7714 Add support for EntityMode.MAP to JPA Criteria API
(cherry picked from commit 2758b8b494)

Conflicts:

	hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/predicate/InPredicate.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/metamodel/MetadataContext.java
2013-03-29 12:10:31 -05:00
Gail Badner e75b81a22e HHH-7843 : Add support for one-to-one to new metamodel 2013-03-29 02:29:37 -07:00
Gail Badner 7e1b94185d HHH-7843 : Add support for one-to-one to new metamodel 2013-03-29 01:32:17 -07:00
Brett Meyer 75f08b58ee HHH-8102 Re-work how PK, FK, UK, and constraints are handled in metamodel 2013-03-28 16:37:51 -04:00
Brett Meyer 82a0afda4a HHH-1904 Identifier too long
Conflicts:
	hibernate-core/src/test/java/org/hibernate/test/constraint/ConstraintTest.java
2013-03-28 16:37:51 -04:00
Brett Meyer e9e29a40be HHH-8096 Re-work the OSGi class loading concepts
Conflicts:
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/HibernatePersistence.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/HibernateBundleActivator.java
2013-03-27 15:04:48 -04:00
Nikolay Shestakov 6f2620b1c2 remove deprecated constructor from TypedValue 2013-03-27 12:42:26 +08:00
Nikolay Shestakov 529a3e28ad HHH-7772 Remove obsolete Type, AssociationType, and TypeFactory methods 2013-03-26 23:24:24 +06:00
Steve Ebersole 7d99ca57f3 HHH-7402 - Improve performance of named query registry 2013-03-26 11:15:49 -05:00
Brett Meyer dc193c32c5 HHH-7984 Handle Oracle statements on release 2013-03-26 10:58:39 -04:00
Strong Liu 1ee3be2da7 HHH-7869 code format 2013-03-26 16:35:16 +08:00
Strong Liu 681528b7cc HHH-7869 simple improvement, using generic 2013-03-26 16:08:39 +08:00
Strong Liu 8998b4154a HHH-7869 bad performance problem with org.hibernate.internal.util.StringHelper#firstIndexOfChar 2013-03-26 16:08:39 +08:00
Strong Liu 542aa17fa3 HHH-8108 JPA Orm schema validation 2013-03-26 15:43:12 +08:00