From 0c35e363a14cad5bbe29dc6ca599476ad7e323a8 Mon Sep 17 00:00:00 2001 From: kmoore Date: Mon, 25 Jul 2011 11:59:37 +0000 Subject: updated eclipselink-orm schema for tenant-discriminator-column mistake - bug 352676 --- .../schemas/eclipselink_orm_2_3.xsd | 24 +++++++++------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'common') diff --git a/common/plugins/org.eclipse.jpt.common.eclipselink.core/schemas/eclipselink_orm_2_3.xsd b/common/plugins/org.eclipse.jpt.common.eclipselink.core/schemas/eclipselink_orm_2_3.xsd index 3fa1b482d6..ebbc74c604 100644 --- a/common/plugins/org.eclipse.jpt.common.eclipselink.core/schemas/eclipselink_orm_2_3.xsd +++ b/common/plugins/org.eclipse.jpt.common.eclipselink.core/schemas/eclipselink_orm_2_3.xsd @@ -652,7 +652,7 @@ minOccurs="0"/> - @@ -818,7 +818,7 @@ minOccurs="0"/> - @@ -2217,8 +2217,6 @@ - - @@ -3312,7 +3310,7 @@ - + @@ -5003,23 +5001,22 @@ - + - @Target({}) @Retention(RUNTIME) - public @interface TenantDiscriminator { + public @interface TenantDiscriminatorColumn { /** - * (Optional) The name of column to be used for the discriminator. + * (Optional) The name of column to be used for the tenant discriminator. */ - String name() default "eclipselink.tenant-id"; + String name() default "TENANT_ID"; /** * (Optional) The name of the context property to apply to the * tenant discriminator column. */ - String contextProperty() default "TENANT_ID"; + String contextProperty() default "eclipselink.tenant-id"; /** * (Optional) The type of object/column to use as a class discriminator. @@ -5053,15 +5050,14 @@ */ boolean primaryKey() default false; } - - + - + -- cgit v1.2.3