// Example (not real code):
.....
public MyCayenneDataClass myCayenneDataObject;
.....
MyCayenneDataClass myCayenneDataObject2= ( MyCayenneDataClass ) dataContext.createAndRegisterNewObject( MyCayenneDataClass.class );
.....
datacontext.commitChanges();
// Question is:
/*
Why the Cayenne try to insert to records in the DB. I don't want to insert myCayenneDataObject but only myCayenneDataObject2. I'd like to use the first object only for temporary data.
So what's the difference between the two object decalrations ?
Thank you all for any help
Andrea.
*/