You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 2.0.1.2
InvoicePdf currentInvoicePdf
Query query = getEm().createQuery("delete from " + entityClass.getName() + " entity where entity.invoicePdf=?1");
query.setParameter(1, currentInvoicePdf);
query.executeUpdate();
java.sql.SQLException: Column "E0_P.INVOICEPDF_ID" not found; SQL statement:
DELETE FROM InvoiceItem
WHERE (((E0_P.invoicePdf_id = ?))) [42122-174] Query: DELETE FROM InvoiceItem
WHERE (((E0_P.invoicePdf_id = ?))) Parameters: [34]
at org.batoo.jpa.jdbc.dbutils.QueryRunner.convertSqlException(QueryRunner.java:163)
at org.batoo.jpa.jdbc.dbutils.QueryRunner.update(QueryRunner.java:408)
at org.batoo.jpa.jdbc.dbutils.QueryRunner.update(QueryRunner.java:448)
at org.batoo.jpa.core.impl.criteria.QueryImpl.executeUpdate(QueryImpl.java:420)
The text was updated successfully, but these errors were encountered:
Version 2.0.1.2
InvoicePdf currentInvoicePdf
Query query = getEm().createQuery("delete from " + entityClass.getName() + " entity where entity.invoicePdf=?1");
query.setParameter(1, currentInvoicePdf);
query.executeUpdate();
java.sql.SQLException: Column "E0_P.INVOICEPDF_ID" not found; SQL statement:
DELETE FROM InvoiceItem
WHERE (((E0_P.invoicePdf_id = ?))) [42122-174] Query: DELETE FROM InvoiceItem
WHERE (((E0_P.invoicePdf_id = ?))) Parameters: [34]
at org.batoo.jpa.jdbc.dbutils.QueryRunner.convertSqlException(QueryRunner.java:163)
at org.batoo.jpa.jdbc.dbutils.QueryRunner.update(QueryRunner.java:408)
at org.batoo.jpa.jdbc.dbutils.QueryRunner.update(QueryRunner.java:448)
at org.batoo.jpa.core.impl.criteria.QueryImpl.executeUpdate(QueryImpl.java:420)
The text was updated successfully, but these errors were encountered: