Re: [appengine-java] Batch load from DataStore?

2010-02-22 Thread Diego Osse Fernandes
Why you interate the results? 2010/2/21 Ftaylor finbarrtay...@googlemail.com Is this the fastest way to load all of the Elements of a given type from the DataStore? @SuppressWarnings(unchecked) public static final ListPage loadAllPagesFromDataStore() { ListPage

Re: [appengine-java] Re: Persistence with JPA + GAE

2010-02-10 Thread Diego Osse Fernandes
: javax.persistence.PersistenceException: Transaction is still active. You should always close your transactions correctly using commit() or rollback(). El 09/02/2010 01:06 p.m., Diego Osse Fernandes escribió: Hi Johan, you can use the Long as PK @Id @GeneratedValue(strategy

Re: [appengine-java] Re: Persistence with JPA + GAE

2010-02-09 Thread Diego Osse Fernandes
Hi Johan, you can use the Long as PK @Id @GeneratedValue(strategy = GenerationType.IDENTITY) Long id; []'s Diego 2010/2/9 Johan Vallejo jvall...@vnperu.com Hi Jake, Now i have this error Log : javax.persistence.PersistenceException: Transaction is still active. You