openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabio Martelli <fabio.marte...@gmail.com>
Subject working with slices
Date Sat, 10 Nov 2012 16:11:17 GMT
Hi All,
I'm working on some extensions around openjpa-slice but I have some difficulties to understand/configure
slice about delete operations.

I ask for the following operation
	entityManager.createQuery("DELETE FROM MPObject p").executeUpdate();

Since my MPObject exists on one and only one slice I obtain the following error message
	Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: Invalid object name 'MPObject'.
{prepstmnt 175442873 DELETE FROM MPObject} [code=208, state=S0002]

Have I missed something? Please, let me know how can I solve my problem.

Thank you in advance.
Best regards,

F.



Mime
View raw message