John Verhaeg
78060d8eac
HHH-7628: Modified ConfiguredClass to also process @AccessType annotations
2012-09-20 08:21:56 -05:00
John Verhaeg
07405e0f00
Merge branch 'metamodel' of github.com:hibernate/hibernate-orm into metamodel
2012-09-20 08:21:15 -05:00
Strong Liu
221649d732
HHH-7627 mirror bugs in annotation binding side
2012-09-20 13:48:42 +02:00
Strong Liu
415e68647f
HHH-7549 ManyToOne fk naming
2012-09-20 11:28:46 +02:00
Strong Liu
e2f68ef4a1
HHH-7624 only root level fetch-profile element get processed
2012-09-20 10:55:42 +02:00
John Verhaeg
386a7c2f0d
HHH-7622: Added check for invalid extensions of an entity class when building the entity hierarchies
2012-09-19 08:13:18 -05:00
John Verhaeg
4d0f01614a
HHH-7542: Modified previous fix to look only for type-level @Immutable annotation
2012-09-19 08:05:05 -05:00
John Verhaeg
c9b1418988
HHH-7619: Modified ConfiguredClass to only look for type-level annotation for access type
2012-09-19 07:52:36 -05:00
John Verhaeg
f48503891b
HHH-7615: Changed ToOneAttributeSourceImpl.getJoinColumns to call JoinColumnResolutionContext.resolveRelationalValuesForAttribute when attributeName is null (indicating to use the primary key of the referenced table), and likewise modified resolveRelationalValuesForAttribute methods in each JoineColumnResolutionContext impl within Binder extract the PK columns when the attribute name is null
2012-09-18 04:38:30 -05:00
Strong Liu
dcc4ab49e7
HHH-7607 simplify Binder code
2012-09-17 12:43:42 +02:00
Strong Liu
b11cea4368
HHH-7607 change metamodel branch version to 5.0.0-SNAPSHOT
2012-09-17 12:03:09 +02:00
John Verhaeg
a49be14723
Merge branch 'tests' into metamodel
2012-09-14 17:58:48 -05:00
John Verhaeg
57e4f3a9ea
HHH-7602: Modified CustomRunner, BeforeClassCallbackHandler, and FailureExpectedHandler to handle exceptions in class methods. Marked tests appropriately with @FailureExpectedInNewMetamodel where necessary.
2012-09-14 17:58:26 -05:00
John Verhaeg
ad4b4d8040
Merge branch 'tests' into metamodel
2012-09-14 17:46:50 -05:00
John Verhaeg
3ae06719fd
HHH-7601: Added minOccurs/maxOccurs to column elements that were missing them, as defined by the DTD.
2012-09-14 17:46:34 -05:00
John Verhaeg
77dbe5d8e4
HHH-7601: Added minOccurs/maxOccurs to column elements that were missing them, as defined by the DTD.
2012-09-14 17:22:46 -05:00
John Verhaeg
9df7185948
Merge branch 'tests' into metamodel
2012-09-14 15:51:31 -05:00
John Verhaeg
58a238e5b7
HHH-7542: Modified EntityClass to allow for multiple class-level @Immutable annotations in the same hierarchy
2012-09-14 15:50:39 -05:00
John Verhaeg
ee9b4d78cd
HHH-7542: Modified EntityClass to allow for multiple class-level @Immutable annotations in the same hierarchy
2012-09-14 14:03:01 -05:00
John Verhaeg
4882bebdba
HHH-7600: Modified FilterDefinition constructor to allow for numm parameter types
2012-09-14 13:20:34 -05:00
Strong Liu
d4efae0794
HHH-7580 compile error
2012-09-13 14:53:31 +08:00
Strong Liu
279326fe6d
HHH-7549 @OneToMany
2012-09-13 14:24:16 +08:00
Strong Liu
11270a0f12
HHH-7549 fixing failing test
2012-09-13 14:24:16 +08:00
Steve Ebersole
7042790a53
HHH-7580 - Complete 2-phase SessionFactory building design
2012-09-12 15:48:20 -05:00
Strong Liu
ea2b9a899f
HHH-7549 binding Indexed collection
2012-09-12 17:49:01 +08:00
Strong Liu
b939be3157
HHH-7549 HHH-7318 support on new metamodel
2012-09-11 19:50:22 +08:00
Strong Liu
8bd17070ff
HHH-7556 - compile error in h-ehcache module due to package change
2012-09-11 10:12:59 +08: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
Hardy Ferentschik
a4b57ca7fa
HHH-7571 Formatting test classes and marking OptionalOneToOnePKJCTest/OptionalOneToOneMappedByTest with FailureExpectedForNewMetamodel, because Binder#bindSingularAttribute does throw a NotYeyImplemented exception for ONE_TO_ONE nature.
2012-09-10 12:57:43 +02:00
Hardy Ferentschik
e5b57d42e5
HHH-7571 Processing @JoinColumn(s) as part of @ElementCollection and @JoinTable
2012-09-10 12:55:01 +02: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
Hardy Ferentschik
9e8dc3017b
HHH-7571 Adding test for @CollectionTable
2012-09-07 11:55:33 +02:00
Hardy Ferentschik
ebcc59f0a1
HHH-7571 Starting to process @JoinTable and @CollectionTable
...
Moving JoinColumn processing into association attribute
Making anonymous ExplicitHibernateTypeSource implementation its own class
2012-09-06 18:01:14 +02:00
Steve Ebersole
094c08cd08
HHH-7575 - Hibernate Getting Started Guide refers to incorrect tutorial directory for annotations tutoral
2012-09-06 08:41:37 -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
Hardy Ferentschik
d661c3823d
HHH-7571 Adding failure expected annotations where needed
2012-09-05 16:29:53 +02: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
Hardy Ferentschik
d14d18e40b
HHH-7571 Minimal implementation of @ElementCollection details to pass AnnotationBasicCollectionBindingTests
2012-09-05 14:59:35 +02: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