Commit Graph

2386 Commits

Author SHA1 Message Date
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
Brett Meyer bb231dd378 HHH-6496 Added LOG 2013-03-25 17:01:01 -04:00
Kamyar Sajjadi a0bbf0d029 HHH-6496 - Changed line 200 returning real object instead of proxy 2013-03-25 17:01:01 -04:00
Hardy Ferentschik d3867e9c1b HHH-8100 Update to BV 1.1 (1.1.0.CR3 and matching Hibernate Validator 5.0.0.CR4); plus upgrade classmate to 0.8.0 2013-03-25 15:48:29 -05:00
Lukasz Antoniak 5e7b3601a9 HHH-7984 - Oracle callable statement closing 2013-03-25 13:23:50 -04:00
Steve Ebersole 31219e25d7 HHH-8107 - JandexHelper.getValue() returns Boolean instead of boolean, causing ClassCastException 2013-03-25 09:42:27 -05:00
Strong Liu d06f72a86a merge master and fix failing tests 2013-03-25 15:20:07 +08:00
Strong Liu 72c5f8f5e9 merge master 2013-03-25 13:52:05 +08:00
Steve Ebersole d184cb3eb4 HHH-7462 - Make JACC service 2013-03-24 12:09:52 -05:00
Steve Ebersole 86aca3d101 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-23 13:57:00 -05:00
Strong Liu 4eba1320fa JPA-43 Impl Index and ForeignKey for JPA 2.1 2013-03-22 16:33:36 +08:00
Strong Liu 4b698302a5 JPA-43 Impl Index and ForeignKey for JPA 2.1 2013-03-22 16:06:21 +08:00
Steve Ebersole a1afa0ce35 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-21 18:16:44 -05:00
Brett Meyer 06ab065272 HHH-1904 Hash the natural id unique key names 2013-03-21 15:57:56 -04:00
Gail Badner 5edee45ff7 HHH-8102 : Generated foreign key export identifiers can collide 2013-03-21 12:56:38 -07:00
Brett Meyer 721016cccb HHH-8085 QueryCacheTest.testGetByCompositeId fails on db2-97 -- DB2 SQL
Error: SQLCODE=-613
2013-03-21 09:52:04 -04:00
Brett Meyer b5457f37e2 HHH-8092 Configuration#generateSchemaUpdateScript does not create unique
constraints
2013-03-21 09:33:58 -04:00
Steve Ebersole 467daa22b0 HHH-7981 - Load (now) locally defined orm.xsd while processing orm.xml files 2013-03-20 22:03:35 -05:00
Brett Meyer fbdca39506 HHH-1904 Identifier too long 2013-03-20 16:30:52 -04:00
Strong Liu 5348367665 fixing test failures in the merge 2013-03-20 15:46:36 +08:00
Brett Meyer da5dd819a3 HHH-8082 HQLScrollFetchTest.testScroll hangs on DB2-97 2013-03-19 18:28:08 -04:00
John Verhaeg c48de9edc5 HHH-8090: Created base class to test logged SQL statemetns in tests against expected results 2013-03-19 15:51:30 -05:00
Strong Liu 59a2ccd79f resolve test failres after merge 2013-03-20 00:24:29 +08:00
Strong Liu 3dc371c91a organize imports 2013-03-18 20:33:44 +08:00
Strong Liu 7881b4d6b6 resolve merge confilts 2013-03-18 20:12:26 +08:00
Gail Badner 1bd4856d8b HHH-8078 : Non-default column length, precision, and scale are incorrect 2013-03-15 18:16:32 -07:00
Steve Ebersole 8df33227be HHH-8071 - Add debug/trace logging to HibernatePersistenceProvider 2013-03-15 15:56:05 -05:00
timpeeters 0f9fae5121 HHH-8076 Make javax.security and javax.validation optional
Currently the OSGi manifest creation via Gradle automatically imports all packages that are used by hibernate-core. Although this saves you from having to list all the imports manually, it does mean that some optional dependencies suddenly become mandatory dependencies. I've updated the hibernate-core Gradle build file to make the hibernate-core dependencies on javax.security and javax.validation optional. This way you are not forced to have these dependencies available in your OSGi container. More information in HHH-7941.
2013-03-15 10:16:07 -04:00
Brett Meyer 79073a98f0 HHH-8073 Corrected column alias creation 2013-03-14 17:36:41 -04:00
Brett Meyer d2c4588c86 HHH-8061 Added a supportsExpectedLobUsagePattern check 2013-03-14 15:51:53 -04:00
Brett Meyer 394b080a89 HHH-4412 Corrected multiple test issues found in matrix CI 2013-03-14 14:11:39 -04:00
Steve Ebersole c94870d9fd HHH-7912 - Define edge-case behavior for Session.evict
(cherry picked from commit 0ffe6e7115)
2013-03-14 12:33:21 -05:00
Steve Ebersole 8c96a4a2c6 HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 30b3bd1564)
2013-03-14 12:33:21 -05:00
Steve Ebersole 60836cda1b HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 5506a48bea)
2013-03-14 12:33:21 -05:00
Steve Ebersole 889405b3f5 HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 93f4fe0668)
2013-03-14 12:33:21 -05:00
Steve Ebersole 3fd3fe1c9b HHH-7667 - Investigate expanding bytecode enhancement support
(cherry picked from commit 5dadc5afd2)
2013-03-14 12:33:21 -05:00
Brett Meyer 4d1ff8f718 HHH-7910 Corrected thread checking logic 2013-03-14 11:57:32 -04:00
Strong Liu 89fd64bc2e HHH-7978 - Document new feature from HHH-5869 2013-03-13 14:42:26 +08:00
Brett Meyer 13dce3379a HHH-5732 Corrected test failing on SQL Server 2013-03-11 17:08:49 -04:00
Brett Meyer 3815080207 HHH-4412 Corrected multiple test issues found in matrix CI 2013-03-11 15:40:51 -04:00
Brett Meyer b6d740d6d2 HHH-7910 Transaction timeout can cause non-threadsafe session access by reaper thread 2013-03-08 13:03:01 -05:00
Brett Meyer 42f3422720 HHH-7890 Quoting identifiers breaks @UniqueConstraint 2013-03-07 11:54:49 -05:00
Gail Badner 7da7f28902 HHH-8056 : EntityHierarchyHelper 2013-03-06 22:48:57 -08:00
Gail Badner 92ae31b514 HHH-8056 : EntityHierarchyHelper 2013-03-06 22:48:50 -08:00
Brett Meyer bdca6dc1e1 HHH-5732 @OrderColumn not updated if @OneToMany has mappedby defined 2013-03-06 17:56:43 -05:00
Brett Meyer b899d2b006 HHH-8022 Comments and copyrights 2013-03-06 10:05:18 -05:00
Lukasz Antoniak 97e06d16cc HHH-8022 - Reading REF CURSOR 2013-03-06 09:54:03 -05:00
Brett Meyer 31f43e3321 HHH-4412 Cleanup and copyrights 2013-03-06 09:31:57 -05:00
Janario Oliveira 6cda7dc577 HHH-4412 - Created native query to insert, delete, update 2013-03-06 08:49:27 -05:00
Brett Meyer fd772a47db HHH-8037 Pulled duplicate code into StringHelper 2013-03-05 20:26:44 -05:00
Barney 6b368e9512 HHH-8037 - Empty SQL statements with custom UniqueDelegate 2013-03-05 20:14:23 -05:00
Steve Ebersole 139474624f HHH-5732 - @OrderColumn not updated if @OneToMany has mappedby defined 2013-03-05 14:44:17 -06:00
Gail Badner cabd9ea4dc HHH-7843 : Add support for one-to-one to new metamodel 2013-03-05 10:20:23 -08:00
Gail Badner a9e116fc6c HHH-7436 : Add support for many-to-many associations to new metamodel 2013-03-05 10:20:23 -08:00
Gail Badner 9d404168aa HHH-7436 : Add support for many-to-many associations to new metamodel 2013-03-05 10:20:23 -08:00
Sanne Grinovero e5f8039f31 HHH-8044 Remove mention of unsupported cache providers from documentation 2013-03-02 20:35:49 +00:00
Brett Meyer 458152440e HHH-8025 Implemented eqOrIsNull and neOrIsNotNull criteria 2013-02-28 16:54:53 -05:00
Brett Meyer 1fdf4d7a07 HHH-8025 Revert "HHH-2951 Restrictions.eq when passed null, should create a NullRestriction"
This reverts commit 70454c9168.
2013-02-28 16:54:53 -05:00
Brett Meyer 7f52b476c9 HHH-8010 Moved OsgiClassLoader handling into
BootstrapServiceRegistryBuilder
2013-02-28 10:57:28 -05:00
Brett Meyer 394458f6a6 HHH-8010 Support app-managed EntityManagerFactory and SessionFactory
creation by OSGi bundles

