I just got the 1.4.2-SNAPSHOT from the http://repository.apache.org/snapshots
repository, but it still behavahes the same way.
I do not see any change in the isNew method code.
public boolean isNew(Object entity)
{
try
{
return
entityManager.getEntityManagerFactory().getPersistenceUnitUtil().getIdentifier(entity)
== null;
}
catch (IllegalArgumentException e)
{
// Not an entity
return false;
}
}
Should I be getting the sanpshot from some another repo?
--
View this message in context:
http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/Cascade-persist-and-merge-with-Repository-tp4661002p4661020.html
Sent from the Apache DeltaSpike Incubator Discussions mailing list archive at
Nabble.com.