[appengine-java] Re: Saving a GregorianCalendar object causes a java.lang.UnsupportedOperationException

2009-09-24 Thread antichrist
I have same problem and I'm already using java.util.date. but in eclipse, debug as web application works, but run as web application makes same problem. my object looks like this @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Bidder { @PrimaryKey @Per

[appengine-java] Re: Datastore index deletion

2009-09-24 Thread klong86
The vacuum action is only available on the Python version. You have to download the Python SDK to delete the indexes. The instructions in the post below worked for me. http://groups.google.com/group/google-appengine-java/browse_thread/thread/c8a7888438efeb9/cdbaeb27befcfd75 Kevin On Sep 24,

[appengine-java] transaction and number of writes per second

2009-09-24 Thread littleball
>From docs (http://code.google.com/appengine/docs/java/datastore/ relationships.html) "Tip: In some cases you may find it necessary to model an owned relationship as if it is unowned.

[appengine-java] ancestor query does not work on development server

2009-09-24 Thread Yasuo Higa
Hi all, I am trying the following ancestor query: DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); Key parentKey = ds.put(new Entity("parent")); Entity child1 = new Entity("child", parentKey); child1.setProperty("name", "child1"); Key child1Key = ds.put(child1); Entity child2

[appengine-java] Will it works ? GWT GData API (on client) and Java GData API on GAE(on server)

2009-09-24 Thread ziyu_huang
Hi All, I plan to do some experiments on GData API application. And I found the JS library of GData API has much limitation and less/ slow support compare to Java client library. But, yet it is still worth to try to minimize server load, so I decide to part function implement on client side via

[appengine-java] Re: Storing JDO extent in session - not serializable

2009-09-24 Thread niraj
If I cannot store JDO Extent in the HTTPSession , how do I implement paging behavior. Is there a token somewhere I can refer to Please advice On Sep 7, 12:55 am, datanucleus wrote: > Why should a javax.jdo.Extent be Serializable ? JDO doesn't define it > to be so. Shouldn't be hard to put the o

[appengine-java] Re: Page taking too long to process. Need advice.

2009-09-24 Thread Max Ross
I've tried running your code using sdk 1.2.5 and verified that the child objects are not retrieved if the only person field you access is person.getFullName(). Have you tried turning the logging volume all the way up on these requests? The logger names you want are DataNucleus.Query DataNucleus.D

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread objectuser
You rock. I'll give it a try. Thanks! On Sep 24, 3:25 pm, "Alejandro D. Garin" wrote: > Hi objectuser, > > yes, currently I have a project to share this kind of code and an online > demo with source code. > > Advice class (RetryAdvice.java):  (I have an advice for cache too - see > CacheAdvice

[appengine-java] Re: JDO bug - won't persist parent class attributes - has it been fixed?

2009-09-24 Thread Max Ross
Not fixed yet: http://code.google.com/p/datanucleus-appengine/issues/detail?id=25 Star the issue if you'd like to follow along. Max On Thu, Sep 24, 2009 at 6:44 AM, ylmz wrote: > > I do not now if it is fixed or not. But I had the same problem. So I > checked the code and I found out that you

[appengine-java] Child key is always null

