You should use validation to prevent long values - or change the
length of your database columns.

Matt


On 7/15/07, Msarda <[EMAIL PROTECTED]> wrote:

Hi all,

I have a jsp taking values from user.
When ever i enter a verylong value in any textbox/textarea field,while
saving thar value it saves this properly.
But when i execute command jetty:run-war for next time on that
application,it gives error as value to long.


[ERROR] SchemaExport - schema export unsuccessful <java.sql.SQLException:
error in script file line: 30 java.io.IOException: org.h
sqldb.HsqlException: Value too long>java.sql.SQLException: error in script
file line: 30 java.io.IOException: org.hsqldb.HsqlExcep
tion: Value too long
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
        at org.hsqldb.jdbcDriver.connect(Unknown Source)
        at java.sql.DriverManager.getConnection(DriverManager.java:525)
        at java.sql.DriverManager.getConnection(DriverManager.java:140)
---
----
[WARNING] 1 errors occurred while performing <hbm2ddl>.
[ERROR] Error #1: java.sql.SQLException: error in script file line: 30
java.io.IOException: org.hsqldb.HsqlException: Value too lo
ng
[INFO] [compiler:testCompile]
[INFO] Compiling 7 source files to
C:\work\NewEclipseWorkspace\LatestEFRApplication\EngagementFormreq8\target\test-classes
[INFO] [dbunit:operation {execution: test-compile}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing database operation: CLEAN_INSERT

Embedded error: error in script file line: 30 java.io.IOException:
org.hsqldb.HsqlException: Value too long
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch


I am not getting which file in that and how to resolve this error.
Ii have not specified lenght for fields anywhere.
--
View this message in context:
http://www.nabble.com/value-to-long-error-tf4084089s2369.html#a11608049
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to