4bites/Cinema — Issue #187: persona fisica - Domicilio
Author: gvanesa
Created: 2011-11-27 21:11:25+00:00
State: open

Campo Domicilio 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 'domicilio' at row 1
Caused by: Data truncation: Data too long for column 'domicilio' at row 1
Class: PersonaFisicaController
At Line: [58]
Code Snippet:
Stack Trace

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'domicilio' 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)