I have some code like this :
PersistenceManager pm=PMF.get().getPersistenceManager();
String query="select from "+PayPal_Message.class.getName()+" where processed == false order by time desc";
List<PayPal_Message> messages=(List<PayPal_Message>)pm.newQuery(query).execute();
if (messages.isEmpty())
...
Hi,
I am getting this error while trying to save something to Datastore.
I have tried to search but not getting anything.
This is the code where i am saving to datastore :
Student temp = null;
PersistenceManager pm = PMF.get().getPersistenceManager();
try {
Student stu = new Student(name);
temp = pm.makePers...
Hi,
my java skills are a bit rusty and I'm wondering how I can implement Open Session In View pattern for the PersistenceManager called from a servlet in a google app engine environment.
I have some singleton which handles the PersistenceManagerFactory, but how can I get a "new" PersistenceManager at each servlet call ?
I want my bus...