2009-09-24 Thread Ravi Sharma
Hi, I have following classes. I am creating a country object first and it get persisted, then i read its key field and i get some value. Basically i start a transaction and persist it close/commit the transaction. then i create a State and set Country for state object as the country(reload the cou

[appengine-java] Re: type safe keys?

2009-09-24 Thread brendan
You could star issue 1767, and if enough people do, google might come up with a solution. http://code.google.com/p/googleappengine/issues/detail?id=1767 On Sep 25, 6:12 am, bryce cottam wrote: > In my app (as in many apps I imagine) there are relationships that I > end up managing in the code.

[appengine-java] Re: Writing to a local file system using gaevfs

2009-09-24 Thread Vince Bonfanti
Yes, GaeVFS (http://code.google.com/p/gaevfs/) provides access to the local file system so that you can use a single API for accessing both local and "virtual" files. However, local files are read-only; and, you cannot create a virtual file with the same path and name as a local file. Vince On T

[appengine-java] Re: Writing to a local file system using gaevfs

2009-09-24 Thread Sam Sach
Never mind. I think I answered my own question. --Sam On Sep 24, 4:20 pm, Sam Sach wrote: > Sorry, I meant to write: "if gaevfs is READ only to local file > systems". > > --Sam > > On Sep 24, 4:15 pm, Sam Sach wrote: > > > I'd just like to know if this is possible -- or if GAE is write only >

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread Philippe Marschall
On Sep 23, 11:40 am, dflorey wrote: > I've just refactored my app to use Low-Level API instead of JDO and > it's much cleaner, works more reliable etc. > If you are not really forced to use JDO/JPA I'd strongly recommend to > use the very simple, elegant and clean Low-Level API. > BigTable simp

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread Alejandro D. Garin
Hi objectuser, yes, currently I have a project to share this kind of code and an online demo with source code. Advice class (RetryAdvice.java): (I have an advice for cache too - see CacheAdvice.java) http://code.google.com/p/puntosoft/source/browse/trunk/#trunk/src/ar/com/puntosoft/shared/server

[appengine-java] Re: Writing to a local file system using gaevfs

2009-09-24 Thread Sam Sach
Sorry, I meant to write: "if gaevfs is READ only to local file systems". --Sam On Sep 24, 4:15 pm, Sam Sach wrote: > I'd just like to know if this is possible -- or if GAE is write only > (to local file systems)? > > --Sam --~--~-~--~~~---~--~~ You received this

[appengine-java] Writing to a local file system using gaevfs

2009-09-24 Thread Sam Sach
I'd just like to know if this is possible -- or if GAE is write only (to local file systems)? --Sam --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send emai

[appengine-java] Re: deployment jar issues - do I have to upload jars that seems default in system?

2009-09-24 Thread Don Schwarz
Yes, if you are using JDO/JPA, these files need to be present in your WEB-INF/lib directory. However, the Eclipse plugin is smart enough to only send files that have changed with each deployment, so you there is no real cost to you. If you deploy the same application twice in a row you should see

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Jay Damon
Toby, Thanks for clarifying the problem. the way my application is written, that scenario would never occur. On Sep 24, 1:40 pm, Toby Reyelts wrote: > On Thu, Sep 24, 2009 at 12:48 PM, Jay Damon wrote: > > > Toby, > > > Thanks for your response. > > > 1) I had enabled sessions for my project,

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread objectuser
Alejandro, is this code you can share? I'd much appreciate it if so! On Sep 24, 12:08 pm, "Alejandro D. Garin" wrote: > I'm using Spring with AOP, I have created an AOP advice to retry some > datastore operations. With this approach I don't have any retry related code > in my DAO or Service. --

[appengine-java] Opening/closing projects in Eclipse

2009-09-24 Thread Jay Damon
I seems I may have found a bug with the GAE eclipse plugin. When I select Open Project on a GAE project that was previously closed, e.g. My First Web Application, it opens and may be run successfully. However, it appears that if I shut down eclipse and restart it, the data nucleus enhancer fails:

[appengine-java] Re: Multimap in JDO

2009-09-24 Thread mcrady
I don't see serializable as an option: http://db.apache.org/jdo/api23/apidocs/javax/jdo/annotations/Persistent.html On Sep 23, 11:01 am, "Jason (Google)" wrote: > If you use a non-native datastore type that isn't declared to be > PersistenceCapable, you need to explicitly indicate that it is se

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread Keith Platfoot
On Thu, Sep 24, 2009 at 10:10 AM, dflorey wrote: > > As this thread seems to be of some interest I'd like to summarize why > I'm happy with Low-Level API and why JDO caused a lot of pain to me. > Some of the points may be a matter of taste, some are just annoying - > others have been show stopper

[appengine-java] type safe keys?

2009-09-24 Thread bryce cottam
In my app (as in many apps I imagine) there are relationships that I end up managing in the code. For instance, a Parent class with a list of Child instances. In order to make each child in it's own entity group, I have the list of children defined on the Parent as List children; and on the Chi

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Toby Reyelts
On Thu, Sep 24, 2009 at 12:48 PM, Jay Damon wrote: > > Toby, > > Thanks for your response. > > 1) I had enabled sessions for my project, when I first installed the > eclipse (3.4) plugin a few months ago. > 2) As a developer, I always ensure I implement Serializable. > > Re: 3) This is the one th

