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
Steve Ebersole
595f068977
HHH-7620 - allow ValidatorFactory to be passed into EntityManagerFactoryBuilder
2012-09-20 04:25:48 -05: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
f9c33a32b0
HHH-7569 Correct test-only failures in hibernate-core-master-matrix CI
...
job
2012-09-18 04:31:41 -04:00
Steve Ebersole
7042790a53
HHH-7580 - Complete 2-phase SessionFactory building design
2012-09-12 15:48:20 -05: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
f63b0c5f69
HHH-7569 Correct multiple failures/issues in
...
hibernate-core-master-matrix CI job
2012-09-11 18:30:07 -04:00
Steve Ebersole
ec16599411
HHH-7556 - Clean up packages
2012-09-10 15:46:11 -05:00
Steve Ebersole
563a0e4b7a
missed files on last merge
2012-09-10 14:23:01 -05:00
Steve Ebersole
af115fe5a8
Merge branch 'master' into metamodel
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
hibernate-core/src/main/java/org/hibernate/cache/internal/NoCachingRegionFactory.java
hibernate-core/src/main/java/org/hibernate/cache/internal/RegionFactoryInitiator.java
hibernate-core/src/main/java/org/hibernate/cfg/SettingsFactory.java
hibernate-core/src/main/java/org/hibernate/cfg/beanvalidation/BeanValidationIntegrator.java
hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/UserSuppliedConnectionProviderImpl.java
hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcServicesImpl.java
hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/JdbcServices.java
hibernate-core/src/main/java/org/hibernate/internal/AbstractSessionImpl.java
hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
hibernate-core/src/main/java/org/hibernate/internal/StoredProcedureCallImpl.java
hibernate-core/src/main/java/org/hibernate/jaxb/internal/JaxbConfigurationProcessor.java
hibernate-core/src/main/java/org/hibernate/jaxb/internal/JaxbMappingProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataBuilderImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/AnnotationMetadataSourceProcessorImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/Helper.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/HibernateMappingProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/internal/IdentifierGeneratorResolver.java
hibernate-core/src/main/java/org/hibernate/service/ConfigLoader.java
hibernate-core/src/main/java/org/hibernate/service/ServiceRegistryBuilder.java
hibernate-core/src/main/java/org/hibernate/service/StandardServiceInitiators.java
hibernate-core/src/main/java/org/hibernate/stat/internal/StatisticsInitiator.java
hibernate-core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
hibernate-core/src/main/java/org/hibernate/type/EnumType.java
hibernate-core/src/test/java/org/hibernate/metamodel/binding/AbstractBasicBindingTests.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/MetadataImplTest.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/entity/IdentifierGeneratorTest.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/entity/MapsIdTest.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/global/FetchProfileBinderTest.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/global/QueryBinderTest.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/util/BaseAnnotationIndexTestCase.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/util/JandexHelperTest.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/xml/OrmXmlParserTests.java
hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/xml/mocker/XmlHelper.java
hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/SimpleValueBindingTests.java
hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/UnidirectionalManyToManyBindingTests.java
hibernate-core/src/test/java/org/hibernate/test/annotations/id/sequences/HibernateSequenceTest.java
hibernate-core/src/test/java/org/hibernate/test/annotations/manytomany/ManyToManyTest.java
hibernate-core/src/test/java/org/hibernate/test/common/BasicTestingJdbcServiceImpl.java
hibernate-core/src/test/java/org/hibernate/test/common/JdbcConnectionAccessImpl.java
hibernate-core/src/test/java/org/hibernate/test/connections/AggressiveReleaseTest.java
hibernate-core/src/test/java/org/hibernate/test/connections/ConnectionManagementTestCase.java
hibernate-core/src/test/java/org/hibernate/test/connections/ThreadLocalCurrentSessionTest.java
hibernate-core/src/test/java/org/hibernate/test/events/CallbackTest.java
hibernate-core/src/test/java/org/hibernate/test/flush/TestAutoFlushBeforeQueryExecution.java
hibernate-core/src/test/java/org/hibernate/test/flush/TestCollectionInitializingDuringFlush.java
hibernate-core/src/test/java/org/hibernate/test/interceptor/InterceptorTest.java
hibernate-core/src/test/java/org/hibernate/test/keymanytoone/bidir/component/EagerKeyManyToOneTest.java
hibernate-core/src/test/java/org/hibernate/test/propertyref/DoesNotWorkTest.java
hibernate-core/src/test/java/org/hibernate/test/propertyref/DoesNotWorkWithHbmTest.java
hibernate-core/src/test/java/org/hibernate/test/service/ClassLoaderServiceImplTest.java
hibernate-core/src/test/resources/org/hibernate/jmx/Entity.hbm.xml
hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/AbstractEhcacheRegionFactory.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/boot/internal/PersistenceXmlParser.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/internal/jpa/CallbackProcessorImpl.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/event/spi/JpaIntegrator.java
hibernate-envers/src/main/java/org/hibernate/envers/event/EnversIntegrator.java
hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/tm/HibernateTransactionManagerLookup.java
hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/InfinispanRegionFactoryTestCase.java
hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/NodeEnvironment.java
hibernate-infinispan/src/test/java/org/hibernate/test/cache/infinispan/tm/JBossStandaloneJtaExampleTest.java
hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseAnnotationBindingTestCase.java
hibernate-testing/src/main/java/org/hibernate/testing/junit4/BaseCoreFunctionalTestCase.java
2012-09-10 14:20:38 -05:00
Steve Ebersole
4ad49a02c9
HHH-7556 - Clean up packages
2012-08-28 14:12:15 -05:00
Steve Ebersole
110c3a4b92
HHH-7550 - Fix UP-TO-DATE checking for APT-based tasks
2012-08-24 20:39:53 -05:00
Steve Ebersole
63a2f0d7dc
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI via reflection
2012-08-24 20:39:53 -05:00
Strong Liu
07d154fbf2
HHH-7514 fixing compile error
2012-08-23 23:02:51 +08:00
Strong Liu
8e8d681c7e
Merge branch 'master' into metamodel
2012-08-23 22:54:33 +08:00
Steve Ebersole
581f037dee
HHH-7514 - Upgrade to Jandex 1.1
2012-08-22 17:35:35 -05:00
Steve Ebersole
fd8a45b2b2
HHH-7514 - Upgrade to Jandex 1.1
2012-08-22 13:41:16 -05:00
Steve Ebersole
8c1923ee05
HHH-7540 - Allow integration hooks into all steps of building a SessionFactory
2012-08-22 12:46:15 -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
Steve Ebersole
c9ff6f2fe2
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI (small test change)
2012-08-17 18:31:13 -05:00
Steve Ebersole
f74cf0b83f
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : CDI support
2012-08-17 18:20:03 -05:00
Steve Ebersole
af4fedc98b
HHH-7527 - OSGI manifests for hibernate-orm
2012-08-16 15:20:32 -05: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
7120b85bbc
HHH-7521 - JBoss 7 / JPA 2.1 integration work
2012-08-15 13:47:21 -05:00
Steve Ebersole
b38e160cba
HHH-7521 - JBoss 7 / JPA 2.1 integration work
2012-08-13 11:47:21 -05:00
Strong Liu
7a82349f75
HHH-7385 change to use gradle 1.1
2012-08-08 17:09:11 +08:00
Strong Liu
7f3ad01b50
HHH-7495 HHH-7492 Move RegionFactory to session factory scope service registry
2012-08-01 04:28:55 +08:00
Strong Liu
127283374d
HHH-7483 fix test failures caused by quoting table name
2012-07-30 12:58:15 +08: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
288155bcb2
HHH-6159 - Create EntityManagerFactoryBuilder : integrate EntityManagerFactoryBuilder with metamodel codebase
2012-07-24 02:30:40 -05:00
Steve Ebersole
61c04a0b30
HHH-6159 - Create EntityManagerFactoryBuilder : integrate EntityManagerFactoryBuilder with metamodel codebase
2012-07-24 00:03:29 -05:00
Steve Ebersole
42a3061f3e
Merge branch 'master' into metamodel
...
Conflicts:
hibernate-core/src/main/java/org/hibernate/engine/spi/NamedQueryDefinition.java
hibernate-core/src/main/java/org/hibernate/internal/SQLQueryImpl.java
hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
hibernate-core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryReturnProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/AnnotationBindingContextImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/global/QueryProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/CompositePluralAttributeElementSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/MappingDocument.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/TimestampAttributeSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/hbm/VersionAttributeSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/entity/EntityBindingContext.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/ComponentAttributeSourceImpl.java
hibernate-core/src/main/java/org/hibernate/metamodel/source/hbm/HibernateMappingProcessor.java
hibernate-core/src/main/java/org/hibernate/metamodel/spi/domain/Composite.java
hibernate-core/src/main/java/org/hibernate/metamodel/spi/source/BindingContext.java
hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
hibernate-core/src/main/resources/org/hibernate/hibernate-mapping-4.0.xsd
hibernate-core/src/test/java/org/hibernate/metamodel/spi/binding/SimpleValueBindingTests.java
hibernate-entitymanager/src/main/java/org/hibernate/ejb/AvailableSettings.java
hibernate-entitymanager/src/main/java/org/hibernate/jpa/internal/event/CallbackResolver.java
2012-07-19 15:50:50 -05:00
Steve Ebersole
693185a8ac
Re-applying commit for HHH-6304 missed during rebase of JPA 2.1 branch with master due to JPA package refactoring
2012-07-18 18:19:47 -05:00
Steve Ebersole
30d8fdaa8b
HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : more ejb->jpa rename
2012-07-18 18:05:06 -05:00
Steve Ebersole
06d44951c6
HHH-7451 - Integrate Draft 7 of the JPA 2.1 spec : more ejb->jpa rename
2012-07-18 17:48:59 -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
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
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
Steve Ebersole
8b87ae8830
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : FUNCTION keyword
2012-07-18 16:52:32 -05:00
Steve Ebersole
0a37440431
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : ON keyword
2012-07-18 16:52:32 -05:00
Steve Ebersole
1dd3e3a0bc
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec
2012-07-18 16:52:32 -05:00
Steve Ebersole
3edb72db48
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec : addNamedQuery support
2012-07-18 16:52:32 -05:00
Steve Ebersole
00059fee2f
HHH-7387 - Integrate Draft 6 of the JPA 2.1 spec
2012-07-18 16:48:45 -05:00
Scott Marlow
b76e7c4987
HHH-7454 added DEBUG log message 'PersistenceUnitUtil#isLoaded is not always accurate; consider using EntityManager#contains instead'
2012-07-18 11:02:27 -04:00
Rob Worsnop
dbff4c1839
HHH-2394 Got filters working on sub-classes.
2012-07-12 22:58:09 +08:00
Strong Liu
97ac8311d4
HHH-7426 Setting cacheable='true' in orm.xml does not enable caching of entity in 2lc
2012-07-12 15:00:44 +08:00
Strong Liu
973451d5e8
HHH-6304 HHH-6695 Error 'Cannot create TypedQuery for query with more than one return' with named queries
2012-07-12 11:53:27 +08:00
Steve Ebersole
7bdd8214e1
Merge branch 'master' into metamodel
2012-06-08 08:09:02 -05:00
Steve Ebersole
7cda27b6aa
cleanup missed references to matrix sourceSet
2012-06-08 08:08:13 -05:00
Steve Ebersole
159b81f680
Merge branch 'master' into metamodel
2012-06-08 08:01:46 -05:00
Steve Ebersole
bd7b54a4ea
cleanup missed references to matrix sourceSet
2012-06-08 07:59:54 -05:00
Steve Ebersole
986b66eb18
Initial merge from master to metamodel
2012-06-07 16:12:32 -05:00
Steve Ebersole
e6234bd2bd
consolidate src/test and src/matrix
2012-06-07 14:11:03 -05:00
Steve Ebersole
d971317e1b
HHH-6896 - Metamodel.managedType(...) implemented incorrectly
2012-06-05 15:02:24 -05:00
Steve Ebersole
9b1521c29a
HHH-6896 - Metamodel.managedType(...) implemented incorrectly
2012-06-05 13:52:28 -05:00
Strong Liu
bf69f8a382
HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest
2012-05-31 17:08:46 +08:00
Strong Liu
1de554b68a
HHH-7298 regression, org.hibernate.ejb.test.lock.LockTest
2012-05-31 10:42:10 +08:00
Strong Liu
fe7a5d74c5
HHH-7350 read-only entities can not be deleted from 2LC
2012-05-31 00:54:08 +08:00
Strong Liu
dddc959311
HHH-6846 lock timeout is in milliseconds
2012-05-30 23:32:17 +08:00
Strong Liu
0c1569c4f4
HHH-6846 lock timeout is in milliseconds
2012-05-30 23:25:33 +08:00
Strong Liu
ed266c593a
HHH-6256 persistence.xml-specified javax.persistence.lock.timeout is ignored
...
HHH-6846 Support for Query.setHint(javax.persistence.lock.timeout)
2012-05-29 18:15:59 +08:00
Strong Liu
4266cd3585
HHH-7356 javax.persistence.lock.timeout hint is ignored by @NamedQuery
2012-05-29 17:44:09 +08:00
Strong Liu
32d36f6ea9
HHH-7356 add failure expected test
2012-05-29 16:58:28 +08:00
Gail Badner
0a30003729
HHH-7265 : Test case to repro ConcurrentModificationException
2012-05-18 13:39:53 -07:00
Gail Badner
ac5ef8108a
HHH-7265 : Test case to repro ConcurrentModificationException
2012-05-18 13:39:53 -07:00
Strong Liu
975877e5c7
fail test if timeout
2012-05-15 12:49:39 +08:00
Steve Ebersole
070ee532f5
HHH-7298 - regression, org.hibernate.ejb.test.lock.LockTest
2012-05-03 11:02:41 -05:00
Bryan Varner
8b40d71c84
Renamed the test case to be more consistent.
2012-05-02 17:17:42 -05:00
Bryan Varner
5c0d449082
Cleaned up the dialect error conversion a little bit for PostgresSQL. I was doing more than I needed to.
...
Updated the LockTest to enable another nowait test for postgresql.
2012-05-02 17:17:42 -05:00
Bryan Varner
cb1c485774
Yes, much cleaner...
2012-05-02 17:17:42 -05:00
Bryan Varner
c1849d56f6
Changing the test case to no longer fail when PersistenceException is thrown. This feels sooo wrong.
...
I know dialects aren't mapping lock exceptions properly, and this test case exposes that if you fail the test when PersistenceException is thrown. So what do I do now?
There are other tests in this very test class that don't fail the build when the wrong exception is thrown, even though they clearly should.
2012-05-02 17:17:42 -05:00
Bryan Varner
327002ab02
Adding a test case for HHH-7252. In this branch, the test case currently fails for PostgreSQL matrix tests, unless HHH-7251 is also applied.
2012-05-02 17:17:42 -05:00
Bryan Varner
089a36a260
HHH-7252
...
The code was a bit non-obvious (assignment in a method call argument) where it was being done, and the local variable (lockOptions) assignment was missing in the find() method implementation.
I changed all instances of lockOptions assignment to assign before the method call where it's required as an argument, ensuring proper scope for exception mapping.
2012-05-02 17:17:42 -05:00
Steve Ebersole
23aa8875d8
HHH-7265 - ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion due to SynchronizationRegistryImpl.clearSynchronizations clearing SynchronizationRegistryImpl.synchronizations
2012-05-02 14:14:48 -05:00
Gail Badner
3a5b231187
HHH-7265 : ConcurrentModificationException in SynchronizationRegistryImpl.notifySynchronizationsAfterTransactionCompletion
2012-05-02 14:14:48 -05:00
Gail Badner
fc068be040
HHH-7265 : Test case to repro ConcurrentModificationException
2012-04-20 17:55:27 -07:00
Steve Ebersole
3cd58b6e79
HHH-7266 - Move away from use of Enhydra developed DataSource for JTA testing
2012-04-20 18:59:06 -05:00
Strong Liu
d3b640cb75
HHH-7197 reimport imports
2012-03-26 16:17:45 +08:00
Strong Liu
e4a82a0b6b
HHH-7197 - update build scripts to not use deprecated gradle apis and change manual's xml declation to use doc namespace
2012-03-26 15:12:10 +08:00
Steve Ebersole
8f7b8e10d0
HHH-7192 - NullPointerException in QueryTranslatorImpl on erroneously typed delete query
2012-03-20 19:24:46 -05:00
Steve Ebersole
e532dc5e7d
HHH-7165 - count() query on classes using EmbeddedId should not use id column tuple on Dialects which dont support non-distinct tuple counts
2012-03-14 12:05:28 -05:00
Strong Liu
b51b2ff4cb
HHH-7156 Make Hibernate ORM compile and run tests using JDK 7 (and JDK 6)
2012-03-13 21:58:48 +08:00
Steve Ebersole
fa2de2351a
HHH-7164 - Finish out SessionFactoryBuilder api
2012-03-09 18:00:43 -06:00
Strong Liu
b0f2658ecf
HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings
2012-03-06 23:04:32 +08:00
Strong Liu
ae5d030ae1
HHH-6100 Bug fix related to CriteriaQuery (JPA) when using XML mappings
2012-03-06 23:04:31 +08:00
Steve Ebersole
f26435dfec
HHH-6589 - Skip non-JPA features populating JPA "static metamodel"
2012-03-02 10:16:04 -06:00
mam
f4c9b284a1
HHH-6589 - Skip non-JPA features populating JPA "static metamodel"
2012-03-02 10:15:41 -06:00
Steve Ebersole
7861fdee44
HHH-7067 - Update build to work with Gradle m8
2012-02-15 16:33:45 -06:00
Hardy Ferentschik
da2eac71ed
HHH-7037 Renaming ColumnValues to Column and adding support for JoinColumn
...
Renaming JpaCallbackClass to JpaCallbackSource
2012-02-10 17:32:00 -06:00
Scott Marlow
608c2fadc8
HHH-7018 EntityManagerFactory should be serializable even if it references nonserializable objects and also changed the HHH-6897 fix to use a UUID for emf name
2012-02-08 15:22:48 -05:00
Steve Ebersole
383a130a9c
HHH-7028 - Repackage org.hibernate.metamodel.source
2012-02-07 12:23:44 -06:00
Steve Ebersole
be840465d3
HHH-7028 - Repackage org.hibernate.metamodel.source
2012-02-07 11:16:11 -06:00
Eric Dalquist
1569e6194b
HHH-6974 Complete second level caching of natural id resolution
2012-02-07 08:34:23 -06:00
Eric Dalquist
c473520585
HHH-6974 Class level naturalId cache and stats
...
Add class level @NaturalIdCache annotation to denote if second level natualId caching should be done
Flush out stats model for naturalId cache related stats
Add ehcache support classes for naturalId region
2012-02-07 08:34:23 -06:00
Eric Dalquist
72fe79a3f2
HHH-6974 Addition of NaturalIdRegion SPI
...
Adds NaturalIdRegion to RegionFactory
Adds creation of NaturalIdRegions to SessionFactoryImpl setup
Basic copy of collection cache region behavior for first pass at naturalId region support in ehcache
2012-02-07 08:34:23 -06:00
Steve Ebersole
30deb20ff1
HHH-6082 - Incorporate EntityManager documentation into main dev guide
2012-02-07 00:22:46 -06:00
Steve Ebersole
102c31497b
HHH-6082 - Incorporate EntityManager documentation into main dev guide
2012-02-07 00:22:46 -06:00
Steve Ebersole
8352ab39fb
HHH-6082 - Incorporate EntityManager documentation into main dev guide
2012-02-07 00:22:45 -06:00
Steve Ebersole
3cf41ee3dc
HHH-6082 - Incorporate EntityManager documentation into main dev guide
2012-02-07 00:22:45 -06:00
Strong Liu
6dfe24983c
HHH-7006 keyword top causes test fail on ms sql server
2012-01-29 17:26:17 +08:00
Gail Badner
ebee6b731e
HHH-6957 : Throw TransientPropertyValueException if there are unresolved entity insert actions after persist/save/merge listeners execute
2012-01-27 00:15:38 -08:00
Gail Badner
bb4738b1e4
HHH-5299 : Multi-Level cascading of unsaved instances with bidirectional associations fails with TransientObjectException
2012-01-26 19:33:37 -08:00
Steve Ebersole
830d4cd2ab
HHH-5755 - javax.persistence.criteria.Expression.as() is broken
2012-01-25 22:25:40 -06:00
Guy Veraghtert
181496ac7c
HHH-5755
...
Signed-off-by: Michael Rudolf <michael.rudolf01@sap.com>
2012-01-25 14:29:23 +01:00
Steve Ebersole
75bd6b319b
HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields
2012-01-24 11:57:24 -06:00
Steve Ebersole
537481adbd
HHH-6923 - Remove org.hibernate.service.instrumentation.spi.InstrumentationService
2012-01-23 14:49:23 -06:00
Steve Ebersole
7a31958ce4
HHH-6974 - Add caching to new "load access" api for natural id loading
2012-01-22 08:27:59 -06:00
Steve Ebersole
e75b8a77b1
HHH-6967 - HHH-6906 - Clean up javadoc warnings
2012-01-13 11:17:34 -06:00
edalquist
f74c5a7fa5
HHH-2879 Apply hibernate code templates and formatting
2012-01-12 16:15:19 -06:00
edalquist
eecee618c6
HHH-2879 Add ResolveNaturalId event, listener and entity persister api
...
HHH-2879 Adds ResolveNaturalIdEvent with listener and default impl
HHH-2879 Adds API to EntityPersister to get an entity's ID based on its natural-id
HHH-2879 Add unit test for initial verification of loading an entity by natural-id
2012-01-12 16:14:28 -06:00
Steve Ebersole
066fea02c7
HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields
2012-01-10 10:06:18 -06:00
Steve Ebersole
35ce5bfef7
HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields
2012-01-09 17:53:11 -06:00
Steve Ebersole
cc15ba3f58
HHH-5024 - MetadataContext#registerAttribute does not recognize inherited fields
2012-01-09 16:02:57 -06:00
Scott Marlow
76a3ad2021
HHH-6936 EntityManagerImpl.close() and EntityManagerImpl.isOpen() should check if the session factory is closed
2012-01-04 13:59:18 -05:00
Scott Marlow
5e3775afe8
HHH-6897 fix for 'registry contains more than one (2) entity manager factories: EMF_BaseEntityManagerFunctionalTestCase' failure
2012-01-04 13:59:17 -05:00
Steve Ebersole
ab94a18c33
HHH-6931 - Provide local database hook
2012-01-03 20:43:15 -06:00
Steve Ebersole
ea5cf961e1
HHH-6902 - Create typed query in EntityManager throws NullPointerException when filters are present
2011-12-30 22:12:23 -06:00
Scott Marlow
3d517d78f9
HHH-6897 test changes to ensure that HHH-6897 doesn't regress
2011-12-28 21:02:41 -05:00
Steve Ebersole
ef79491a8f
HHH-6916 - Improper handling of primitive arrays in AbstractQueryImpl.registerParameterBinding
2011-12-26 11:10:42 -06:00
Steve Ebersole
097e157329
HHH-6916 - Not proper array-handling in AbstractQueryImpl.registerParameterBinding
2011-12-25 20:46:35 -06:00
Scott Marlow
e18d087592
HHH-6897 serialization of the EntityManager should be possible
2011-12-20 12:23:07 -05:00
Steve Ebersole
d02864bac6
HHH-6903 - add building of hem and manual docs
2011-12-16 09:13:45 -06:00
Gail Badner
af3767b82a
HHH-6872 : Test failures with hibernate.jdbc.batch_versioned_data=true
2011-12-02 02:19:58 -08:00
Steve Ebersole
eb59e81bb9
HHH-6865 - PessimisticLockException should be thrown when pessimistic read and write locking strategies fail
2011-11-30 12:20:11 -06:00
Strong Liu
221d5f9ef6
HHH-6862 reduce the reference to IdentityMap
2011-11-30 14:26:38 +08:00
Strong Liu
341acf5949
JBPAPP-2613
2011-11-25 16:09:47 +08:00
Strong Liu
8c868aa513
HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5
2011-11-25 14:25:05 +08:00
Hardy Ferentschik
873517a46f
HHH-6843 Second transaction should not commit before the first one
2011-11-25 13:30:33 +08:00
Hardy Ferentschik
ab111b6018
HHH-6843 Updating LockTest to be less aggressive and more inline with actual isolation requirements
...
The actual changes are in the refactoring of LockTest#testContendedPessimisticLock which got split up into several methods and has the asserts changed
The formatting changes fix some generics warning and indentation. Used to be two separate commits, but after some git screw-up became one now
2011-11-25 13:30:33 +08:00
Hardy Ferentschik
c520a81990
HHH-6843 Increasing the lock timeout. The default timeout is very low (see http://stackoverflow.com/questions/4162557/timeout-error-trying-to-lock-table-in-h2 )
...
Turns out that at least one test (LockTest) passed due to combination of an uncaught TimeoutException + wrong assumptions. Increasing the timeout seems also more realistic in comparison to other databases.
2011-11-25 13:30:33 +08:00
Scott Marlow
977dcd1b03
HHH-5222 upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails
2011-11-23 17:33:44 -05:00
Scott Marlow
e044cb2ce1
LockTest changes: better handling of unexpected exception and don't call commit after timing out
2011-11-23 10:42:15 -05:00
Alessandro Lazarotti
3c11500618
JBPAPP-7491 , JBPAPP-7488 , HHH-6806 Add support for vfsfile and vfszip in JarVisitor
...
The method getVisitor(URL jarUrl, Filter[] filters, String entry) does not have conditionals for protocols vfs based,
like vfszip or vfsfile. It returns an InputStreamZippedJarVisitor implementation for both protocols. If it is a vfszip,
it will work, but will not not for vfsfile. The fix includes vfszip and vfsfile to JarVisitorFactory, so it can return
FileZippedJarVisitor (more efficient than InputStreamZippedJarVisitor) for vfszip and ExplodedJarVisitor for vfsfile
2011-11-23 12:56:10 +01:00
Strong Liu
f8e347dabd
HHH-6827 code format and javadoc, logging
2011-11-21 20:02:09 +08:00
Strong Liu
ff9eb6d1b2
test need to be compiled in UTF-8
2011-11-21 10:16:30 +08:00
Strong Liu
62d50aa987
HHH-6820 Skip test org.hibernate.ejb.test.lock.LockTest.testContendedPessimisticLock for Sybase ASE15.5
2011-11-21 08:49:25 +08:00
Emmanuel Bernard
53cae7ace7
HHH-6799 Fix EntityManager relates test harness that was closing a ServiceRegistry it did not open
2011-11-03 21:20:28 +01:00
Emmanuel Bernard
19939cedf5
HHH-6799 Add a SessionFactoryObserver to close ServiceRegistries created by the bootstrap process
2011-11-03 21:20:27 +01:00
Strong Liu
368ef6713b
HHH-6773 test fails on sybase
2011-11-03 16:43:18 +08:00
Strong Liu
bec88716d6
HHH-6791 tiny improvement, in favor of java auto-box instead of create new instance
2011-11-02 14:16:02 +08:00
Gail Badner
11d8a8617f
HHH-6770 : Oracle reserved words used as column names
2011-10-26 14:42:17 -07:00
Gail Badner
a6a366678a
HHH-6770 : Oracle reserved words used as column names
2011-10-26 14:31:18 -07:00
Strong Liu
a9064790e3
HHH-6772 org.hibernate.ejb.test.BaseEntityManagerFunctionalTestCase overrides system properties
2011-10-26 14:21:18 +08:00
Strong Liu
5e668a039f
correct typo in doc
2011-10-20 02:01:23 +08:00
Strong Liu
036b9579d6
HHH-6742 move unit tests back to src/test
2011-10-18 22:17:13 +08:00
Strong Liu
98e68aab4b
HHH-6742 move unit tests back to src/test
2011-10-18 21:47:19 +08:00