[appengine-java] Re: OneToOne bidirectional relation JPA: When retreiving a child object, a parent attribute is being retrieved with its attributes in null.

2011-10-18 Thread kidowell
Hey Jean. I did what you said, with no success. But I saw that en employee attribute retrieved by contactInfo has all its element in null but its Id. Any clue why GAE does this. Why when fetching a child object, I can retreive its parent's Id only and not the rest of its attributes. Regards.

[appengine-java] OneToOne bidirectional relation JPA: When retreiving a child object, a parent attribute is being retrieved with its attributes in null.

2011-10-17 Thread kidowell
Dear All. I need a help here. I may be misunderstanding something. I have 2 classes Employee and ContactInfo. in a bidirectional OneToOne relation. Being Employee the owner side. When retrieving an employee the attribute contactInfo is okay, but when I retreive a particular contactInfo. The

[appengine-java] Re: Erro em Arquivo JSP

2011-10-17 Thread kidowell
Are you using Eclipse?. If thats the case, go to Window---Preference---Java--- Installed JREs and point to your JKD_HOME rather than the jre. Hope this helps. -- Kido. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To view this

[appengine-java] User Managment System

2011-06-13 Thread kidowell
Hello. I am currently developing a program for my university, it is almost finished (the first part), and I am dealing with User administration and so. I haven't ever developed a user administration, so I am a bit scared. I 've research and it's all about permissions and roles and group of

[appengine-java] Persisting an Object that has a List of anotherObject JPA (it's been 5 days now ).

2011-05-24 Thread kidowell
Hello. Here's the problem. An 'Annotation' has a list of 'Tag'. What I want to do is when persisting an annotation (with its list of Tag) I dont want to persist the Tags of the annotations. For example, lets say I previously persisted 3 tags: Tag1 Tag2 Tag3. And now I persist an

[appengine-java] Can only reference properties of a sub-object if the sub-object is embedded

2011-05-08 Thread kidowell
Hello. I am facing a huge problem now. I want to SELECT a FROM AClass a WHERE a.object.attribute. I am always catching this exception: Can only reference properties of a sub-object if the sub-object is embedded. I do not know what to do. Here are my classes: @Entity @Table(name = annotation)

[appengine-java] JPA fetching class.anotherClass.attribute

2011-05-06 Thread kidowell
Hello, I am currently working for a university project about digital humanities, basically its an app where you can read books and make and share annotations to it. Im facing a problem that got me stuck for 4 days long now, and I do not know what to do. Here is the tech spec: Annotatio: has

[appengine-java] can't retreive one-to-may objetcs, JPA

2011-01-17 Thread kidowell
I cannot retreive the Listsubjects from book. The save and update of a book when a subject changes its fine, the problem is when retreiving books, It doeesnt retreive their subjects. I need help. Here;s the code. @Entity @Table(name = book) public class Book implements Serializable,

[appengine-java] How to store appengine.api.datastore.Text using GWT (RCP)

2011-01-07 Thread kidowell
Hi, Im trying to store a pojo Book that has a com.google.appengine.api.datastore.Text attribute, wich GWT cannot compile. Ho can I store that pojo to the datastore then?. I wish that class was in the server side, but if I do that then I cannot imported from the client side. I'm quiet stuck.

[appengine-java] The import com.google.appengine cannot be resolved

2011-01-06 Thread kidowell
Hey I'm stuck at something, I just wanted to use the com.google.appengine.Text, so I can store an any sized String into the Datastore. But when compiling I receive this error: The import com.google.appengine cannot be resolved. I read in another forum a workaround when using

[appengine-java] RCP methods behaves weirdly.

2011-01-03 Thread kidowell
Hello, I'm doing a project where in the interface shows a listBox that includes the names of some books, the thing is that you must choose one and you will look wether in pdf or txt. My problem is that when changing the listbox, itll show the just last book you chose, rather the current one.

[appengine-java] Cant retrieve a list of objects when using GAE and JPA.

2010-12-21 Thread kidowell
Hey I just want to retrieve a list of subjects, and I receive this exception: GRAVE: javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'org.datanucleus.store.appengine.query.StreamingQueryResult' was not

[appengine-java] GWT and GAE debugging problem

2010-12-15 Thread kidowell
Hey. Im starting with GAE, and im making an RCP program (a book address), on the server side I've got all the methods for manipulating the datastore (I'm using JPA), and on the client side I'm using GWT as a framework. When debugging it turns out, that I can only see the server side, and

[appengine-java] GWT Designer for NetBeans

2010-12-15 Thread kidowell
Hey, is there any gwt designer for NetBeans out there?. It would be nice to place all the design and receive automatically the code for it. I have read theres a plugin for Eclipse but I can't find anything for NetBeans. Any sugestion?. Cheers. Kido. -- You received this message because

[appengine-java] Can't save an object into the Datasore (JPA)

2010-12-13 Thread kidowell
Hey I'm new at this, I just want to use the Google datastore, I made a persistence object but when it comes to save it to the datastore an exception is caught saying No environment variable is registered for this thread. When debugging the exception is thrown on the line the