When I add an object in my ForeignCollection
, the object is persisted into database.
Which is normal according to the add(...)
method javadocs.
Is there a way to add it locally and not to the DAO? When I call foreigncollection.add(), I don't want the create() call