hi all.
in a transaction, makePersistentAll() throw a exception: "Illegal argument".
this is the code:
Transaction tx = pm.currentTransaction();
try{
tx.begin();
List<Employee> list = new List<Employee>();
for(int i = 0; i < 5; i++){
list.add(........);
}
pm.makePersistentAll(list); // when run to here, app threw a
exception: Illegal argument
tx.commit();
}catch(Exception ex){
..........
}finally{
.........
}
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.