Hi,
I have succeed in getting the local_db.bin after I change my Student
class.
Initially my Student class is like this:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Student {
@PrimaryKey
@Persistent
private String googleAccount;
@Persistent
pri
try explicitly setting path to local db in your run configuration in
eclipse under Arguments tab / VM args:
-Ddatastore.backing_store=
This should create a new bin file if it does not exist.
Thanks,
G
On Jul 20, 5:54 am, Erencie wrote:
> Hi R,
>
> Yes I tried to save persistence objects using
Ok.
some issues.
1. Student the Class must be persistence with all the anotations that JDO
states.
2. Try to print in the console of your app the data, before printing it on a
Jsp o html.
3. when the message that says: "no local_db.bin exists" it also says
something like it'll be created right?.
4
Hi R,
Yes I tried to save persistence objects using sth like this in the
servlet:
Student newStudent = new Student(googleID, fullName,
matricNum, email, team);
PersistenceManager pm = PMF.get().getPersistenceManager();
try {
pm.ma