Conflicts:
	hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
	hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
	hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/DriverManagerConnectionProviderImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/ejb/Ejb3Configuration.java
	hibernate-osgi/src/main/java/org/hibernate/osgi/HibernateBundleActivator.java
2013-02-28 10:28:23 -05:00
Strong Liu 0e6d08d414 JPA-43 - Impl Index and ForeignKey for JPA 2.1 2013-02-28 23:20:15 +08:00
Brett Meyer 8515ce197a HHH-8026 Duplicate constraint names with unique=true 2013-02-27 15:18:16 -05:00
Strong Liu 3335710a38 JPA-43 - Impl Index and ForeignKey for JPA 2.1 2013-02-28 00:20:51 +08:00
Brett Meyer a9cc4ab67c HHH-8029 Improve SimpleNationalizedTest 2013-02-22 13:57:28 -05:00
Steve Ebersole 2e18376fba HHH-7990 - Bootstrapping Hibernate fails if javax.validation API is on classpath but no provider
(cherry picked from commit 898bab28ca)

Conflicts:

	hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
2013-02-22 12:39:19 -06:00
Brett Meyer 3fa669831f HHH-8021 test case 2013-02-21 11:10:13 -05:00
Steve Ebersole 4e126dcffc HHH-6736 - Support for SELECT ... FOR UPDATE SKIP LOCKED / read past locking 2013-02-20 09:31:14 -06:00
Aleksander Blomskøld e0cfc6bf2e HHH-6736 Added support for SELECT ... FOR UPDATE SKIP LOCKED 2013-02-20 08:49:30 -06:00
Lukasz Antoniak 59bb86978e HHH-7608 - Fix and test 2013-02-19 17:33:54 -05:00
Lukasz Antoniak dcccc6c4b0 HHH-4150 - Fix and test 2013-02-19 17:28:35 -05:00
Lukasz Antoniak f4b45eb5a9 HHH-2045 - HQL empty IN list 2013-02-19 16:18:50 -05:00
Kamyar Sajjadi a44cc3097a HHH-7952 Typo in Javadoc For TableGenerator/TableHiLoGenerator 2013-02-19 15:59:41 -05:00
Brett Meyer 89619201a3 HHH-7889 Created SQL ClobTypeDescriptor#STREAM_BINDING_EXTRACTING for Sybase remapping. Reverting back to Lob extraction ignoring useStreamForLobBinding 2013-02-19 14:59:55 -05:00
Gail Badner 69fda3d610 HHH-7436: Reorganized many-to-many annotations tests 2013-02-18 16:04:24 -08:00
Brett Meyer abb9c2b0b7 HHH-8018 Reverted back to BLOB_BINDING for extraction until investigated 2013-02-18 14:32:14 -05:00
Brett Meyer e406ddad55 HHH-8017 Correct SybaseDialect's getNullColumnString 2013-02-18 11:47:09 -05:00
Lukasz Antoniak cf49796cf3 HHH-8007 - Fix and test 2013-02-15 09:59:07 -05:00
Brett Meyer 212c50f5d7 HHH-8005 Sybase 15 - nullable column are not nullable (when created by
SchemaExport)
2013-02-14 18:42:42 -05:00
Brett Meyer 3797e2150a HHH-6841 Applied @SkipForDialects to a couple of tests 2013-02-14 18:12:08 -05:00
Brett Meyer 07539904ba HHH-4084 Corrected test compiling error 2013-02-14 17:37:45 -05:00
Nikolay Shestakov 0e2fd9f970 fix review remark 2013-02-14 17:22:00 -05:00
Nikolay Shestakov 2725a7d49e HHH-4084 @UniqueConstraint(columnNames="") causes StringIndexOutOfBoundsException 2013-02-14 17:21:48 -05:00
Brett Meyer bbfd960bc8 HHH-7889 Cleanup inconsistencies in Blob, Clob, and NClob type
descriptors
2013-02-14 16:53:37 -05:00
Vincent Cornet 98e3b2ab97 HHH-7889
Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/ClobTypeDescriptor.java
2013-02-14 15:55:01 -05:00
Brett Meyer 9069d7aed9 HHH-8006 MergeCollectionEventTest & BadMergeHandlingTest fail on MySQL 2013-02-14 12:28:02 -05:00
Brett Meyer 54bb0cb284 HHH-7992 Updated to reflect Session SPI change 2013-02-14 10:48:35 -05:00
Brett Meyer 4d68ddf7b0 HHH-7991 Correct all instances of
Thread.currentThread().getContextClassLoader()
2013-02-14 10:44:36 -05:00
Brett Meyer 56867417e2 HHH-7527 Enterprise OSGi JPA support 2013-02-14 10:44:35 -05:00
Brett Meyer 18f0bd2f4a HHH-8003 Create "sqlDropString" method in Dialect to handle "if exists"
correctly
2013-02-13 23:08:44 -05:00
Brett Meyer b5de4cda15 HHH-7999 Oracle test failures due to lack of support for identity
columns
2013-02-13 22:30:38 -05:00
Brett Meyer 98a49b80b2 HHH-8002 TransactionTimeoutTest#testTransactionTimeoutSuccess failing on
Oracle
2013-02-13 22:27:08 -05:00
Brett Meyer cc8395e280 HHH-7999 Create HQLScrollFetchTest for dialects that do not support
identity columns
2013-02-13 17:40:36 -05:00
Guillaume Smet d6b3f373ea HHH-7821 - Clear the entire BatchFetchQueue on flush.
Provide a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:12:28 -05:00
Guillaume Smet 2040e44c03 HHH-7821 - Clears the batch collection fetching queue on flush.
Provides a safe guard against NPE in BatchFetchQueue.getCollectionBatch() by checking that CollectionEntry.getLoadedKey() is not null before adding it to the batch.
2013-02-13 16:12:19 -05:00
Steve Ebersole e40bf012fb HHH-7998 - Add TypeContributions contract 2013-02-13 14:33:53 -06:00
Guillaume Smet e722f6391f HHH-7970 - Fix broken logic in JPAOverriddenAnnotationReader.getCacheable(): if element is null, you have to consider the @Cacheable annotation
per gripe from Andreas Joseph Krogh
2013-02-13 12:11:39 -05:00
Steve Ebersole 5a5d19273d HHH-7992 - Add a base Session delegator implementation 2013-02-12 16:17:21 -06:00
Sanne Grinovero ec11902a92 HHH-7992 - Add a base Session delegator implementation 2013-02-12 16:11:54 -06:00
Steve Ebersole c56bb23ef5 HHH-5951 - Strategy for deciding JtaPlatform when an explicit one not specified 2013-02-11 15:39:24 -06:00
Gail Badner 191a711a1d HHH-7830 : union-subclass support 2013-02-08 17:08:59 -08:00
Gail Badner e55c1bb47e HHH-7830 : union-subclass support 2013-02-08 17:08:59 -08:00
Gail Badner ba0f96639e HHH-7830 : union-subclass support 2013-02-08 17:08:58 -08:00
Gail Badner 1634d56c36 HHH-7983 : RelationalValueBindingContainer 2013-02-08 17:08:58 -08:00
Gail Badner 974e43a5fb HHH-7983 : RelationalValueBindingContainer 2013-02-08 17:08:30 -08:00
Strong Liu ec6494020b HHH-7969 @SecondaryTable#indexes 2013-02-06 02:51:05 +08:00
Strong Liu 13bf94b0d3 HHH-7969 Deprecated hibernate's Index annotation 2013-02-06 02:31:31 +08:00
Strong Liu 1d9b7a06a5 HHH-7969 initial @Table#indexes support 2013-02-06 00:09:08 +08:00
Steve Ebersole a3083aaa7b HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 18:03:55 -06:00
Steve Ebersole 9ab924041d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : schema generation 2013-02-03 14:31:43 -06:00
Steve Ebersole 6599f710bb HHH-7965 - Redesign DialectResolver contract 2013-02-03 14:23:59 -06:00
Steve Ebersole 5c453fee8d HHH-7957 - Integrate Public Review Draft of the JPA 2.1 spec : entity graph support - phase 1 2013-02-03 14:23:59 -06:00
Brett Meyer 76c14b1697 HHH-7829 NullPointerException when manually flushing One-To-One
relationship with orphan removal
2013-02-01 12:59:39 -05:00
Strong Liu aba208dd3d fixing failing test 2013-02-01 15:51:59 +08:00
Strong Liu c1317346ac HHH-7930 Hibernate will crash with (custom) enum types when running with a logback.xml in debug mode 2013-01-30 17:12:32 +08:00
Brett Meyer c52864d188 HHH-7580 Corrected a few failures after the cherry-pick into master 2013-01-29 15:11:11 -05:00
Steve Ebersole 7976e2396a HHH-7580 - Complete 2-phase SessionFactory building design
Conflicts:
	hibernate-core/src/main/java/org/hibernate/SessionFactory.java
	hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/MetadataSources.java
	hibernate-core/src/main/java/org/hibernate/metamodel/SessionFactoryBuilder.java
	hibernate-core/src/main/java/org/hibernate/metamodel/internal/SessionFactoryBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/JaxbHelper.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataBuilderImpl.java
	hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/MetadataImpl.java
	hibernate-core/src/main/java/org/hibernate/service/spi/ServiceContributor.java
	hibernate-core/src/test/java/org/hibernate/cfg/beanvalidation/ApplySchemaConstraintTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/binding/BasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/AssertSourcesTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/entity/BaseAnnotationBindingTestCase.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/annotations/xml/OrmXmlParserTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/source/internal/MetadataImplTest.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractBasicBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/AbstractUnsavedValueTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/JoinedSubclassBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/basiccollections/AbstractBasicCollectionBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/onetomany/AbstractUnidirectionalOneToManyBindingTests.java
	hibernate-core/src/test/java/org/hibernate/metamodel/spi/relational/AbstractGeneratedIdColumnTests.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/internal/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/service/schema/internal/ExistingDatabaseMetaDataImplTest.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
	hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderUsingMetamodelImpl.java
	hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/NodeEnvironment.java
	hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2013-01-29 13:58:58 -05:00
