[hibernate-commits] Hibernate SVN: r10525 - in trunk/HibernateExt/ejb-api/src/javax/persistence: . spi

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Sep 22 15:14:48 EDT 2006


Author: epbernard
Date: 2006-09-22 15:14:47 -0400 (Fri, 22 Sep 2006)
New Revision: 10525

Added:
   trunk/HibernateExt/ejb-api/src/javax/persistence/package-info.java
   trunk/HibernateExt/ejb-api/src/javax/persistence/spi/package-info.java
Modified:
   trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumn.java
   trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumns.java
   trunk/HibernateExt/ejb-api/src/javax/persistence/UniqueConstraint.java
Log:
TYPE target removed in SigTest

Modified: trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumn.java
===================================================================
--- trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumn.java	2006-09-22 16:29:49 UTC (rev 10524)
+++ trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumn.java	2006-09-22 19:14:47 UTC (rev 10525)
@@ -13,7 +13,7 @@
  *
  * @author Emmanuel Bernard
  */
- at Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
+ at Target({METHOD, FIELD}) @Retention(RUNTIME)
 public @interface JoinColumn {
 	/**
 	 * The name of the foreign key column.

Modified: trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumns.java
===================================================================
--- trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumns.java	2006-09-22 16:29:49 UTC (rev 10524)
+++ trunk/HibernateExt/ejb-api/src/javax/persistence/JoinColumns.java	2006-09-22 19:14:47 UTC (rev 10525)
@@ -17,7 +17,7 @@
 
  * @author Emmanuel Bernard
  */
- at Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME)
+ at Target({METHOD, FIELD}) @Retention(RUNTIME)
 public @interface JoinColumns {
     JoinColumn[] value();
 }

Modified: trunk/HibernateExt/ejb-api/src/javax/persistence/UniqueConstraint.java
===================================================================
--- trunk/HibernateExt/ejb-api/src/javax/persistence/UniqueConstraint.java	2006-09-22 16:29:49 UTC (rev 10524)
+++ trunk/HibernateExt/ejb-api/src/javax/persistence/UniqueConstraint.java	2006-09-22 19:14:47 UTC (rev 10525)
@@ -2,7 +2,6 @@
 //EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
 package javax.persistence;
 
-import static java.lang.annotation.ElementType.TYPE;
 import java.lang.annotation.Retention;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
 import java.lang.annotation.Target;
@@ -13,7 +12,7 @@
  *
  * @author Emmanuel Bernard
  */
- at Target({TYPE}) @Retention(RUNTIME)
+ at Target({}) @Retention(RUNTIME)
 public @interface UniqueConstraint {
 	/**
 	 * An array of the column names that make up the constraint

Added: trunk/HibernateExt/ejb-api/src/javax/persistence/package-info.java
===================================================================
--- trunk/HibernateExt/ejb-api/src/javax/persistence/package-info.java	2006-09-22 16:29:49 UTC (rev 10524)
+++ trunk/HibernateExt/ejb-api/src/javax/persistence/package-info.java	2006-09-22 19:14:47 UTC (rev 10525)
@@ -0,0 +1,9 @@
+//$Id:$
+//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
+
+/**
+ * The javax.persistence package contains the classes and interfaces that define the contracts
+ * between a persistence provider and the managed classes and the clients of the Java Persistence API.
+ */
+package javax.persistence;
+

Added: trunk/HibernateExt/ejb-api/src/javax/persistence/spi/package-info.java
===================================================================
--- trunk/HibernateExt/ejb-api/src/javax/persistence/spi/package-info.java	2006-09-22 16:29:49 UTC (rev 10524)
+++ trunk/HibernateExt/ejb-api/src/javax/persistence/spi/package-info.java	2006-09-22 19:14:47 UTC (rev 10525)
@@ -0,0 +1,10 @@
+//$Id:$
+//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
+
+/**
+ * The javax.persistence.spi package defines the classes and interfaces that are implemented by the
+ * persistence provider and the Java EE container for use by the container, provider, and/or Persistence
+ * bootstrap class in deployment and bootstrapping.
+ */
+package javax.persistence.spi;
+




More information about the hibernate-commits mailing list