4416 Commits

Author SHA1 Message Date
Hardy Ferentschik
952d8b230b HHH-7470 Removing obsolete @FailureExpectedWithNewMetamodel 2012-07-26 12:39:35 +02:00
Hardy Ferentschik
1d53de8262 HHH-7470 Re-enabling bean validation integration for new metamodel 2012-07-26 12:38:59 +02:00
Lukasz Antoniak
9c859d0432 HHH-6662 - More descriptive test names 2012-07-26 06:53:54 +02:00
John Verhaeg
0f77803b9c HHH-7474: Added @FailureExpectedWithNewMetamodel annotation to more tests that fail with the new metamodel. 2012-07-25 17:17:08 -05:00
Lukasz Antoniak
414e6111a8 HHH-6662, HHH-7445 - Fix and test 2012-07-25 23:23:17 +02:00
Steve Ebersole
e3a606e3db HHH-6159 - Create EntityManagerFactoryBuilder : remove explicit 'use metamodel' flag + fixed query imports from hbm processing 2012-07-25 15:25:17 -05:00
John Verhaeg
61fe3b7457 HHH-7474: Added support for new @FailureExpectedWithNewMetamodel annotation to be used by tests that still fail with the new metamodel. Functions exactly like @FailureExpected, except requires no JIRA key and is only processed when testing against the new metamodel. Also added annotation to several tests that were failing against the new metamodel, to get started with the process of annotating them all. 2012-07-25 15:00:55 -05:00
Strong Liu
cd430fa869 HHH-7452 mixin interface to simplify orm xml binding 2012-07-25 23:18:47 +08:00
Strong Liu
787ab27d45 HHH-7452 mixin interface to simplify orm xml binding 2012-07-25 13:41:50 +08:00
John Verhaeg
37d365cdf0 HHH-7471: Fixed back ref support. This is now done at the end of building metadata within the MetadataImpl, as opposed to within the Binder, since we need everything resolved on both sides of an association to know when a back ref is needed. Also corrected some issues with the hbm file. 2012-07-24 17:02:13 -05:00
Steve Ebersole
df74a4d55f HHH-6159 - Create EntityManagerFactoryBuilder : fixed failures hidden behind 'use new metamodel flag' not being true 2012-07-24 16:22:10 -05:00
Steve Ebersole
183c914f57 HHH-6204 - JoinColumn on non key field fails to populate collection 2012-07-24 14:59:27 -05:00
John Verhaeg
5932915b68 HHH-7439: Added tests to support unidirectional one-to-many lists, but not for maps since current test infrastructure doesn't support anything but Java collections. Tests failed to illuminate any additional problems, contrary to what we were expecting, so skipping map support for now. 2012-07-24 10:51:46 -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
Hardy Ferentschik
72af04524a Moving xml mapping files into resources folder. Creating subpackages for some tests 2012-07-23 17:02:43 +02:00
Hardy Ferentschik
58b5b7038b Formatting 2012-07-23 17:02:08 +02:00
Strong Liu
49e156d309 HHH-7452 mixin interface to simplify orm xml binding 2012-07-22 02:00:02 +08:00
Strong Liu
55ce8d7406 HHH-6409 : correct test to make it determinate 2012-07-21 11:42:18 +08:00
Gail Badner
05cd530044 HHH-6409 : correct test to make it determinate 2012-07-20 19:00:17 -07:00
Gail Badner
b8f8c90199 Bugfixes due to merge from master 2012-07-20 18:57:46 -07:00
Gail Badner
ba459aa00c HHH-6569 : Update persisters and tuplizers to use components 2012-07-19 23:29:04 -07: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
6f1423a8e3 update master build SNAPSHOT target to 4.2 2012-07-19 08:56:31 -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
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
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
Strong Liu
f0a49ada75 HHH-7452 mixin interface to simplify orm xml binding 2012-07-17 15:26:45 +08:00
Strong Liu
6ed7e9ee7f HHH-7452 mix SchemaAware interface into orm.xml binding 2012-07-17 13:35:45 +08:00
Strong Liu
3806705b82 HHH-7450 reformat hibernate mapping xsd 2012-07-17 13:35:30 +08:00
Strong Liu
95a06fc49f HHH-7450 simplify xsd 2012-07-16 21:30:30 +08:00
Strong Liu
d6ab4a203a HHH-7450 mapkey 2012-07-16 20:50:20 +08:00
Strong Liu
f100b3de03 HHH-7450 component 2012-07-16 20:38:03 +08:00
Strong Liu
347398aad5 HHH-7450 fix test failure 2012-07-16 19:16:21 +08:00
Strong Liu
f057bc8ac9 HHH-7450 meta-element 2012-07-16 18:55:46 +08:00