4391 Commits

Author SHA1 Message Date
Hardy Ferentschik
c4b0a58f55 HHH-7484 Introducing a MappedSuperclass (just used as a marker atm) and added special constructor for root entity.
Fixed handling of discriminator column. If there are no subclasses and the discriminator column is not forced no column should be generated
2012-08-01 13:51:42 +02:00
Hardy Ferentschik
d6bb126c04 HHH-7484 Formatting 2012-08-01 13:37:52 +02:00
Hardy Ferentschik
57be2cfff0 HHH-7484 Removing unnecessary ColumnSourceImpl#resolveColumnName 2012-08-01 13:37:52 +02:00
Hardy Ferentschik
d8c4c266df HHH-7484 Setting the default value for column definition to null instead of empty string 2012-08-01 13:37:52 +02:00
Hardy Ferentschik
8dfa264df1 HHH-7484 Import cleanup 2012-08-01 13:37:52 +02:00
Hardy Ferentschik
e2dfecc1b1 HHH-7484 Starting to add support for mapped superclasses 2012-08-01 13:37:52 +02:00
Hardy Ferentschik
a5f64e2d03 HHH-7484 typo 2012-08-01 13:37:51 +02:00
Hardy Ferentschik
672368931f HHH-7484 Removing obsolete //$Id$ and adding missing license headers (no functional changes) 2012-08-01 13:37:51 +02: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
9632e010e8 HHH-7492 - fixing test failures caused by some configuration is not applied to metamodel 2012-07-31 15:08:19 +08:00
Strong Liu
5562a981ac HHH-7492 - fixing test failures caused by some configuration is not applied to metamodel 2012-07-31 15:02:52 +08:00
Strong Liu
60aad81c23 HHH-7491 fix test failures caused by natural id cache access strategy is not exposed to the persister 2012-07-31 04:03:14 +08:00
Strong Liu
887c6539d2 HHH-7452 fixing xsd issue 2012-07-30 21:25:13 +08:00
Strong Liu
be2a4f44f6 HHH-7482 fix test failure 2012-07-30 20:20:43 +08:00
Strong Liu
b6f068a1f0 HHH-7485 Collection Caching region is bindded with wrong default region in annotation side 2012-07-30 20:09:39 +08:00
Strong Liu
127283374d HHH-7483 fix test failures caused by quoting table name 2012-07-30 12:58:15 +08:00
Strong Liu
e4bf3e4583 HHH-7482 auto import entities with annotation mapping 2012-07-30 11:50:58 +08:00
Steve Ebersole
b2ef3b67b2 HHH-7472 - Introduce a "schema management" service 2012-07-29 17:05:41 -05:00
Strong Liu
517a94fc41 HHH-7480 fix test failures caused by column name is null 2012-07-30 00:10:49 +08:00
Steve Ebersole
2d82a57632 HHH-7472 - Introduce a "schema management" service 2012-07-28 17:47:04 -05:00
Steve Ebersole
47f6360225 HHH-7472 - Introduce a "schema management" service 2012-07-28 00:04:20 -05:00
Steve Ebersole
f43c8bab1b HHH-7472 - Introduce a "schema management" service 2012-07-27 21:28:05 -05:00
Steve Ebersole
ce9fa10902 HHH-7472 - Introduce a "schema management" service 2012-07-27 21:01:39 -05:00
Gail Badner
d71a2bb6e2 HHH-7477 : Fix DiscriminatorTest.testDiscriminatorSubclass 2012-07-26 14:57:49 -07:00
John Verhaeg
d7c4128826 HHH-7474: Added @FailureExpectedWithNewMetamodel annotation to all remaining tests that fail with the new metamodel, but still a couple of strange failures happening with some Envers tests. 2012-07-26 15:32:19 -05:00
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