javax.jdo.JDOUserException: The persistence capable object "Hephalant: name [Joyce] color [yellow] snozzle length [4]" given as a parameter to the query is not yet persistent and therefore cannot be used.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
The persistence capable object "Hephalant: name [Joyce] color [yellow] snozzle length [4]" given as a parameter to the query is not yet persistent and therefore cannot be used.
javax.jdo.JDOUserException: The persistence capable object "Hephalant: name [Joyce] color [yellow] snozzle length [4]" given as a parameter to the query is not yet persistent and therefore cannot be used.
at com.solarmetric.kodo.impl.jdbc.runtime.JDBCExpressionFactory$Constant.(JDBCExpressionFactory.java:402)
at com.solarmetric.kodo.impl.jdbc.runtime.JDBCExpressionFactory.getConstant(JDBCExpressionFactory.java:213)
at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:562)
at com.solarmetric.kodo.query.FilterParser.getValue(FilterParser.java:668)
at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:568)
at com.solarmetric.kodo.query.FilterParser.getValue(FilterParser.java:668)
at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:581)
at com.solarmetric.kodo.query.FilterParser.getExpression(FilterParser.java:677)
at com.solarmetric.kodo.query.FilterParser.evaluate(FilterParser.java:527)
at com.solarmetric.kodo.query.QueryImpl.getExpression(QueryImpl.java:371)
at com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.getExpression(JDBCQuery.java:49)
at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:312)
at com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:393)
at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:285)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.