Author: kmalhi
Date: Fri Jul 16 11:40:39 2010
New Revision: 964775
URL: http://svn.apache.org/viewvc?rev=964775&view=rev
Log:
Commented out unused keys
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
Modified:
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
URL:
http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties?rev=964775&r1=964774&r2=964775&view=diff
==============================================================================
---
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
(original)
+++
openejb/trunk/openejb3/container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
Fri Jul 16 11:40:39 2010
@@ -425,21 +425,21 @@
2.persistenceContextRef.vagueMatches = @PersistenceContext unitName has
multiple matches: unitName "{1}" has {2} possible matches.
3.persistenceContextRef.vagueMatches = The reference
@PersistenceContext(name="{0}", unitName="{1}") cannot be resolved as there are
{2} units with the same name. Update your unitName to one of the following:\
{3}
-
+#TODO
# fail(componentName, "persistenceContextRef.noMatches", refShortName,
unitName, join(", ", availableUnits));
-1.persistenceContextRef.noMatches = Persistence unit not found
-2.persistenceContextRef.noMatches = Persistence unit not found for
@PersistenceContext(name="{0}", unitName="{1}"). Available units [{2}]
-3.persistenceContextRef.noMatches = The persistence unit "{1}" does not exist.
Update the "{0}" PersistenceContext ref to one of the available units [{2}] or
declare the unit in a persistence.xml like the following:\
- <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">\
- <persistence-unit name="{1}">\
- <jta-data-source>java:openejb/Resource/myDataSource</jta-data-source>\
-
<non-jta-data-source>java:openejb/Resource/myUnmanagedDataSource</non-jta-data-source>\
-\
- <properties>\
- <property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)"/>\
- </properties>\
- </persistence-unit>\
- </persistence>\
+#1.persistenceContextRef.noMatches = Persistence unit not found
+#2.persistenceContextRef.noMatches = Persistence unit not found for
@PersistenceContext(name="{0}", unitName="{1}"). Available units [{2}]
+#3.persistenceContextRef.noMatches = The persistence unit "{1}" does not
exist. Update the "{0}" PersistenceContext ref to one of the available units
[{2}] or declare the unit in a persistence.xml like the following:\
+# <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">\
+# <persistence-unit name="{1}">\
+# <jta-data-source>java:openejb/Resource/myDataSource</jta-data-source>\
+#
<non-jta-data-source>java:openejb/Resource/myUnmanagedDataSource</non-jta-data-source>\
+#\
+# <properties>\
+# <property name="openjpa.jdbc.SynchronizeMappings"
value="buildSchema(ForeignKeys=true)"/>\
+# </properties>\
+# </persistence-unit>\
+# </persistence>\
# fail(componentName, "persistenceUnitRef.noPersistenceUnits", refShortName,
unitName);
@@ -560,11 +560,11 @@ Which can then be implemented by the {0}
1.ann.invalidTransactionAttribute = Ignoring invalid @TransactionAttribute
annotations. Bean not using Container-Managed Transactions.
2.ann.invalidTransactionAttribute = Ignoring {0} invalid @TransactionAttribute
annotations. Bean not using Container-Managed Transactions.
3.ann.invalidTransactionAttribute = The @TransactionAttribute annotation
applies only to beans using Container-Managed Transactions. Beans marked as
@TransactionManagement(BEAN) are responsible for thier own transactions and may
not use the @TransactionAttribute annotation. There are {0} such invalid
annotations in the bean class that will be ignored and should be removed.
-
+#TODO
# warn(ejbName, "xml.invalidConcurrencyAttribute", count);
-1.xml.invalidConcurrencyAttribute = Ignoring invalid <container-concurrency>
declarations. Bean not using Container-Managed Concurrency.
-2.xml.invalidConcurrencyAttribute = Ignoring {0} invalid
<container-concurrency> declarations. Bean not using Container-Managed
Concurrency.
-3.xml.invalidConcurrencyAttribute = The <container-concurrency> element
applies only to beans using Container-Managed Concurrency. Beans marked as
<concurrency-type>Bean</concurrency-type> are responsible for thier own
concurrency and may not use the <container-concurrency> element. There are {0}
such invalid declarations in the deployment descriptor that will be ignored and
should be removed.
+#1.xml.invalidConcurrencyAttribute = Ignoring invalid <container-concurrency>
declarations. Bean not using Container-Managed Concurrency.
+#2.xml.invalidConcurrencyAttribute = Ignoring {0} invalid
<container-concurrency> declarations. Bean not using Container-Managed
Concurrency.
+#3.xml.invalidConcurrencyAttribute = The <container-concurrency> element
applies only to beans using Container-Managed Concurrency. Beans marked as
<concurrency-type>Bean</concurrency-type> are responsible for thier own
concurrency and may not use the <container-concurrency> element. There are {0}
such invalid declarations in the deployment descriptor that will be ignored and
should be removed.
# warn(ejbName, "ann.invalidConcurrencyAttribute", count);
1.ann.invalidConcurrencyAttribute = Ignoring invalid @Lock annotations. Bean
not using Container-Managed Concurrencys.