Strong Liu a4f3135943 HHH-7956 - column transformer is not binded if there is no @Column 2013-01-30 02:33:17 +08:00
Strong Liu d50d215163 fixing test code only 2013-01-30 00:35:12 +08:00
Lukasz Antoniak 3bb0f246fc HHH-465 - Support for NULLS FIRST/LAST
Conflicts:
	hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
	hibernate-core/src/main/java/org/hibernate/criterion/Order.java
2013-01-28 14:07:53 -05:00
Strong Liu 34c3cec657 HHH-7950 bind custom tuplizer on composite attribute 2013-01-28 22:36:59 +08:00
Strong Liu 2922922133 fixing test code only 2013-01-27 23:41:47 +08:00
Strong Liu 396918ccfc fixing test code only 2013-01-27 02:33:31 +08:00
Strong Liu 6b94af8c55 HHH-7945 xsd element with mixed set to true may return unexpected \n 2013-01-27 01:55:59 +08:00
Strong Liu 2fd0d4d241 HHH-7945 xsd element with mixed set to true may return unexpected \n 2013-01-27 01:26:27 +08:00
Steve Ebersole 10defc52cd HHH-7928 - Regression caused by HHH-6361 2013-01-24 13:05:34 -06:00
Himavanth d492b303ce HHH-7933 boolean should be treated as bit in SQLServer 2013-01-24 13:20:22 -05:00
Steve Ebersole cb1b9a05af HHH-7928 - Regression caused by HHH-6361 2013-01-24 12:00:20 -06:00
Brett Meyer 11e6fd5daf HHH-3788 FirebirdDialect: current_date() function 2013-01-23 16:52:27 -05:00
Brett Meyer a0d97430fb HHH-995 Order.ignoreCase() only works for VARCHAR types, not CHAR types 2013-01-23 15:58:19 -05:00
Brett Meyer f77e4d12d0 HHH-3869 Improve toString on SessionStatistics 2013-01-23 15:26:02 -05:00
Brett Meyer f28198054f HHH-2805 The class Order does not contain getters 2013-01-23 15:02:04 -05:00
Brett Meyer 99d9af748b HHH-7520 BlobProxy.invoke Javadoc is incorrect 2013-01-22 19:05:08 -05:00
Kamyar Sajjadi ecf9b7c258 HHH-7520 - now the implementation and the javadoc should be the same 2013-01-22 19:02:56 -05:00
Strong Liu 046d30ac4d HHH-7963 DynamicParameterizedType is not binded 2013-01-22 02:24:35 +08:00
Strong Liu d2243f4e14 HHH-7963 DynamicParameterizedType is not binded 2013-01-22 00:23:12 +08:00
Strong Liu 68ebf7e2bc HHH-7963 DynamicParameterizedType is not binded 2013-01-21 22:49:32 +08:00
Strong Liu 9225eb9f6b test code only fix 2013-01-21 21:14:40 +08:00
Strong Liu e8903540f9 HHH-7916 @NotFound.IGNORE 2013-01-21 21:05:13 +08:00
Brett Meyer c12766a82b HHH-7304 Minor cleanup 2013-01-17 14:23:43 -05:00
Guenther Demetz 213ce0d060 HHH-7304 bugfix proposal 2013-01-17 14:09:31 -05:00
Guenther Demetz 160547ecd1 HHH-7304 testcase 2013-01-17 14:00:37 -05:00
Guenther Demetz 48cd9d3f7d HHH-7304 new testcase entity class 2013-01-17 14:00:18 -05:00
Gail Badner 7fc1b6efab HHH-7919 : Miscellaneous bugfixes 2013-01-17 02:42:12 -08:00
Strong Liu 57c78b11e5 HHH-7929 bind batch size to the plural attribute 2013-01-17 16:25:40 +08:00
Strong Liu 200c304c89 HHH-7929 bind batch size to the plural attribute 2013-01-17 16:25:23 +08:00
Strong Liu bdf13987a2 HHH-7929 bind batch size to the plural attribute 2013-01-17 15:42:04 +08:00
Strong Liu 948b14f866 HHH-7759 named queries not read by hbm source 2013-01-17 14:52:09 +08:00
Strong Liu f2ad705fc0 test code only fix 2013-01-17 13:54:58 +08:00
Gail Badner f651b73f23 HHH-7919 : Miscellaneous bugfixes 2013-01-16 20:14:14 -08:00
Gail Badner 1b436ef975 HHH-7736 : Change EntityBinding.getJpaCallbackClasses() to return an unmodifiable list 2013-01-16 18:49:12 -08:00
Brett Meyer 5c5998aea9 HHH-2951 test case 2013-01-16 18:41:16 -05:00
Nikolay Shestakov 70454c9168 HHH-2951 Restrictions.eq when passed null, should create a NullRestriction 2013-01-16 18:41:08 -05:00
Steve Ebersole 991342f2c2 HHH-7928 - Regression caused by HHH-6361 2013-01-16 14:54:11 -06:00
Brett Meyer 54050ca880 HHH-2448 Removed non-needed (and failing) test 2013-01-16 09:41:09 -05:00
Strong Liu c4f20791a6 HHH-7736 join subclass support 2013-01-16 20:16:48 +08:00
Brett Meyer 4187717c56 HHH-2448 Generate identical column aliases among cluster 2013-01-15 15:06:24 -05:00
Brett Meyer f7ca23e071 HHH-1917 updated comment 2013-01-15 13:37:33 -05:00
Brett Meyer 5a50ac90d5 HHH-1917 Bulk Delete on the owning side of a ManyToMany relation needs
to delete corresponding rows from the JoinTable
2013-01-15 13:37:31 -05:00
Lukasz Antoniak 03520b928f HHH-7781 - Fix and test 2013-01-15 16:57:34 +01:00
Brett Meyer c5850fac6c HHH-2448 Updated test for metamodel 2013-01-14 19:55:46 -05:00
Brett Meyer 333789c2e4 HHH-2448 Generate identical column aliases among cluster 2013-01-14 19:39:00 -05:00
Nikolay Shestakov 803acc3cad HHH-2721 PostgreSQLDialect: function md5() always returns a string value 2013-01-14 19:06:42 -05:00
Brett Meyer d18d04909f HHH-1917 test case 2013-01-14 18:50:18 -05:00
Steve Ebersole e7b188c924 HHH-5869 - Add suport for nationalized character mappings 2013-01-14 17:20:45 -06:00
Steve Ebersole 6062eb67ea HHH-7914 - Improve new stored procedure call support 2013-01-14 15:05:49 -06:00
Brett Meyer 9ce5c32dd7 HHH-7902 Replace JDBC proxies with a set of contracts/helpers
HHH-7902 Merged JdbcResourceRegistry into JdbcCoordinator.  Parts of
LogicalConnection moved into JdbcCoordinator as well.

