@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 NamespaceManager.set(tenantn
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)" wrote:
> Yes, you can partition by namespace on do
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
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 wrote:
> Hi
>
> "There is cur
i believe the problem is in your constructor: this.files = new
Vector();
use new ArrayList(); 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
will have an ArrayList valu
uot; in datastore.
> Think of 1 Million or more. Then I would have 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 t
http://code.google.com/intl/de-DE/appengine/docs/python/tools/uploadingdata.html
On 30 Aug., 14:05, prabu 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 because you are
s==null)
> tags= new ArrayList();
> return tags;
> }
>
> ...
>
> }
>
> Do I have to remove all the check of the type if (obj==null)
> obj=new...?
>
> Thank you very much for your help!
>
> Best
> cghersi
>
> On 27 Ago, 10:
the development of our
> application. I appreciate any help.
>
> Thanks,
> Ravi
>
> On Aug 27, 1:51 am, Frederik Pfisterer wrote:
>
> > Your problem seems to be related to this open gwt
> > issue:http://code.google.com/p/google-web-toolkit/issues/detail?id=4976
>
Hi,
from experience with GAE + JDO I'd recommend using List since
List currently has some issues you'll encounter down the road.
If your list is actually List you'd have an object graph
that can currently only be achieved with List.
Also in your reasoning for query 2 you have to consider what JDO
Hi,
my recommendation would be to use List . 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);
q.setFilter("use
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 he
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 wrote:
> I am try
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 rig
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:
http://code.google.com/intl/de-DE/a
> I guess that makes sense and your example is dot on. I 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.
eries that a normal web app would have you would fall into
> situations where you would need to use more and more of unowned
> relationships. Is that true? or am I missing something.
>
> Regards | Vikaswww.inphina.comwww.thoughts.inphina.com
>
> On Aug 3, 10:00 pm, Frederik Pfis
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 Set users = new HashSet();
and for User:
private Ke
7;t
> feel like 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 wrote:
>
> > Hi,
>
> > there seems to be something weird with how JDO handles
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 List dependentObjects = new ArrayList();
@Persistent
private List stringListP
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:
http://www.datanucleus.org/products/accessplat
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 compa
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 wrote:
> Thanks DN.
> For anyone interested, I'm using datanucleus-cache-1.1.1.jar now and
> it seems to work just fine.
>
&
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 wrote:
> GAE/J does not (yet) support DN 2.x
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group
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 wrote:
> Hi Folks,
>
> I am new to using a cache and have a hard time setting up the cache
> for JDO. Also sear
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, ga
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 wrote:
> By using the appropriate URLs as shown on the example,
> // The base URL for a user's calendar metafeed (needs a username
> appe
28 matches
Mail list logo