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
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
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
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
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
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
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
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
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
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
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
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
Steve Ebersole
5de1677ce7
HHH-7914 - Improve new stored procedure call support
2013-01-11 17:48:38 -06:00
Steve Ebersole
c8b20660ed
HHH-7912 - Define edge-case behavior for Session.evict
2013-01-08 20:56:38 -06:00
Brett Meyer
fbe24bc2cb
HHH-7911 NPE in TwoPhaseLoad#initializeEntity
2013-01-08 00:20:34 -05: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
Brett Meyer
7b9b9b39c0
HHH-2448 Generate identical column aliases among cluster
2013-01-04 14:50:50 -05:00
Brett Meyer
cb4a5ee91b
HHH-6643 Corrected intermittent test failure
2013-01-04 13:35:56 -05:00
Nikolay Shestakov
d803b9b3a7
HHH-3458 Register postgres random() function as "rand" in PostgresSQLDialect
2013-01-03 17:36:32 -05:00
Brett Meyer
cd76f86f02
HHH-6643 Criteria doesn't support a chaining of 2 not restrictions (sql
...
= not not criterion)
2013-01-03 15:59:26 -05:00
Brett Meyer
510f876ff0
HHH-7866 Cleanup and added a few more checks
2013-01-03 15:08:22 -05:00
Sanne Grinovero
5cf1b469dd
HHH-7866 Avoid redundant log level checking in StandardQueryCache
2013-01-03 15:00:57 -05:00
Strong Liu
9f4f817a73
simple change, mostly are removing those unnesserary unboxing code.
2012-12-31 23:20:05 +08:00
Strong Liu
781133164b
code format and fixing typo
2012-12-31 22:00:51 +08:00
Nikolay Shestakov
1c0b551055
using ConcurrentHashMap for decrease synchronization
2012-12-29 00:13:50 +06:00
Lukasz Antoniak
b11c23fd45
HHH-7561 - Fix and test
2012-12-26 01:46:42 +08:00
Strong Liu
6c6df69535
refactor, remove redundant type cast
2012-12-25 19:25:47 +08:00
Strong Liu
ada2a5327e
simple improvement and code format
2012-12-24 03:10:38 +08:00
Lukasz Antoniak
ceb96094f5
HHH-6627 HHH-7752 - Test cases
2012-12-20 11:16:08 -05:00
Brett Meyer
12c7ab93c3
HHH-7797 Simplified UniqueKey creation and corrected a couple of
...
@UniqueConstraint bugs.
2012-12-19 14:48:11 -05:00
Steve Ebersole
9c3998dade
HHH-7872 - Improved L2 cache storage of "reference" data
2012-12-19 09:24:36 -06:00
Steve Ebersole
2ff69d24c4
HHH-7872 - Improved L2 cache storage of "reference" data
2012-12-18 14:11:59 -06:00
brmeyer
1d5bf1608e
HHH-7797 Corrected failing test that was exposed by src changes
2012-12-17 14:10:35 -05:00
brmeyer
41397f22d1
HHH-7797 Use unique indexes on nullable columns for DB2. Correctly
...
handle @UniqueConstraint table annotations on second passes.
2012-12-17 14:10:34 -05:00
brmeyer
9bec5d12ff
HHH-7797 minor refactoring
2012-12-14 12:44:49 -05:00
brmeyer
49c8a8e4f0
HHH-7797 Finished auditing dialects. Cleanup and javadocs. Completed
...
uniqueness test.
2012-12-14 12:44:48 -05:00
brmeyer
962d1e580d
HHH-7797 initial test case
2012-12-14 12:44:47 -05:00
Brett Meyer
7b05f4aed8
HHH-7797 Initial attempt at using UniqueDelegate within metamodel
2012-12-14 12:44:47 -05:00
brmeyer
4204f2c5fe
HHH-7797 Finished first take on UniqueDelegate and rolled into .cfg and
...
.mapping
2012-12-14 12:44:46 -05:00
brmeyer
953aec40ad
HHH-7797 UniqueDelegate & DefaultUniqueDelegate
2012-12-14 12:44:45 -05:00
Brett Meyer
3a995f574d
HHH-7797 Block "unique" syntax on a column if a constraint can/will be
...
used
2012-12-14 12:44:45 -05:00
Gail Badner
cb4e92a98d
HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods
2012-12-12 16:09:02 -08:00
Gail Badner
32e8765615
HHH-7771 : Deprecate obsolete Type, AssociationType, and TypeFactory methods
2012-12-12 16:09:02 -08:00
Gail Badner
2883cb85c3
HHH-7860 : Log a warning when embed-xml attribute is used in mappings
2012-12-12 16:06:03 -08:00
Brett Meyer
dc3283f50a
HHH-7856 Deprecate TableHiLoGenerator and TableGenerator
2012-12-12 16:16:31 -05:00
Scott Marlow
b4e78a99e5
HHH-7747 check if the code attribute is null when building the StackMapTable
2012-12-11 16:36:26 -05:00
Dustin Schultz
58978a486f
HHH-7747 - Fixes CNFE regression for runtime field level class
...
enhancing. Also removes the usage of ClassPool.getDefault() and
creates a new ClassPool on each usage.
HHH-7747 - Add the entity class to the ClassPool to support modular
classloading like OSGI. Remove unused import in FieldTransformer.
HHH-7747 - Enhanced test to ensure that class enhancement sees all
classes of an entity. Added test to ensure that StackMapTables are
non-null for Javassist added methods.
2012-12-11 15:27:50 -05:00
Scott Marlow
8463057b85
HHH-7850 BulkAccessorFactory Java 7 verify error resolved by JASSIST-163 BulkAccessorFactory.java.diff2 patch from Shigeru Chiba.
2012-12-11 10:34:36 -05:00
brmeyer
598c6d3d25
HHH-7849 Cleaner fix. Added additional regression test.
2012-12-10 14:16:20 -05:00
brmeyer
c75b045adc
HHH-7849 Formatting
2012-12-10 14:15:53 -05:00
mgrenonville
02825e9fd6
HHH-7849 Unable to join on an embedded field
2012-12-10 13:35:12 -05:00
Shawn Clowater
afc49f435f
Changed the error handling for LazyInitializationException to go through the throwLazyInitializationException method so that the collection role is reported.
2012-12-07 12:22:59 -05:00
Barney
18d10d6fde
HHH-7826 - Generate 'unique' constraints in stable order
2012-12-07 11:40:06 -05:00
brmeyer
79cc807aae
HHH-7839 Documentation bug at
...
SimpleNaturalIdLoadAccess.getReference(Object naturalIdValue)
2012-12-07 11:28:16 -05:00
brmeyer
263a84154e
HHH-7840 org.hibernate.id.IncrementGenerator very slow
2012-12-07 11:16:48 -05:00
Steve Ebersole
21ade0c798
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-30 12:09:15 -06:00
Steve Ebersole
6e71a0907e
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-29 12:33:54 -06:00
Strong Liu
5707798b4b
Revert "HHH-7612 - Fix and test"
...
This reverts commit 14d1c626a5
.
2012-11-28 23:35:08 +08:00
Steve Ebersole
caf2ee420c
HHH-7825 - org.hibernate.type.descriptor.java.DataHelper is incompatible with FireBird JDBC
2012-11-26 17:49:55 -06:00
Steve Ebersole
dd280b8c27
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-26 13:19:08 -06:00
Lukasz Antoniak
14d1c626a5
HHH-7612 - Fix and test
2012-11-24 18:08:15 +01:00
Brett Meyer
0118819133
HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
...
job
2012-11-21 14:08:13 -05:00
Brett Meyer
8df655aa6b
HHH-7819 Correct test issues found in CI hibernate-core-master-matrix
...
job
2012-11-21 12:53:13 -05:00
Steve Ebersole
5d2f21a01e
HHH-7816 - DDL opertations will incorrectly commit current transaction on Oracle XA
2012-11-20 15:57:33 -06:00
Steve Ebersole
4b2871cfba
HHH-1168 - Problem combining locking and paging on Oracle
2012-11-20 13:23:10 -06:00
brmeyer
32746ff07e
HHH-7785 Reverting a few more Dialect supportsNotNullUnique changes
2012-11-14 11:01:51 -05:00
brmeyer
65093aabf0
HHH-7785 Reverting supportsNotNullUnique change in HSQL
2012-11-13 11:32:25 -05:00
Steve Ebersole
2158bec47c
HHH-7643 - java.io.NotSerializableException org.hibernate.type.EnumType
2012-11-12 14:21:01 -06:00
Steve Ebersole
07fc1627cd
HHH-7780 - many envers tests are failing
2012-11-12 13:51:12 -06:00
Steve Ebersole
5ef8a667ff
HHH-7777 - Deprecate XmlRepresentableType
2012-11-12 12:13:52 -06:00
Steve Ebersole
ec942edb48
HHH-7782 - Deprecate PersistentElementHolder, PersistentIndexedElementHolder, PersistentListElementHolder and PersistentMapElementHolder
2012-11-12 09:30:47 -06:00
Steve Ebersole
bcd15dc0eb
HHH-7777 - Deprecate XmlRepresentableType
2012-11-12 08:55:55 -06:00
Strong Liu
3489b71dca
HHH-7773 - Backout HHH-7544 (Pull Request 379)
2012-11-11 23:26:35 +08:00
Steve Ebersole
25036b088a
HHH-7769 - Define short-names for built-in MultiTableBulkIdStrategy impls
2012-11-08 15:03:16 -06:00
Steve Ebersole
dffb86c52d
HHH-7768 - Names of invalid named queries incorrectly concatenated
2012-11-08 13:09:48 -06:00
Steve Ebersole
209763faa8
HHH-7767 - JoinWalker creates ".." substring in association path
2012-11-08 11:56:11 -06:00
Alex Kalashnikov
9f462834da
HHH-7767 JoinWalker creates ".." substring in association path
2012-11-08 21:27:42 +04:00
Steve Ebersole
785e2d869e
HHH-7377 - NullPointerException in conjunction with natural IDs after Session.clear()
2012-11-08 09:59:51 -06:00
Steve Ebersole
08e63ac4a8
HHH-7757 - NOT IN row-value syntax ignores NOT
2012-11-08 09:59:50 -06:00
Steve Ebersole
4294e0faee
HHH-7645 - Enum property defined within orm.xml using enum-type string does not work
2012-11-06 11:21:38 -06:00
Steve Ebersole
432dab3465
HHH-7748 - EnumType crashes because of unsupported JDBC API in Oracle
2012-11-06 08:26:11 -06:00
Steve Ebersole
06b0faaf57
HHH-7746 - Investigate alternative batch loading algorithms
2012-11-02 13:32:15 -05:00
brmeyer
174e9b8ab2
HHH-7725 unclosed Statement
2012-10-31 17:15:58 -04:00
brmeyer
3847ebb478
HHH-5267 NPE when updating a detached entity with a one-to-one
...
association changed to null that is mapped with delete-orphan
2012-10-31 13:54:10 -04:00
Steve Ebersole
1b5088a911
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-31 12:41:48 -05:00
Steve Ebersole
0ab36bed8c
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-31 11:22:33 -05:00
Steve Ebersole
9f0bbe10a6
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-30 15:39:47 -05:00
Steve Ebersole
c94752d243
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-30 14:02:53 -05:00
Steve Ebersole
3e3b439e02
HHH-1570 - criteria-api: filtering by key-many-to-one causes invalid sql
2012-10-30 12:26:32 -05:00
brmeyer
4516dd45d6
HHH-7728 added null checks
2012-10-30 12:22:04 -04:00
Thorsten Schäfer
c297d93261
HHH-7728 Adapt hashcode to equals method
2012-10-30 12:22:03 -04:00
Thorsten Schäfer
776470b85a
HHH-7728 Include schema and catalog in equals
2012-10-30 12:22:02 -04:00
Thorsten Schäfer
e1ad7c51df
HHH-7728 Add equals method in the table class
2012-10-30 12:22:01 -04:00
Steve Ebersole
df809231c5
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-29 17:48:25 -05:00
Erik-Berndt Scheper
c22e7fd214
HHH-6361 - Fixed ManyToManyAssociationClassCompositeIdTest broken by
...
CollectionType changes
2012-10-29 18:11:23 -04:00
brmeyer
f9049a1fd2
HHH-6361 formatting
2012-10-29 18:11:21 -04:00
Erik-Berndt Scheper
7bb43baf0b
HHH-6361: Patch ensuring that collection events have the correct stored
...
snapshot after merging a detached entity into the persistencecontext
2012-10-29 18:11:20 -04:00
brmeyer
5c562411e6
HHH-6361 Cleaned up test case
2012-10-29 18:11:19 -04:00
Erik-Berndt Scheper
d0aa9f5d9d
HHH-6361: Testcase demonstrating that collection events may contain wrong stored snapshot after merging a detached entity into the persistencecontext
2012-10-29 18:11:18 -04:00
Steve Ebersole
3e69b7bd53
HHH-7725 - Make handling multi-table bulk HQL operations more pluggable
2012-10-29 16:34:03 -05:00
Steve Ebersole
3305af5fe8
HHH-1775 - collection batch fetching
2012-10-29 16:34:03 -05:00
brmeyer
0c5ad566b6
HHH-7733 NativeSQLQueriesTest failing on Postgres
2012-10-29 14:24:43 -04:00
brmeyer
718dd237f5
HHH-7734: SerializableTypeTest#testNewSerializableType failing for
...
Oracle 11G R1
2012-10-29 14:15:02 -04:00
brmeyer
cdc8d4331c
HHH-7732 QueryTest#testMemberOfSyntax failing on Oracle
2012-10-29 13:46:47 -04:00
brmeyer
5293c78d52
HHH-7730 SchemaExportManagedConnectionTest#testGenerateDdlToFile
...
failing on Oracle & Sybase
2012-10-29 12:38:36 -04:00
brmeyer
eae079d283
HHH-5836 Mapping collection of entities with same name and notnull
...
constraints from two different entities results in duplicate property
mapping of Backref
2012-10-29 11:37:33 -04:00
brmeyer
4e434f6197
HHH-7721 SQLFunctionRegistry findSQLFunction does not honor case
...
sensitivity
2012-10-26 14:47:19 -04:00
Steve Ebersole
c46c04631d
Merge branch 'master' of github.com:hibernate/hibernate-orm
2012-10-26 12:58:18 -05:00
Steve Ebersole
fb253b0297
HHH-1775 - collection batch fetching
2012-10-26 12:56:08 -05:00
Guenther Demetz
7cecc68fb1
HHH-1775
2012-10-26 10:40:26 -05:00
brmeyer
226d2459ec
HHH-7724 JpaLargeBlobTest failing on multiple DBs
2012-10-26 11:26:44 -04:00
Esen Sagynov
3d82bb1d64
HHH-7717 Quoted "value" column name as "`value`" since it's a reserved
...
word in
CUBRID.
2012-10-26 11:17:17 -04:00
Esen Sagynov
d611f59832
HHH-7717 Added a quoted "`data`" column name as this is a reserved word
...
in
CUBRID.
2012-10-26 11:17:04 -04:00
Esen Sagynov
339b4363b1
HHH-7717 Quoted table names in tests otherwise fail in CUBRID dialect as
...
these
names are reserved.
2012-10-26 11:16:46 -04:00
Esen Sagynov
f63352b0f7
HHH-7717 Wrapped "SYS_USER" column names into "`SYS_USER`" as they can
...
be
reserved in some dialects which would cause a test failure.
2012-10-26 11:16:15 -04:00
Esen Sagynov
eb4b4ba0d2
HHH-7717 Wrapped "date" column names into "`date`" as they can be
...
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:57 -04:00
Esen Sagynov
d41b800bb0
HHH-7717 Wrapped additional "type" column names into "`type`" as they
...
can
be
reserved in some dialects which would cause a test failure.
2012-10-26 11:15:44 -04:00
Esen Sagynov
76bb63c74c
HHH-7717 Wrapped "time" column names into "`time`" as they can be
...
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:28 -04:00
Esen Sagynov
36f519d02e
HHH-7717 Wrapped "value" column names into "`value`" as they can be
...
reserved in
some dialects which would cause a test failure.
2012-10-26 11:15:13 -04:00
Esen Sagynov
61cb6f59f6
HHH-7717 Added import to Tooth test for previously committed @Column.
2012-10-26 11:09:36 -04:00
Esen Sagynov
014bc42a86
HHH-7717 Wrapped column names which may be reserved in some dialects.
...
Also added
column declarations for properties which lacked column attribute.
2012-10-26 11:08:41 -04:00
Esen Sagynov
e4fbe2fc99
HHH-7716 Added a fallback data type for cases when VARCHAR length is
...
over
4000
chars.
In such cases the column type will be STRING which is equivalent to
VARCHAR(1,073,741,823).
2012-10-25 11:18:11 -04:00
Esen Sagynov
a0d02a0660
HHH-7716 FIxed a bug which didn't allow BOOLEAN type to be saved to
...
CUBRID DB.
BIT(8) data type solves this issue.
2012-10-25 11:17:44 -04:00
Esen Sagynov
220365600c
HHH-7716 Fixed a bug in CUBRIDLimitHandler. Now correctly processes
...
LIMIT
clause
in SQL.
2012-10-25 11:17:30 -04:00
Esen Sagynov
e7af2f4b76
HHH-7716 Skip these tests for CUBRID dialect as temp tables aren't
...
supported yet.
Raises: "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables"
2012-10-25 11:17:13 -04:00
Esen Sagynov
9be3666141
HHH-7716 Skip this JoinedSubClassTest for CUBRID dialect as temp tables
...
are not
supported yet.
Raises "HibernateException: cannot doAfterTransactionCompletion
multi-table deletes using dialect not supporting temp tables".
2012-10-25 11:16:54 -04:00
Esen Sagynov
b9145ab132
HHH-7716 Skip testParameterMixing test for CUBRID dialect.
2012-10-25 11:16:37 -04:00
Esen Sagynov
d4ab63ccc0
HHH-7716 Renamed smallint data type to short. Sinonyms in CUBRID but
...
internally
saved as short.
2012-10-25 11:16:20 -04:00
Esen Sagynov
9534ffc94c
HHH-7716 Registered reserved words for CUBRID dialect.
2012-10-25 11:16:01 -04:00
Esen Sagynov
f647ecf7ae
HHH-7716 Added import for RowSelection used in buildLimitHandler.
2012-10-25 11:15:47 -04:00
Esen Sagynov
f52d0a9d63
HHH-7716 Added imports for CUBRID limit handler.
2012-10-25 11:15:31 -04:00
Esen Sagynov
f0ebd2f378
HHH-7716 Updated CUBRIDDialect.
...
Added supported SQL functions and data types. Removed limit related
methods in favor of CUBRIDLimitHandler. Improved the dialect by
correctly setting values (true/false) for certain dialect features.
2012-10-25 11:15:10 -04:00
brmeyer
61eaf4ce4e
HHH-7359 accidentally committed TRACE log levels
2012-10-24 23:10:38 -04:00
brmeyer
30ea167c41
HHH-7359 Added a new method to MessageHelper to intelligently handle
...
property-ref issues in logging. Rolled it out to as many MessageHelper
users as possible.
2012-10-24 22:51:05 -04:00
brmeyer
9968ce3adb
HHH-7359 Corrected trace logging of HibernateProxy objects
2012-10-24 16:05:33 -04:00
brmeyer
deaff9705e
HHH-7513 Corrected trace logging for one-to-one cascading
2012-10-24 13:39:36 -04:00
brmeyer
d627089242
HHH-7513 Corrected trace logging for collections using property-refs
2012-10-24 13:39:04 -04:00
brmeyer
b115f56f57
HHH-7479 formatting
2012-10-24 00:27:37 -04:00
mutazkabashi
1172fd94dc
HHH-7479 getForUpdateString() of HSQLDialect returns empty string.
2012-10-24 00:26:52 -04:00
Dmitry Geraskov
6d718a24b0
HHH-7711 Added test for SchemaExport
2012-10-23 18:38:21 -04:00
Dmitry Geraskov
e7e28dd978
HHH-7711 Generate ddl to file even if scriptToConsole and
...
exportToDatabase are
set to false
2012-10-23 18:37:33 -04:00
brmeyer
5e158e8861
HHH-7693 Formatting and duplicate code
2012-10-22 13:20:46 -04:00
Bryan Turner
1333725bcf
HHH-7692 Use Postgres82Dialect for 9 and 9.1.
2012-10-22 13:14:21 -04:00
Bryan Turner
189a8d3386
HHH-7693 Use SQLServer2008Dialect for 2012.
...
- Previously, SQL Server version 11 (SQL Server 2012) was an unknown
version, resulting in the SQLServerDialect
- Added version 11 to the switch statement so that SQLServer2008Dialect
is now returned by default, as SQL Server 2012 is much more similar
to SQL Server 2008 than SQL Server 2000
- Added test cases to verify dialects for several SQL Server versions
2012-10-22 13:07:19 -04:00
brmeyer
ec3f649ad5
HHH-7698: In efficient LOB creations backed by streams
...
https://hibernate.onjira.com/browse/HHH-7698
2012-10-19 17:10:16 -04:00
Sanne Grinovero
4fe494d13d
HHH-7699 DriverManagerConnectionProviderImpl is not exact in counting checked-out connections
2012-10-18 19:42:57 +01:00
Sanne Grinovero
e4300d279c
HHH-7699 More aggressive in checking log levels before creating log messages
2012-10-18 19:42:57 +01:00
Sanne Grinovero
e27afb8ded
HHH-7699 Proper code formatting of log statements
2012-10-18 19:42:57 +01:00
Galder Zamarreño
a074d3244d
HHH-7640 Improve single node Infinispan 2LC performance
...
* Use an Infinispan cache to maintain pending puts, which avoids
the need to control it's memory consumption in the critical path
of putFromLoad.
* This cache is shared by all regions, and it's configured with
aggressive expiration settings to avoid piling up pending put
operations.
* Added a 2LC stress test that tests behaivour and performance
of 2LC under multiple situations, such as entity inserts, updates,
find via PK, find via query and deletes.
* Some other minor performance enhancements, such as avoiding
classloader aware cache wrapper if using 2LC locally.
* Remove cache adapter to reduce construction of useless objects.
* Cache flagged caches in order to avoid recomputing decorated
caches all the time, which reduces memory consumption.
* Skip locking for timestamp updates and separate timestamp region
implementations for local vs clustered scenarios.
2012-10-18 15:57:15 +02:00
Steve Ebersole
2b4097aa49
HHH-7698 - In efficient LOB creations backed by streams
2012-10-17 12:26:35 -05:00
brmeyer
25a98fada3
HHH-7674 DB locks not cleared on
...
LazyLoadingTest#testLazyCollectionLoadingWithClearedSession
2012-10-10 22:01:32 -04:00
Steve Ebersole
c9fd71fe57
HHH-7683 - Optimize performance of AbstractLazyInitializer.prepareForPossibleSpecialSpecjInitialization()
2012-10-10 13:21:53 -05:00
brmeyer
11dcd9ab46
HHH-6655 trim function on DB2 is broken
2012-10-09 11:29:05 -04:00
brmeyer
58fa4c2eac
HHH-4459 Query with Composite Primary Key parameter crashes when query
...
cache is on
2012-10-08 21:51:56 -04:00
Steve Ebersole
199ee7860e
HHH-5209 - org.hibernate.hql.ast.QuerySyntaxException when running a JPQL query with a MEMBER OF on an @ElementCollection
2012-10-03 08:19:41 -05:00
Brett Meyer
4152ff660a
Revert "HHH-4098 VARBINARY should be BLOB in DB2400Dialect"
...
This reverts commit 590020535c
.
2012-09-27 11:32:00 -04:00
brmeyer
590020535c
HHH-4098 VARBINARY should be BLOB in DB2400Dialect
2012-09-26 21:33:52 -04:00
brmeyer
8dbaefced4
HHH-6972 Support PostgreSQL and Oracle LOBs
2012-09-26 17:33:54 -04:00
Oleh Faizulin
068c973cde
HHH-7644 Correct memory leak
2012-09-26 15:48:52 -04:00
brmeyer
3e5184e6d7
HHH-6043 PostLoad method invoked before collection initialised
2012-09-26 00:19:05 -04:00
brmeyer
121f495ff8
HHH-4635 Oracle ORA-24816 inserting and updating data for entities
...
containg LOB attributes
2012-09-24 12:19:22 -04:00
Sanne Grinovero
29ad8e9cb9
HHH-7633 Cache System#identity for IdentityMap reuse
2012-09-21 14:46:25 +02:00
Steve Ebersole
f85e9247e9
HHH-7631 - Improve performance of UpdateTimestampsCache
2012-09-21 07:02:16 -05:00
Steve Ebersole
a8a3f9b112
HHH-7626 - Add javadoc to annotations
2012-09-20 10:04:27 -05:00
Steve Ebersole
d0f88347af
HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder : reordered EMF builder processing to better allow late ValidatorFactory and DataSource (HHH-7621) passing
2012-09-20 05:40:15 -05:00
Shawn Clowater
35b9a9d785
HHH-7603 Changed AbstractPersistentCollection so that it would behave in a similar manner as 4.1.6 when using the default lazy load behavior for collections. With the changes for HHH-7603 the AbstractPersistentCollection was throwing a NPE instead of a LIE in a very particular case.
...
Added test that simulates a use case from Hibernate Search 4.1.1 as far as I can tell.
2012-09-20 01:51:58 -04:00
Ivan Sopov
8462677f53
fix for HHH-7487 org.hibernate.type.EnumType incorrectly logs binded values, trace logging was done as it is done in BasicBinder with the String.format
2012-09-20 01:40:22 -04:00
brmeyer
500e0222b5
HHH-6972 Support PostgreSQL and Oracle LOBs
2012-09-20 01:24:02 -04:00
Sergiu Dumitriu
54fdb87d30
HHH-7541: When using HSQLDB, inserting any CLOB value larger than 16Mb always fails with an exception
...
Fixed.
2012-09-19 10:04:23 -04:00
brmeyer
7d5ece822c
HHH-7309 Natural-id not cached in shared cache after insert
2012-09-19 08:34:55 -04:00
Guenther Demetz
a176931349
HHH-7309 bug-fix
2012-09-19 08:25:38 -04:00
Guenther Demetz
7c218bbe11
HHH-7309 testcase
2012-09-19 08:25:37 -04:00
brmeyer
6660d2412a
HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
...
job
2012-09-19 05:24:51 -04:00
brmeyer
8c58af3b19
HHH-6972 Support PostgreSQL and Oracle LOBs
2012-09-19 04:19:09 -04:00
brmeyer
cb60b0259c
HHH-6682 add support for oracle "bitand" function to Oracle Dialect
2012-09-18 01:33:41 -04:00
brmeyer
9f720b2d73
HHH-4635 Oracle ORA-24816 inserting and updating data for entities
...
containg LOB attributes
2012-09-18 01:20:42 -04:00
brmeyer
6a5bd555de
HHH-6682 add support for oracle "bitand" function to Oracle Dialect
2012-09-17 06:00:19 -04:00
brmeyer
9f7f572490
HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking
2012-09-17 03:54:36 -04:00
Emmanuel Bernard
b040866c2c
HHH-7597 Small error in AvailableSettings JavaDoc
2012-09-14 11:05:22 +02:00
Gail Badner
3a72b45325
HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity
2012-09-13 12:30:15 -07:00
Gail Badner
8eb7d8cf64
HHH-1283 : Join fetched collections using Query.scroll() is correct only for first entity
2012-09-12 23:46:50 -07:00
brmeyer
04ed36bf0a
HHH-7586 Re-architect Type or TypeFactory dynamic descriptors
2012-09-11 18:30:13 -04:00
brmeyer
7ce07642cb
HHH-7586 Re-architect SimpleValue's reflection for dynamic descriptors
2012-09-11 18:30:12 -04:00
brmeyer
69bcccaa1a
HHH-7584 Sybase dialects attempting to use BLOB types
2012-09-11 18:30:11 -04:00
brmeyer
5306dda1c9
HHH-7569 Correct multiple failures/issues in
...
hibernate-core-master-matrix CI job
2012-09-11 18:30:10 -04:00
brmeyer
ae59da9322
HHH-7569 Turned down AST logging due to stackoverflow
2012-09-11 18:30:09 -04:00
brmeyer
f63b0c5f69
HHH-7569 Correct multiple failures/issues in
...
hibernate-core-master-matrix CI job
2012-09-11 18:30:07 -04:00
brmeyer
86deac49f7
HHH-7579 Oracle does not support "unique not null"
2012-09-11 18:30:06 -04:00
brmeyer
1a3199bfa8
HHH-5376 Tests contain invalid SQL
2012-09-11 18:30:05 -04:00
brmeyer
c3861c6b33
HHH-7578 Sybase does not support "unique not null"
2012-09-11 18:30:04 -04:00
brmeyer
588d4be45b
HHH-7577 Dialect's supportsNotNullUnique not working when false
2012-09-11 18:30:03 -04:00
Gail Badner
cb1069a3d3
HHH-1283 : Added tests that reproduce the issue
2012-09-11 14:35:07 -07:00
Steve Ebersole
7b486fc4a4
HHH-1658 - unexpected AST node on HQL UPDATE
2012-09-07 12:03:48 -05:00
Steve Ebersole
e9bd0afe81
HHH-1658 - unexpected AST node on HQL UPDATE
2012-09-07 12:01:41 -05:00
John Hardin
7e0559ecdb
HHH-7398 -- Added testTimeout() and modified AbstractBatchImpl.buildBatchStatement() accordingly.
2012-09-05 14:04:52 -05:00
brmeyer
8b632c214d
HHH-4394 Added test case
2012-09-05 13:43:05 -05:00
brmeyer
42de7604f8
Fix for HHH-7545 was missing a session close -- caused exception in 3.3
...
backport.
2012-09-05 13:43:04 -05:00
brmeyer
7b04acd4f4
HHH-7569 Merging test changes to master that were made only in 4.1
...
branch
2012-09-05 12:53:56 -05:00
Steve Ebersole
6a48cccd5d
HHH-7568 - Add JPA1.0 compound key compatability when orm descriptor file used to override annotations.
2012-09-05 12:34:03 -05:00
Jeremy Whiting
961caf770a
HHH-7568 Added test case to check removal of compound key association items. Changed the detection of JoinColumns to work when orm/hbm xml is used. Added change to configure a property when JoinColumns annotation is used on entity definition.
2012-09-05 12:06:31 -05:00
Steve Ebersole
40574b9d8a
HHH-1123 - Cannot put more than 1000 elements in a InExpression
2012-09-05 11:29:13 -05:00
brmeyer
970bd8679e
HHH-1123 Cannot put more than 1000 elements in a InExpression
2012-09-05 11:29:13 -05:00
Shawn Clowater
6ac746fffc
HHH-7308
...
Change the beforeCompletion() method of the TransactionObserver() to call the beforeTransactionCompletion() method regardless of whether or not the session is open like the afterCompletion() method does when calling the afterTransactionCompletion() and also cleaned up the log message around session having after transaction events as this sort of logging had been previously moved to the close() method of SessionImpl.
2012-09-05 09:23:24 -05:00
Strong Liu
4fe75d5a09
HHH-7371 Natural-id: ObjectNotFoundException when found entity is marked as deleted
2012-09-05 17:22:19 +08:00
Strong Liu
8fa530a247
HHH-7300 - TypeDefs won't be found depending of files read-order
2012-09-05 17:06:40 +08:00
Guenther Demetz
a043701de7
HHH-7059 The DerbyDialect deprecation warning should appear no more,
...
when using one of the version-specific dialects
2012-09-05 14:45:41 +08:00
nrodrigues
072e64d26a
HHH-7532 - Override getForUpdateString with correct syntax
2012-09-05 14:29:25 +08:00
Dustin Schultz
e8b2695289
HHH-7544
...
Fixes java.lang.VerifyError by building StackMapTables at appropriate
places.
2012-09-05 11:40:13 +08:00
Steve Ebersole
4e22fb9044
HHH-7566 - Activating JOIN fetch profile involving self-referential associations causes StackOverflowError
2012-09-04 16:08:28 -05:00
Steve Ebersole
54f4335416
HHH-7203 - IdentityGenerator fails with JOINED Inheritance when inserting entity to PosgtreSQL
2012-09-04 15:00:48 -05:00
Steve Ebersole
4450b127b2
HHH-7567 - Better checking when @Enumerated involved
2012-09-04 12:17:34 -05:00
Steve Ebersole
076eccb7a2
HHH-5188 - Use provided enum type ordinal/string when reading
2012-09-03 22:06:23 -05:00
Steve Ebersole
ab64f5c3be
HHH-7552 - New StrategySelectorService : initial auto-detection
2012-08-31 16:20:05 -05:00
Steve Ebersole
98ad44e75d
HHH-7563 - Fallback for JBossAppServerJtaPlatform.locateUserTransaction() to look at "java:jboss" if "java:comp" not available
2012-08-31 11:22:07 -05:00
Didier Villevalois
8e30a2b86d
HHH-7134 - Detection of wrong circularity when two tables with same name in different schemas
...
Fixes FKSecondPass processing to take catalog and schema in accounts. Corresponding test class is
org.hibernate.test.cfg.WrongCircularityDetectionTest.
2012-08-31 00:40:30 +08:00
Steve Ebersole
3e2be6a009
HHH-7557 - Map entries get deleted
2012-08-30 10:46:49 -05:00
Steve Ebersole
759620cecb
HHH-6823 - Short-name config values
2012-08-29 11:16:17 -05:00
Steve Ebersole
37542fe1f1
HHH-6823 - Short-name config values
2012-08-29 10:49:06 -05:00
Steve Ebersole
4ad49a02c9
HHH-7556 - Clean up packages
2012-08-28 14:12:15 -05:00
Steve Ebersole
d52a20a693
HHH-7552 - New StrategySelectorService : initial work
2012-08-27 15:18:21 -05:00
Gail Badner
5327ac5396
HHH-7545 : Aliases for a collection key and element column can collide causing one to be excluded
2012-08-23 11:23:49 -07:00
Steve Ebersole
fd8a45b2b2
HHH-7514 - Upgrade to Jandex 1.1
2012-08-22 13:41:16 -05:00
Steve Ebersole
4282e23caa
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change)
2012-08-18 12:30:21 -05:00
Thomas Einwaller
d252a141d0
https://hibernate.onjira.com/browse/HHH-3452
...
Statistics for Criteria Queries
2012-08-17 17:46:59 +08:00
Steve Ebersole
6b5a428b3f
HHH-7527 - OSGI manifests for hibernate-orm : clean up org.hibernate.engine.spi package duplication between hem and core
2012-08-16 14:21:21 -05:00
Steve Ebersole
52336f4150
HHH-7524 - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections
2012-08-16 11:28:41 -05:00
Steve Ebersole
5739392572
HHH-6823 - Short-name config values : transactions
2012-08-16 11:28:41 -05:00
Steve Ebersole
d8651c3ba7
HHH-7524 - Enabling AvailableSettings.ENABLE_LAZY_LOAD_NO_TRANS results in leaking DB-connections
2012-08-15 10:51:47 -05:00
Steve Ebersole
cd480fbd2b
HHH-7472 - Introduce a "schema management" service
2012-08-14 09:55:17 -05:00
Steve Ebersole
b38e160cba
HHH-7521 - JBoss 7 / JPA 2.1 integration work
2012-08-13 11:47:21 -05:00
Strong Liu
fae0d3f498
HHH-7509 NPE regression in second level cache
2012-08-09 14:55:02 +08:00
Scott Marlow
8e73bb056e
HHH-7509 fix NPE in second level cache
2012-08-08 22:24:32 -04:00
Strong Liu
0068625ee7
HHH-7508 Debug logging throws MissingFormatArgumentException when using non standard Optimizer
2012-08-08 21:12:59 +08:00
Strong Liu
7a82349f75
HHH-7385 change to use gradle 1.1
2012-08-08 17:09:11 +08:00
Steve Ebersole
467258cffa
HHH-7457 - Enable loading of collections thats been detached from session
2012-08-07 14:52:00 -05:00
Ståle W. Pedersen
a1c9ed7756
HHH-7457
...
enabled hibernate to reattach a collection that hasnt been loaded to the session.
note: this can cause data to be loaded outside a transaction. use with caution.
2012-08-07 14:52:00 -05:00
Steve Ebersole
a385792178
HHH-7305 - NPE in LogicalConnectionImpl when multi tenancy is used without providing a release mode manually
2012-08-07 14:03:56 -05:00
Strong Liu
d0e13b664a
HHH-7108 HHH-6608
2012-08-07 15:08:23 +08:00
Steve Ebersole
45118e729d
HHH-7502 - Problems with multi-tenancy and 2nd level cache
2012-08-06 18:26:22 -05:00
Strong Liu
7f10972048
HHH-2808 CLONE -Impossible to define caching for a subclass's collection in hibernate.cgf.xml
2012-08-06 14:37:27 +08:00
Tair Sabirgaliev
1ec1254bab
Test: order of <mapping .../> affects caching configuration
2012-08-06 13:22:30 +08:00
Strong Liu
c9d6d61adf
HHH-7446 bug-fix
2012-08-06 13:08:24 +08:00
Guenther Demetz
8b9f171a03
HHH-7446 bug-fix
2012-08-06 13:05:16 +08:00
Guenther Demetz
7673092426
HHH-5281 test-case
2012-08-06 13:05:16 +08:00
Eric Dalquist
8de0f9e875
HHH-7468 Recreate toString value holder after deserialization
2012-08-02 13:30:21 +08:00
Lukasz Antoniak
9c859d0432
HHH-6662 - More descriptive test names
2012-07-26 06:53:54 +02:00
Lukasz Antoniak
414e6111a8
HHH-6662, HHH-7445 - Fix and test
2012-07-25 23:23:17 +02:00
Steve Ebersole
183c914f57
HHH-6204 - JoinColumn on non key field fails to populate collection
2012-07-24 14:59:27 -05:00
Steve Ebersole
6a65c3e7e6
HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : SynchronizationType
2012-07-18 17:48:59 -05:00
Steve Ebersole
f8d06216e5
HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : criterias
2012-07-18 17:48:59 -05:00
Steve Ebersole
219707df1d
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : REF_CURSOR param handling
2012-07-18 17:48:59 -05:00
Steve Ebersole
cb13cea1ac
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec + HEM boot cleanup (HHH-6159)
2012-07-18 17:48:59 -05:00
Steve Ebersole
9ce3afd8da
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter + HEM boot cleanup (HHH-6159)
2012-07-18 17:03:09 -05:00
Steve Ebersole
ad2a9ef651
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : AttributeConverter
2012-07-18 17:00:20 -05:00
Steve Ebersole
153eb4a913
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : stored procedure queries
2012-07-18 17:00:19 -05:00
Steve Ebersole
4174c14675
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : UPDATE/DELETE criterias
2012-07-18 16:52:33 -05:00
Steve Ebersole
2adab60d15
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : TREAT
2012-07-18 16:52:32 -05:00