We are using the JPA (hibernate) and Postgres,
One of the delete operation is throwing the error 'ERROR: number of columns (1703) exceeds limit (1664)'
The delete method is as shown below and we pass clazz object as parent of all the entities.
protected <E extends T> E delete(UUID id, Class<E> clazz) {
log.debug("deleting entity {}", id);
E object = getEntityManager().find(clazz, id); //clazz is parent of all the entities
if (object != null){
getEntityManager().remove(object);
}
return object;
}
Please advice
there is question here similar to this, but has no specific answer ?
Thanks
Aucun commentaire:
Enregistrer un commentaire