HHH-7902 Replaced Statement#close and ResultSet#close calls with
JdbcCoordinator#release

HHH-7902 Enforced the use of StatementPreparer, instead of Connection

HHH-7902 ResultSetExtractor.  Replaced all instances of execute,
executeQuery, executeUpdate, etc.

HHH-7902 Refactored AbstractReturningDelegate to give access to
jdbcCoordinator

HHH-7902 Corrected test failures

HHH-7902 Removed resource registry use from JdbcIsolation workers

HHH-7902 Corrected a few bugs in JdbcCoordinator and ResultSetExtractor.

HHH-7902 ResultSetExtractor -> ResultSetReturn.  Reworked proxy tests to
test the new APIs.

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
	hibernate-core/src/test/java/org/hibernate/sharedSession/SessionWithSharedConnectionTest.java
	hibernate-core/src/test/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java
	hibernate-core/src/test/java/org/hibernate/test/jdbc/proxies/BatchingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jdbc/TestExpectedUsage.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/BasicDrivingTest.java
	hibernate-core/src/test/java/org/hibernate/test/transaction/jta/ManagedDrivingTest.java
2013-01-14 14:25:06 -05:00
Strong Liu 8525e7eb23 HHH-7832 map entity mode support 2013-01-14 23:22:28 +08:00
Strong Liu a408d60636 HHH-7832 map entity mode support 2013-01-14 22:44:28 +08:00
Strong Liu bf222cab44 HHH-7736 join subclass support 2013-01-14 22:23:45 +08:00
Strong Liu 0bed7eaad9 HHH-7736 join subclass support and set mutable property to the plural attribute binding 2013-01-14 02:19:40 +08:00
Steve Ebersole 5de1677ce7 HHH-7914 - Improve new stored procedure call support 2013-01-11 17:48:38 -06:00
Strong Liu 9b7462c39c HHH-7736 join subclass support 2013-01-12 07:35:38 +08:00
Strong Liu 0671761c14 HHH-7736 join subclass support 2013-01-12 07:09:58 +08:00
Strong Liu ecf0114a63 HHH-7916 @NotFound.IGNORE 2013-01-12 04:29:17 +08:00
Gail Badner 29916adccb HHH-7919 : Miscellaneous embeddable bugfixes 2013-01-11 11:03:02 -08:00
Gail Badner 413ca60475 HHH-7917 : Add support for ordered sets 2013-01-10 14:42:12 -08:00
Gail Badner bf5fabd64a HHH-7909: Non-basic map keys and index backrefs 2013-01-10 10:42:12 -08:00
Strong Liu 029badbba6 HHH-7916 @NotFound.IGNORE 2013-01-11 02:06:04 +08:00
Strong Liu ee50c8b2a4 fixing simple BV test 2013-01-11 01:20:20 +08:00
Steve Ebersole c8b20660ed HHH-7912 - Define edge-case behavior for Session.evict 2013-01-08 20:56:38 -06:00
Gail Badner d7246f1da2 HHH-7909 : Add support for non-basic map keys 2013-01-08 11:43:37 -08:00
Strong Liu 1f82999520 HHH-7907 Bind filter 2013-01-08 20:45:56 +08:00
Brett Meyer fbe24bc2cb HHH-7911 NPE in TwoPhaseLoad#initializeEntity 2013-01-08 00:20:34 -05:00
Gail Badner 1159905084 HHH-7909 : Refactor to prepare for supporting non-basic map keys 2013-01-07 16:32:05 -08:00
Brett Meyer e1c9c1e9a7 HHH-6643 Overrode getNotExpression in DB2Dialect 2013-01-07 12:27:58 -05:00
Brett Meyer 6aabd0a0e4 HHH-7797 Deprecating mistakenly removed Dialect methods 2013-01-07 12:18:41 -05:00
Strong Liu fc1c6b6d41 HHH-7907 Bind filter 2013-01-07 00:19:47 +08:00
Strong Liu 81089bab2b HHH-7907 Bind filter 2013-01-06 23:54:00 +08:00
Strong Liu 0f954d3082 HHH-7907 Bind filter 2013-01-06 22:57:52 +08:00
Strong Liu fdbf788b65 HHH-7907 Bind filter 2013-01-06 22:54:06 +08:00
Strong Liu 87e19a2c3e HHH-7907 Bind filter 2013-01-06 22:48:44 +08:00
Strong Liu 4a567e04cb only create unique constraint for non-pk column 2013-01-06 14:32:25 +08:00
Strong Liu 18187f58ed HHH-7906 auto import unqualified entity name 2013-01-06 01:32:55 +08:00
Strong Liu 796cbc5924 HHH-7906 auto import unqualified entity name 2013-01-06 01:02:52 +08:00
Strong Liu b353410cb8 HHH-7906 auto import unqualified entity name 2013-01-06 01:00:12 +08:00