4bites/Cinema — Issue #188: Persona fisica - Campo Nombre / Apellido 
Author: gvanesa
Created: 2011-11-27 21:13:30+00:00
State: open

Campo Nombre con 512 caracteres

Grails Runtime Exception
Error Details
Error 500: Executing action [save] of controller [cinema.PersonaFisicaController] caused exception: could not insert: [cinema.PersonaFisica]; SQL [insert into persona_fisica (version, apellido, codigo_postal, condicioniva, cuit, domicilio, email, localidad_id, nombre, numero_documento, provincia_id, sexo, telefono, tipo_documento) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; nested exception is org.hibernate.exception.DataException: could not insert: [cinema.PersonaFisica]
Servlet: grails
URI: /grails/personaFisica/save.dispatch
Exception Message: Data truncation: Data too long for column 'nombre' at row 1
Caused by: Data truncation: Data too long for column 'nombre' at row 1
Class: PersonaFisicaController
At Line: [58]
Code Snippet:
Stack Trace

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'nombre' at row 1

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3595)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3529)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1990)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2151)

at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2625)

at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2119)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2415)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2333)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2318)

at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement