oup.
And if one uses 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 wrote:
> I hope this is a stupid question but you're not setting the read consistency
> to eventual are you?
Best Regards,
J
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 this
tx.rollback();
pm.close();
}
}
On Thu, Feb 2, 2012 at 11:01 AM, Nichole wrote:
> you need an entity group
>
> http://code.google.com/appengine/docs/java/datastore/jdo/relationships.html
>
> or cross group transactions if you are using the HR datastore:
> h
d.
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 wrote:
> So it can't find a related Entity. You could obviously use the DB
> viewer (or a low level API call) to check
Hello,
I have been testing JDO on app engine all day and have come up with
the following problem on 2.0 RC2:
I have a class Store with a field Sales with a list of SaleItem, all
of which is persistable. When I modify
the sale and make the store persistent the first time everything goes
OK, but whe
Hello,
The following scenario was giving me problems:
@PersistenceCapable
class Store {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
@Persistent
User admin;
@Persistent
List otherUsers;
}
because User appears twice within Store, so the fr
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 wrote:
>
> Hello,
>
> I have an object calld XZStore which has a member List receipts.
> I add a receipt and
Thanks for the confirmation.
Using Query instead of Extent is working for me.
On Tue, Jan 31, 2012 at 11:37 AM, datanucleus wrote:
> Probably a bug, but you could just use the more normal
> Query q = pm.newQuery(MyClass.class);
> List results = (List)q.execute();
> which is widely tested in Googl
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 {
Extent storeExtent = pm.getExtent(XZStore.class);
if (storeExtent == null) return
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
new_appengine-java-sdk
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:
On Mon, Jan 30, 2012 at 4:44 PM, datanucleus wrote:
> > 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 one or the othe
in the 2.0 version.
Thanks for your help with installing the 2.0 plugin,
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 unsubsc
/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
access 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
> wrote:
>
>>
>> Hello,
>>
>> If anyone
(QueuedThreadPool.java:582)
Anyone having this problem? Anyone know how to solve it? Anyone know if gae
datanucleus 2.0 RC2 plugin solves it.
Anyone know how to install 2.0 RC2?
Hoping someone on this list can help... source code to reproduce this error
available upon request.
Thanks,
John Goche
().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
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
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 wrote:
> Ha
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
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
On Wed, Jan 25, 2012 at 1:57 AM, Jeff Schnitzer wrote:
> On Tue, Jan 24, 2012 at 4:21 PM, John Goche
> wrote:
> >>
> >> The main reason I ask is that loading two entities is about twice as
> >> expensive as loading one twice the size.
> >
> > To
sistencecapable. Not sure if this is the way to go.
> 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
JDO. 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 wrote:
>
>>
>> Hell
ng).
Thank you 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
What approach do you use for authentication?
On Sat, Jan 7, 2012 at 6:40 PM, Vic Chen wrote:
> i use android(also ios), gae and google cloud sql(for restore and backup
> data).
> it work for my project.
>
> i use very simple servlet way.
>
> 2012/1/8 John Goche :
> >
y identity?
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
comprehensive 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
28 matches
Mail list logo