Closed GoogleCodeExporter closed 8 years ago
You mean you're using an old version of the plugin (use the latest, as always),
you don't define how the problem is reproduceable, and you don't show the
complete exception+stacktrace.
Original comment by googleco...@yahoo.co.uk
on 12 Jul 2012 at 10:56
should we upgrade to latest Java SDK 1.7?
Please check the attached doc..
And the code ..
transaction.begin();
user = pm.makePersistent(user);
transaction.commit();
MemcacheUtil.put(user.getKey(), user);
logger.log(Level.INFO, "Saved user - " + user);
}
catch (Exception err)
{
logger.log(
Level.SEVERE,
"Error occured while saving user .Reason : "
+ err.getMessage());
}
finally
{
if (transaction.isActive())
{
transaction.rollback();
pm.close();
String[] params =
{
"AppUser"
};
throw new CCException("ERR_ENTITY_SAVE_FAILED",
CCException.SEVER_ERROR, params);
}
pm.close();
}
Original comment by ashok....@gmail.com
on 12 Jul 2012 at 11:31
Original issue reported on code.google.com by
ashok....@gmail.com
on 12 Jul 2012 at 10:24