Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0.B2, 4.1.M1
-
None
Description
If SQLExec query returns result set it fails as Cayenne tries to convert it into persistent objects, but there are no ClassDescriptor (even if there is this is not intended behavior).
One example of such query can be MySQL OPTIMIZE TABLE clause, that returns operation result.
But simple select can be used to test this:
QueryResult result = SQLExec.query("SELECT * FROM ARTIST").execute(context);