[appengine-java] Re: Page taking too long to process. Need advice.

2009-09-24 Thread Gaurav
Hi Jason, Thanks for your reply. Following is my PersistenceCapable Person class (root): @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Person { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) public Key key; @Pers

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread datanucleus
> - When using JDO it has not been obvious when stuff gets save to the > datastore. When do I have to call makePersistent(...), when is it done > explicitly If an object is detached then you call makePersistent. If an object is not persistent (i.e transient) then you call makePersistent. If an ob

[appengine-java] Re: PDF Generator Library

2009-09-24 Thread mably
Are you sure that JasperReports works fine on GAE ? I thought it was using iText which doesn't seem to run on GAE (it needs an unsupported patch). Mian Rashid a écrit : > Use can use Jasper Report and there is also designer tool available > for that is IReport. > > On Sep 23, 6:57 pm, mably wro

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread Alejandro D. Garin
Hi, my experience inline ... On Thu, Sep 24, 2009 at 11:10 AM, dflorey wrote: > > - Each time I save a persistent class the enhancer runs > In my case I'm not using the google plugin, just working with ant. I ran the enhance when I considere apropiate. > - Sometimes the app gets deployed with

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Jay Damon
Erem, Thanks for the heads up! On Sep 24, 12:37 pm, Erem wrote: > One notable penumbra effect of what Toby mentioned is that you can't > hook into session lifecycle events using HttpSessionListener. I spent > more time than I care to divulge trying to figure it out and I don't > want you to do

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Jay Damon
Erem, Thanks for the heads up! I normally implement a HttpSessionListener to ensure a user is properly logged out. On Sep 24, 12:37 pm, Erem wrote: > One notable penumbra effect of what Toby mentioned is that you can't > hook into session lifecycle events using HttpSessionListener. I spent >

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Jay Damon
Toby, Thanks for your response. 1) I had enabled sessions for my project, when I first installed the eclipse (3.4) plugin a few months ago. 2) As a developer, I always ensure I implement Serializable. Re: 3) This is the one that concerns me. I don't care if I get the same HttpSession object bu

[appengine-java] Datastore index deletion

2009-09-24 Thread mably
I tried to use appcfg command line with action "update_indexes" but it doesn't delete my unnecessary indexes. It seems there is no "vacuum" action like in the python version, am I right ? So, does anybody have another solution to delete a datastore index with the java SDK ? Francois Bordeaux, F

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Erem
One notable penumbra effect of what Toby mentioned is that you can't hook into session lifecycle events using HttpSessionListener. I spent more time than I care to divulge trying to figure it out and I don't want you to do the same =). On Sep 24, 8:46 am, Toby Reyelts wrote: > Jay, > > In genera

[appengine-java] deployment jar issues - do I have to upload jars that seems default in system?

2009-09-24 Thread ziyu_huang
Hi All I am new to GAE/J. I use Eclipse plugin to develop GWT/GAE/J currently. I found Eclipse automatically add lots of jar in WEB-INF/lib such as jdo2-api-2.3-eb.jar, datanucleus.*.jar. I know for a independent web container such as Tomcat may need it, but hey I am using GAE container, Do I n

[appengine-java] Re: HTTP Session Limitations

2009-09-24 Thread Toby Reyelts
Jay, In general, no there are not limitations on App Engine's HttpSession. Here are some things that are useful to know, though: 1) They aren't enabled by default. You need to turn them onin appengine-web.xml. 2)

