Author: remm
Date: Mon Jun 18 08:54:54 2007
New Revision: 548385
URL: http://svn.apache.org/viewvc?view=rev&rev=548385
Log:
- Fix API. Submitted by Bill Burke.
Added:
tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContextType.java
(with props)
Modified:
tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java
Modified: tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java?view=diff&rev=548385&r1=548384&r2=548385
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java
(original)
+++ tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContext.java Mon Jun
18 08:54:54 2007
@@ -27,10 +27,6 @@
@Retention(RetentionPolicy.RUNTIME)
public @interface PersistenceContext {
- public enum PersistenceContextType {
- TRANSACTION,
- EXTENDED
- }
String name() default "";
String unitName() default "";
PersistenceContextType type() default PersistenceContextType.TRANSACTION;
Added: tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContextType.java
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContextType.java?view=auto&rev=548385
==============================================================================
--- tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContextType.java
(added)
+++ tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContextType.java Mon
Jun 18 08:54:54 2007
@@ -0,0 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+package javax.persistence;
+
+public enum PersistenceContextType {
+ TRANSACTION,
+ EXTENDED
+}
\ No newline at end of file
Propchange:
tomcat/tc6.0.x/trunk/java/javax/persistence/PersistenceContextType.java
------------------------------------------------------------------------------
svn:eol-style = native
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]