array(1) {
["pago"]=>
array(19) {
["codigoReserva"]=>
NULL
["empresa"]=>
string(2) "01"
["id"]=>
string(1) "2"
["autorizacion"]=>
string(3) "122"
["estado"]=>
string(2) "OK"
["fecha"]=>
string(10) "2021-01-16"
["hora"]=>
string(11) "UTC14:42:07"
["ice"]=>
int(0)
["idCliente"]=>
string(10) "0930841283"
["intereses"]=>
float(0)
["iva"]=>
float(0)
["meses"]=>
int(0)
["observacion"]=>
string(7) "ninguna"
["ruc"]=>
string(10) "0930841283"
["subtotal"]=>
int(0)
["tarjeta"]=>
string(7) "1444458"
["tipoCredito"]=>
string(6) "debito"
["total"]=>
int(0)
["verificado"]=>
string(2) "SI"
}
}
Su Pago se realizó correctamente
array(1) {
["return"]=>
string(655) "Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-01400: cannot insert NULL into ("WEB"."PAGOS"."CODIGO_RESERVA")
Error Code: 1400
Call: INSERT INTO PAGOS (CODIGO_RESERVA, ID, EMPRESA, AUTORIZACION, ESTADO, FECHA, HORA, ICE, ID_CLIENTE, INTERESES, IVA, MESES, OBSERVACION, RUC, SUBTOTAL, TARJETA, TIPO_CREDITO, TOTAL, VERIFICADO) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
bind => [19 parameters bound]
Query: InsertObjectQuery(mareauto.web.entidades.Pagos@72167961)"
}