[appengine-java] deployment problem - proxy - validation - windows

2009-09-24 Thread fco
Hi all, I am trying to deploy a very simple app from my company environment (with a proxy set up). Each time I try to deploy I get the following error !ENTRY org.eclipse.core.jobs 4 2 2009-09-24 16:51:21.630 !MESSAGE An internal error occurred during: "Deploying fcotest to Google". !STACK 0 com

[appengine-java] Need GAE logs explanation

2009-09-24 Thread mably
Hello everybody, I dont really understand the logs GAE shows me in the admin console : I have a first URI showing a simple search form that gives me : 09-24 08:24AM 30.341 /default/ftsearch.do?_contenttype_=content 200 117ms 103cpu_ms 73api_cpu_ms But my servlet service method lasts only : IN

[appengine-java] Re: Local datastore slow

2009-09-24 Thread Toby Reyelts
On Thu, Sep 24, 2009 at 10:31 AM, jd wrote: > > The entities are small in terms of bytes but each has about 80 indexed > properties and there are about 300" exception. I'm having a hard time parsing this sentence. Are you saying you're getting 300 exceptions? If so, then something is apparently

[appengine-java] Re: can't update the same entity twice in a transaction or operation RAISED ONLY in JUnit tests

2009-09-24 Thread Patrizio Munzi
Hi Marton, I think I've worked out what was the problem with my JUnit tests. I was persisting a parent entity before its children. The strange thing however is that I didn't have any problem running the same code in GAE local server. Now the question is what's the correct behavior?? I thing

[appengine-java] Streaming Data From External Server to App Server to Client(s)?

2009-09-24 Thread Eric Atkinson
Scenario: My google app server is currently setup to receive streaming data (stock quotes and news) from my stockbroker's site to my google app server. However, I also wish to immediately forward this streaming data from my google app server to my client(s) -- a push instead of a pull. I cannot

[appengine-java] Re: Local datastore slow

2009-09-24 Thread jd
The entities are small in terms of bytes but each has about 80 indexed properties and there are about 300" exception. It seems to happen after I get a message like "persisted datastore in 22058 ms" On Sep 22, 4:58 pm, Toby Reyelts wrote: > 1) What size entities are you saving to the datastore?

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread dflorey
As this thread seems to be of some interest I'd like to summarize why I'm happy with Low-Level API and why JDO caused a lot of pain to me. Some of the points may be a matter of taste, some are just annoying - others have been show stoppers to me: - Each time I save a persistent class the enhancer

[appengine-java] Re: Exception when using gae.parent-pk; string cannot be converted into a Key

