hi,
I am trying delete a detached instance resulting
Caused by: java.lang.IllegalArgumentException: Removing a detached
instance
I am making the object persistant by using the method
emailerScheduler= this.findById(emailScheduler.getId());
validating whether the object is persistant by using the following
method that returns true.
getJpaTemplate().contains(emailerScheduler);
and then removing the object
getJpaTemplate().remove(emailerScheduler);
this does not result any exception.But it does not result deletion of
the data from database.
any help will be appreciated.
Thanks
Balu
--
View this message in context:
http://n2.nabble.com/Deleting-a-persistant-object-not-resulting-exception-but-not-deleting-the-data-from-database-table-tp4023833p4023833.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.