Hi All,

I am trying to upload a  document, whose title seems very long. It gives the 
following error while importing:

org.postgresql.util.PSQLException: ERROR: value too long for type character 
varying(200)
        at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512)
        at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297)
        at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:346)
        at 
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:300)
        at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
        at 
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
        at 
org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:1301)
        at 
org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:612)
        at org.dspace.content.MetadataValue.create(MetadataValue.java:253)
        at org.dspace.content.Item.update(Item.java:1610)
        at org.dspace.content.InstallItem.installItem(InstallItem.java:145)
        at org.dspace.app.itemimport.ItemImport.addItem(ItemImport.java:672)
        at 
org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:514)
        at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:421)
org.postgresql.util.PSQLException: ERROR: value too long for type character 
varying(200)


What could be the solution to this problem.
Thanks in advance,

--
Filbert Minj 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to