2009-09-24 Thread Marton Papp
Hi Andreas, The field mapped with the "gae.parent-pk" is expected to hold a Key value or a key value encoded as string. Try this: public ShoppingList(Shopper shopper) { Key shopperKey = KeyFactory.createKey(Shopper.class.getSimpleName(), shopper.getEmail());

[appengine-java] Datastore or Memcache service freezes repeatedly for a certain users

2009-09-24 Thread kaz
Hi, I've been seeing the following phenomenon: Datastore or Memcache operations (e.g. PersistentManager#getObjectById, Query#execute, or Cache#get/put) freezes repeatedly for a few certain users (source IP address), while all the other requests are not affected. Sometimes it lasts just for a 10 -

[appengine-java] Re: JDO bug - won't persist parent class attributes - has it been fixed?

2009-09-24 Thread ylmz
I do not now if it is fixed or not. But I had the same problem. So I checked the code and I found out that you can save child classes only if parent class has Key or String as primary key. (I was using Long) I hope that helps. On Sep 23, 2:51 pm, Cornel wrote: > I remember there was a bug denote

[appengine-java] memcache.InvalidValueException caused by java.io.InvalidClassException

2009-09-24 Thread doc123
Hi I got following exception when I changed cashing class(M_SitePolicy class) . I have read related post and understand that I must remove previous cashed object and put serialVersionUID to my M_SitePolicy class to avoid recurrence of this kind of error. So I put serialVersionUID = 2001 to M_Sit

[appengine-java] Re: Best practice for modeling relationships (Java, Datastore) - list of keys or list of actual objects?!

2009-09-24 Thread Marton Papp
Hi, I think that the performance of List can actually be better then using List. Of course you should not try to retrieve the pictures by using user.getPictures() if there are many, because it will try to load all of them. But the difference is how it is stored in the database. I think the values

[appengine-java] Re: can't update the same entity twice in a transaction or operation RAISED ONLY in JUnit tests

2009-09-24 Thread Patrizio Munzi
Hi, yep the same code runs correctly in the GAE development server. I'll send you the code ASAP. Thanks Marton Papp wrote: Hi Patrizio, I am not sure what you mean by having the error only in JUnit tests. The same code runs correctly in some other environment? Anyway, the documentatio

[appengine-java] Exception when using gae.parent-pk; string cannot be converted into a Key

2009-09-24 Thread Andreas Kristensson
Hi, Trying to create ShoppingList child objects with parent set to Shopper. Persisting Shopper works fine, but when I have created a ShoppingList and tries to persist it I get the following exception: javax.jdo.JDOFatalUserException: Attempt was made to set parent to me.test...@gmail.com but th

[appengine-java] Re: Seeing different (incorrect?) JDO behavior after upgrading to 1.2.5

2009-09-24 Thread Marton Papp
Hi Patrizio, I removed the _embedded="true"_ attribute from the mapping of the "stat" field and now it seems to be better. At least I can retrieve the object with the correct values. I have not checked the code in detail, but I guess if you are embedding Stat then you do not need a primary key fo

[appengine-java] HTTP Session Limitations

2009-09-24 Thread Jay Damon
I am relatively new to App Engine. Recently I have starting seeing indications that there are limitations? on the the use of HTTP sessions in App Engine? For example, I see that there is a gaeutilities project that provides a class Session: An http session class to preserve identity across http

[appengine-java] Re: can't update the same entity twice in a transaction or operation RAISED ONLY in JUnit tests

2009-09-24 Thread Marton Papp
Hi Patrizio, I am not sure what you mean by having the error only in JUnit tests. The same code runs correctly in some other environment? Anyway, the documentation says that it is not allowed to update the same entity more than once in a single transaction. However I was not able to reproduce t

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread Alejandro D. Garin
-1 I have used JDO in my application (ok... not a big one, 9 domain classes, 6 DAO classes and 3 services) and I'm happy using JDO. On Wed, Sep 23, 2009 at 6:40 AM, dflorey wrote: > > I've just refactored my app to use Low-Level API instead of JDO and > it's much cleaner, works more reliable etc

[appengine-java] Re: java swing api usage proble

2009-09-24 Thread leszek
You have to split your application into at least two parts: server part (without any user interface related logic) and client side, user interface. This client side can be java/swing (applet), or Java Script, HTML, JSP etc. --~--~-~--~~~---~--~~ You received this me

[appengine-java] Re: How could get all kinds of entities by low-level API?

2009-09-24 Thread Erdinc Yilmazel
AFAIK the datastore api does not provide such a functionality... On Thu, Sep 24, 2009 at 12:06 PM, IgorSem wrote: > > I want to run application for viewing any GAE-datastore. > How could get all kinds of entities by low-level API? > In account-console we can CRUD with defined-kind entity after >

[appengine-java] Re: Seeing different (incorrect?) JDO behavior after upgrading to 1.2.5

2009-09-24 Thread Patrizio Munzi
Could No one else (Google?) help me here?? My code is a few posts earlier. I really can't understand what I'm doing wrong... Thanks Ian Marshall wrote: > Oh dear, sorry that didn't work. > > All I can say is that you are very brave to set the encodedKey values > in your code. I let BigTable do t

[appengine-java] Re: Single transaction and makePersistentAll

2009-09-24 Thread leszek
Obviously it will not work, makePersistentAll is nothing more than: for (Entity e : parameter_List) { em.makePersistent(e); } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To p

[appengine-java] can't update the same entity twice in a transaction or operation RAISED ONLY in JUnit tests

2009-09-24 Thread Patrizio Munzi
Hi all, I'm having this exception/error only in JUnit tests. Where's the problem? In the SDK or UNIT tests?? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to thi

[appengine-java] How could get all kinds of entities by low-level API?

2009-09-24 Thread IgorSem
I want to run application for viewing any GAE-datastore. How could get all kinds of entities by low-level API? In account-console we can CRUD with defined-kind entity after selecting kind. It means there is functionality to get entities-kind list?! --~--~-~--~~~---~--~-

[appengine-java] Re: Delete all from datastore

2009-09-24 Thread leszek
If you want to clean your local datastore with respect to junit tests - look at this link: http://code.google.com/appengine/docs/java/howto/unittesting.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App

[appengine-java] Delete all from datastore

2009-09-24 Thread jd
Hi, is it possible to delete all entities from the datastore? I can see how I can delete entities from a single kind at a time but do not know how to query for all kinds or list all kinds. Thanks, John. --~--~-~--~~~---~--~~ You received this message because you

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread Marcel Overdijk
The best example I could find was: // Get a handle on the datastore itself DatastoreService datastore = DatastoreServiceFactory.getDatastoreService(); // Lookup data by known key name Entity userEntity = datastore.get(KeyFactory.createKey("UserInfo", email)); // Or perform a query Query q

[appengine-java] Single transaction and makePersistentAll

2009-09-24 Thread littleball
Hi >From google docs - "a single transaction cannot create or operate on more than one root entity". What will happen if I try to call makePersistentAll to persist a list of root entity within on single transaction? Regards peter --~--~-~--~~~---~--~~ You receive

[appengine-java] Re: Type Owned by Two Different Types?

2009-09-24 Thread Marton Papp
Hi! Your problem is strange indeed. The interesting thing is that persisting both types of parents works well if you do it separately. It also works if you switch the order of persisting the objects, starting with ParentOfOne and then ParentOfList. It also fails if you only do a query on ParentOf

[appengine-java] Re: My recommendation: Use Low-Level API instead of JDO/JPA

2009-09-24 Thread iker98
+1, I agree with this approach. I like the great flexibility and control that the low-level API gives me. I would like documentation about low-level API programming.The API is very simple but I have some doubts. For example, It is not necessary to close the DatastoreService after using? It's ve

[appengine-java] Re: JDO vs low level API

2009-09-24 Thread leszek
"De gustibus non est disputandum" - if you feel more comfortable with low-level Api than with JDO/JPA Api it is up to you. You spent two days trying to cope with Google App Engine JPA/JDO problem, I spent a lot of sleepless nights migrating my EJB3/JPA application to Google App Engine keeping back

[appengine-java] Lets flirt, seeking for a partner

2009-09-24 Thread Inga Fox
Today, I am so bored and lonely. Friends, let's get started? Lets flirt or maybe something more? http://vedakathalee.150m.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post

[appengine-java] Re: JDO vs low level API

2009-09-24 Thread Roy Smith
I realise that "non-deterministic" is a relative term, and that given enough time, reading, research, etc etc I will be able to determine why adding a println prevents an NPE. My point (and I think of others) is "why?". Especially since it's taken me 2 days already that I was supposed to have spent

[appengine-java] Re: JDO vs low level API

2009-09-24 Thread datanucleus
> The final straw is:- >                 System.out.println("emp.dept name=" + emp.getDept().getName > ());    // throws an NPE So why not address what the difference is in calls to your persistable class ? Nothing is non-deterministic by definition that you have a programming language here and r

[appengine-java] Re: JDO vs low level API

2009-09-24 Thread Roy
I'm about to quit on JPA/JDO after 2 days of pure frustration. The final straw is:- System.out.println("emp.dept name=" + emp.getDept().getName ());// throws an NPE vs. System.out.println("emp.dept name=" + emp.dto.getDept().getName()); System.