Commit Graph

1685 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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
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
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
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
Brett Meyer da5dd819a3 HHH-8082 HQLScrollFetchTest.testScroll hangs on DB2-97 2013-03-19 18:28:08 -04: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
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
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
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