How to initialize entity manager here
Iam not able to intialize this.
Could you please help me on this?
On Monday, 23 April 2012 17:21:48 UTC+5:30, Ashu wrote:
Hi,
I am getting the above exception while running the GWT application.
I am using Entity and EntityProxies.
Below is the
You do have to read the doc carefully indeed. I got stuck for a little
while, I thought I could get away by simply using find but no you need to
use findEntity, ie replace Entity by your entity name. This got me,
because at first it worked with a single entity, but when I had two
entities with
could you please provide me the sample findby() method for reference?
On Monday, 23 April 2012 19:39:19 UTC+5:30, Thomas Broyer wrote:
On Monday, April 23, 2012 2:14:38 PM UTC+2, Ashu wrote:
Thanks for the quick reply!!
what is the use of this method and this class return type is my
On Wednesday, April 25, 2012 11:34:56 AM UTC+2, Ashu wrote:
could you please provide me the sample findby() method for reference?
See
now i am getting the runtime exception for EMF class
Server Error: Could not initialize class com.shared.EMF
On Monday, 23 April 2012 17:21:48 UTC+5:30, Ashu wrote:
Hi,
I am getting the above exception while running the GWT application.
I am using Entity and
Hi,
I am getting the above exception while running the GWT application.
I am using Entity and EntityProxies.
Below is the code:
@Entity
@Table(name = tlkpState)
public class State{
.
}
@ProxyFor(value = State.class)
public interface StateProxy extends EntityProxy {
Your State class probably do not have a public static state findState(X
id) method (where X is the return type of the getId instance method).
See
https://developers.google.com/web-toolkit/doc/latest/DevGuideRequestFactory#impl
The alternative to the static method is to use a Locator.
On Monday,
Thanks for the quick reply!!
what is the use of this method and this class return type is my State
class. how can i write that?
could you please give me more information about this?
On Monday, 23 April 2012 17:21:48 UTC+5:30, Ashu wrote:
Hi,
I am getting the above exception while
On Monday, April 23, 2012 2:14:38 PM UTC+2, Ashu wrote:
Thanks for the quick reply!!
what is the use of this method and this class return type is my State
class. how can i write that?
could you please give me more information about this?
The find method should load your entity from your