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) "2017-09-20" ["hora"]=> string(11) "UTC05:28:31" ["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(651) "Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.4.v20160829-44060b6): 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(avis.web.entidades.Pagos@5fa92b95)" }