[jboss-jira] [JBoss JIRA] Commented: (JBAS-7401) org.jboss.metadata.jpa.spec.PersistenceUnitMetaData

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Fri Oct 23 05:35:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAS-7401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12491132#action_12491132 ] 

Alexey Loubyansky commented on JBAS-7401:
-----------------------------------------

It has to be excluded. The change in the serialVersionUID is the result of JBMETA-223.

Index: PersistenceUnitMetaData.java
===================================================================
--- PersistenceUnitMetaData.java        (revision 75470)
+++ PersistenceUnitMetaData.java        (revision 95190)
@@ -43,7 +43,8 @@
  *
  * @author <a href="mailto:ales.justin at jboss.com">Ales Justin</a>
  */
- at XmlType(propOrder={"description", "provider", "jtaDataSource", "nonJtaDataSource", "mappingFiles", "jarFiles", "classes", "excludeUnlistedClasses",
"properties"})
+ at XmlType(propOrder={"description", "provider", "jtaDataSource", "nonJtaDataSource", "mappingFiles",
+      "jarFiles", "classes", "excludeUnlistedClasses", "sharedCacheMode", "validationMode", "properties"})
 public class PersistenceUnitMetaData extends JBossObject implements Serializable
 {
    private String description;
@@ -57,7 +58,31 @@
    private Map<String, String> properties;
    private String name;
    private TransactionType transactionType;
+   private SharedCacheMode sharedCacheMode;
+   private ValidationMode validationMode;

+   @XmlElement
+   public SharedCacheMode getSharedCacheMode()
+   {
+      return sharedCacheMode;
+   }
+
+   public void setSharedCacheMode(SharedCacheMode sharedCacheMode)
+   {
+      this.sharedCacheMode = sharedCacheMode;
+   }
+
+   @XmlElement
+   public ValidationMode getValidationMode()
+   {
+      return validationMode;
+   }
+
+   public void setValidationMode(ValidationMode validationMode)
+   {
+      this.validationMode = validationMode;
+   }
+
    public String getDescription()
    {
       return description;

> org.jboss.metadata.jpa.spec.PersistenceUnitMetaData
> ---------------------------------------------------
>
>                 Key: JBAS-7401
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7401
>             Project: JBoss Application Server
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Shelly McGowan
>            Assignee: Scott Marlow
>
> FAIL 500, 501, 510: serialVersionUID error for org.jboss.metadata.jpa.spec.PersistenceUnitMetaData, 510 6250417534227973775, current: 6120705577956339252

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list