Uploaded image for project: 'Airavata'
  1. Airavata
  2. AIRAVATA-3408

increase user_friendly_description length

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Application Catalog
    • None

    Description

      Getting this error with long descriptions:

      Caused by: org.apache.openjpa.persistence.PersistenceException: (conn:10655875) Data too long for column 'USER_FRIENDLY_DESC' at row 1 {prepstmnt 1342301087 
      UPDATE APPLICATION_INPUT 
          SET USER_FRIENDLY_DESC = ? 
          WHERE INTERFACE_ID = ? AND INPUT_KEY = ? 
      [params=(String) Select the type of collection: If all the genomes in your collection..., (String) Database-Indexing_77cf2460-ba00-4eed-96ca-c62b1e1243c5, (String) Project Type]} [code=1406, state=22001]
              at org.apache.openjpa.jdbc.sql.DBDictionary.narrow(DBDictionary.java:5250)
              at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:5210)
              at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:134)
              at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:75)
              at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatementManagerImpl.java:146)
              at org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(BatchingPreparedStatementManagerImpl.java:80)
              at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStatementManagerImpl.java:102)
              at org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManagerImpl.java:90)
              at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:554)
              at org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java:111)
              at org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUpdateManager.java:61)
              at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:108)
              at org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:81)
              at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:757)
              at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:146)
              ... 20 common frames omitted
      
      

      Maybe should just turn this into a CLOB

      Attachments

        Issue Links

          Activity

            People

              marcuschristie Marcus Christie
              marcuschristie Marcus Christie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: