4bites/Cinema — Issue #201: Crear Productor (y otras empresas) codigo
Author: gvanesa
Created: 2011-12-06 20:06:24+00:00
State: open

Con campo codigo = 10003634444
el resto de los campos solo complete las fechas obligatorias

Grails Runtime Exception
Error Details
Error 500: Executing action [save] of controller [cinema.EmpresaController] caused exception: could not insert: [cinema.Productor]; SQL [insert into empresa (version, codigo, fecha_fin_actividad, fecha_inicio_actividad, fecha_ultima_revalida, persona_fisica_id, persona_juridica_id, class) values (?, ?, ?, ?, ?, ?, ?, 'cinema.Productor')]; nested exception is org.hibernate.exception.DataException: could not insert: [cinema.Productor]
Servlet: grails
URI: /grails/empresa/save.dispatch
Exception Message: Data truncation: Out of range value for column 'codigo' at row 1
Caused by: Data truncation: Out of range value for column 'codigo' at row 1
Class: EmpresaController
At Line: [47]
Code Snippet:
Stack Trace

com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'codigo' 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)