@Mouseclicker and John Patterson: To solve your problem in the
meanwhile consider a meta-model of a Tenant in the default
namespace. Each tenant entity should have a namespace field, plus
whatever information you want it to hold about your tenant. You can
then enforce
I experienced this with lists of complex objects in owned
relationships, not with lists of strings, see
http://code.google.com/p/datanucleus-appengine/issues/detail?id=218 .
Lists of strings should not be a problem since they're stored in the
same table, basically the listproperties Bret mentions
Hi Ikai,
can you give a pointer to a document that states what rules and
regulations GAE complies to?
e.g. where did you state the noncompliance to HIPAA? What does Google
prevent from complying?
Thanks,
Fred
On 8 Sep., 20:13, Ikai L (Google) ika...@google.com wrote:
Yes, you can partition by
You might want to give a try to @Inheritance(customStrategy =
complete-table) on the superclass. No inheritance annotation needed
on the inheriting class. Persistence of fields in superclasses should
work fine.
Hope this helps,
Fred
On 8 Sep., 05:27, Didier Durand durand.did...@gmail.com wrote:
i believe the problem is in your constructor: this.files = new
VectorPersistentFile();
use new ArrayListPersistentFile(); instead.
see:
http://code.google.com/intl/de-DE/appengine/docs/java/datastore/dataclasses.html#Collections
If a field is declared as a List, objects returned by the datastore
http://code.google.com/intl/de-DE/appengine/docs/python/tools/uploadingdata.html
On 30 Aug., 14:05, prabu prabuc...@gmail.com wrote:
hi,
please somebody help me.I have a java project on app engine,how to
backup and restore database using pythan give example code
--
You received this message
to iterate over 1
million records each time I collect the nicknames of max 10-50 users.
Would it not be better to keep some denormalized fields in MyAppUser
with nicknames or use contains in the query with the friendsIdlist?
On 27 Aug., 10:06, Frederik Pfisterer pfiste...@gmail.com wrote:
Hi
Hi,
from experience with GAE + JDO I'd recommend using ListString since
ListObject currently has some issues you'll encounter down the road.
If your list is actually ListMyAppUser you'd have an object graph
that can currently only be achieved with ListString.
Also in your reasoning for query 2
On Aug 27, 1:51 am, Frederik Pfisterer pfiste...@gmail.com wrote:
Your problem seems to be related to this open gwt
issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=4976
Please star the issue to raise its attention. The workaround is not
using 1:n relationships with GWT
of the type if (obj==null)
obj=new...?
Thank you very much for your help!
Best
cghersi
On 27 Ago, 10:58, Frederik Pfisterer pfiste...@gmail.com wrote:
Hi,
the problem is this line:
owner = new First();
Beware that the only way you should ever store a Second object
Your problem seems to be related to this open gwt issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=4976
Please star the issue to raise its attention. The workaround is not
using 1:n relationships with GWT + GAE + JDO.
Cheers,
Fred
On 26 Aug., 23:12, hampole
Hi,
the problem is this line:
owner = new First();
Beware that the only way you should ever store a Second object is:
myFirstObject.getList().add(mySecondObject);
pm.makePersistent(myFirstObject);
since Second.owner is mapped it's automatically populated by the
persistance manager.
Hope this
Hi,
my recommendation would be to use ListString . In your reasoning for
query 2 be aware of the lazy loading that JDO performs in the
background to retrieve the related objects.
Query one and two are similar (if nickname is a field of MyAppUser):
Query q = pm.newQuery(MyAppUser.class);
Hi Aleksey,
There are a few things you can try including using transactions
http://code.google.com/intl/de-DE/appengine/docs/java/datastore/transactions.html
.
But from personal experience I have to warn you to be careful with one-
to-many in JDO and recommend you don't use these relationships
There are many open issues with JDO and lists of children and I also
experience the one you describe. Did you already file an issue here:
http://code.google.com/p/datanucleus-appengine/issues/list ?
Please post the issue ID here and upload a sample project if you have.
Thanks.
On 2 Aug., 22:49,
If no one ever tried it you can try check frameworks jade might depend
on and leave comments here:
http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine
In general jade would have to comply to the sandbox environment
described here:
was wondering
are there real life applications on GAE where people are using JDO/JPA
relationships. The more the problems that I face with relationships
and the more I read about it, it seems that unowned is the way to go.
Thanks,
Vikas
On Aug 4, 12:53 am, Frederik Pfisterer pfiste...@gmail.com
the right thing to be doing.
http://groups.google.com/group/google-appengine-java/browse_thread/th...
On Aug 2, 6:11 am, Frederik Pfisterer pfiste...@gmail.com wrote:
Hi,
there seems to be something weird with how JDO handles modifications
(removes) to lists of objects.
I have two
You have to use unowned relationships and not place the department and
the user in the same entity group. See:
http://code.google.com/intl/de-DE/appengine/docs/java/datastore/relationships.html#Unowned_Relationships
use for UserDepartment:
private SetKey users = new HashSetKey();
and for User:
Hi,
there seems to be something weird with how JDO handles modifications
(removes) to lists of objects.
I have two lists:
@Persistent(defaultFetchGroup = true)
@Element(dependent = true)
private ListChild dependentObjects = new ArrayListChild();
@Persistent
private
Hi Folks,
this seems to be ridiculously trivial but I can't seem to get it
right:
I need to have a field in a model class to be not null and have an
annotation on the field
@Persistent(nullValue=NullValue.EXCEPTION)
private String foo;
As see here:
Toby,
I am not sure since I'm new to the topic but that's how I understood
it. The L2 Cache is disabled by default, you need to include another
jar from datanucleus in your buildpath and add two lines to your
jdoconfig (see above).
If you try it out please let me know how performance changes
Thanks DN.
For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and
it seems to work just fine.
On 4 Mrz., 23:41, datanucleus andy_jeffer...@yahoo.com wrote:
GAE/J does not (yet) support DN 2.x
--
You received this message because you are subscribed to the Google Groups
Google App
Is it possible that DN L2 caching in GAE drives down CPU milliseconds
used but overall response times get slower?
On 5 Mrz., 09:52, Frederik Pfisterer pfiste...@gmail.com wrote:
Thanks DN.
For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and
it seems to work just fine.
On 4
Hi Folks,
I am new to using a cache and have a hard time setting up the cache
for JDO. Also searched the web and this group but didn't find any
help, so maybe someone can give me a pointer or help me out.
Here is what I did so far:
1. added datanucleus-cache-2.0.0-release.jar to the buildpath,
Here is a useful resources for anyone interested in this thread:
http://www.datanucleus.org/products/accessplatform_1_1/jdo/cache.html
On 4 Mrz., 21:20, Frederik Pfisterer pfiste...@gmail.com wrote:
Hi Folks,
I am new to using a cache and have a hard time setting up the cache
for JDO. Also
Any luck dissabling the warning?
If yes, could you post a logging.properties entry or any steps to
underake?
thanks,
Fred
On 18 Dez. 2009, 19:56, Pion onlee2...@gmail.com wrote:
By using the appropriate URLs as shown on the example,
// The base URL for a user's calendar metafeed (needs
27 matches
Mail list logo