reference on JDO.
Thanks,
John Goche
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java
?
Doesn't app engine close the session once the HTTP response is received
by the client. If so how can I actually stay logged in?
Thanks,
John Goche
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google
for your kind help,
John Goche
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine-java+unsubscr
. In Objectify, you would
just @Embed one class into the other.
Mat.
Thank you for your reply.
Looking forward to hearing from someone who would know how to do this in
JDO.
Regards,
John Goche
On 24 January 2012 20:05, John Goche johngoch...@googlemail.com wrote:
Hello,
I have the following
.
In my opinion, you're not sacrificing code readability - you're just
moving work around.
So how would I move stuff around in the example given above?
Thanks,
John Goche
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post
On Wed, Jan 25, 2012 at 1:57 AM, Jeff Schnitzer j...@infohazard.org wrote:
On Tue, Jan 24, 2012 at 4:21 PM, John Goche johngoch...@googlemail.com
wrote:
The main reason I ask is that loading two entities is about twice as
expensive as loading one twice the size.
Tough. I cannot
the various instances using iterators
programmatically?
Thanks,
John Goche
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send
again in 16 seconds.
Will check again in 32 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
Will check again in 60 seconds.
...
Anyone else having this issue?
Regards,
John Goche
)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
If this is a problem on google's side I hope it get fixed sometime soon.
Reagards,
John Goche
On Fri, Jan 27, 2012 at 2:53 PM, Chris ritterch...@gmail.com wrote
Hello,
My eclipse is not placing an *WEB-INF/appengine-generated/*
datastore-indexes-auto.xml
in place for me as described on
http://code.google.com/appengine/docs/java/config/indexconfig.html
Anyone know how to get eclipse to generate one automatically?
Thanks,
John Goche
--
You received
().getPersistenceManager();
Transaction tx = pm.currentTransaction();
try {
tx.begin();
pm.makePersistent(Data.store);
tx.commit();
} finally {
if (tx.isActive())
tx.rollback();
pm.close();
}
}
I don't see anything wrong with the code. Any ideas?
John Goche
the simple fields such as String, Data, int, long, double,
etc... which should
have been retrieved automatically I suppose since they are not lists?
Thanks,
JG
On Sun, Jan 29, 2012 at 10:52 AM, John Goche
johngoch...@googlemail.comwrote:
Hello,
If anyone knows how to deal
/datanucleus/store/exceptions/ReachableObjectNotCascadedException.html
You can try pm.flush() and temporarily add catch (Throwable t)
{ t.printStackTrace() for more detail
Thanks but where in my code am I supposed to call this pm.flush() call?
Thanks,
JG
On Jan 28, 3:52 pm, John Goche johngoch
On Mon, Jan 30, 2012 at 4:44 PM, datanucleus andy_jeffer...@yahoo.comwrote:
Also, I did not have a persistence.xml file in eclipse so I copied the
one
provided on the wiki's link and placed
it alongside jdoconfig.xml in hope that this would be enough.
And why should you have one? You use
Hello,
I am still trying the v2.0 installation. I have reinstalled eclipse and the
app engine plugin
and then followed the instructions at:
http://code.google.com/p/datanucleus-appengine/wiki/UpgradingToVersionTwo
all went well but in the very last step when I enabled the auto enhancement
I got:
Well, I've finally managed to resolve my problem:
The org/datanucleus/enhancer/DataNucleusEnhancer.class
was found in
eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.6.1.v201201120043r37/new_appengine-java-sdk-1.6.1/lib/opt/tools/datanucleus/v2
but I was including
Hello,
I am running app engine plugin 2.0 RC2 and having the following problem:
The following code runs and returns null but...
PersistenceManager pm = PMF.get().getPersistenceManager();
try {
ExtentXZStore storeExtent = pm.getExtent(XZStore.class);
if (storeExtent ==
Thanks for the confirmation.
Using Query instead of Extent is working for me.
On Tue, Jan 31, 2012 at 11:37 AM, datanucleus andy_jeffer...@yahoo.comwrote:
Probably a bug, but you could just use the more normal
Query q = pm.newQuery(MyClass.class);
List results = (List)q.execute();
which is
Upgrading to datanucleus-appengine plugin 2.0 RC2 and changing Extent to
Query
also made this problem vanish.
Regards,
JG
On Mon, Jan 30, 2012 at 12:23 AM, John Goche johngoch...@googlemail.comwrote:
Hello,
I have an object calld XZStore which has a member ListReceipts receipts.
I add
Hello,
The following scenario was giving me problems:
@PersistenceCapable
class Store {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
@Persistent
User admin;
@Persistent
ListUser otherUsers;
}
because User appears twice within Store, so
.
In the meantime any suggestions on how to work around the problem would
be greatly appreciated.
Kind Regards,
John Goche
On Wed, Feb 1, 2012 at 9:21 AM, datanucleus andy_jeffer...@yahoo.com wrote:
So it can't find a related Entity. You could obviously use the DB
viewer (or a low level API call) to check
/transactions.html
or If you are not on the HR datastore and need 2-phase locking
transactions:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/497060c343e16052/18f8603e9ffe3db4?lnk=gstq=Good+point+++nichole#18f8603e9ffe3db4
On Feb 1, 10:25 am, John Goche johngoch
on the datastore just after committing a write transaction.
(If I run the code through the debugger things run slow enough
that the entity has a chance of being read back on the second pass).
Any help with this issue would be greatly appreciated,
Regards,
John Goche
--
You received
the high replication server and does not query by key
one will be
exposed to this constraint.
On Sat, Feb 4, 2012 at 3:16 AM, Matthew Jaggard matt...@jaggard.org.uk wrote:
I hope this is a stupid question but you're not setting the read consistency
to eventual are you?
Best Regards,
John Goche
24 matches
Mail list logo