I'm a newbie so I don't know if this would be a good way to do it, but what
about using the extension that sets the parent's key in a field in the child:
@Persistent(defaultFetchGroup = true)
@Extension(vendorName = datanucleus, key = gae.parent-pk, value =
true)
private Key
I'm having a problem writing a query to get a list of objects by
filtering for a another entities key.
Object A has many object Bs.
Object A
@PersistenceCapable(identityType=IdentityType.APPLICATION, detachable
= true)
public class A {
@PrimaryKey
@Persistent(valueStrategy =
I've been trying to work out what I'm doing wrong with the following
code. It was working last night, and as far as i can remember I
haven't changed it.
I have search for hours for a solution but i only seem to find the
error in relation to compound keys online.
Here's the code:
package
Good points. In my case, so far, the copied objects are small and not
complicated, which is why my method appealed to me.
I feel like there's some fundamental concept that I'm not getting and it has to
do with how objects are mapped onto the Big Table data store. Watching the
videos from
when I run the app in ubuntu9.10 and eclipse 3.5,the console view the
info :
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /home/jamesyoung/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle.linux_1.7.1.v200909221731/gwt-
linux-1.7.1/mozilla-1.7.12/libxpcom.so:
I'm now thinking that instead of using detachable=false, set it to true so
that it can be easily updated. To create new unparented objects, use a
constructor that takes a template object you got from the data store;
Department fetchedDepartment = departmentDao.findById(id);
Department
All docs state that final/static fields aren't persisted/persistent
--~--~-~--~~~---~--~~
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
here's a really good talk about how objects are mapped into the
BigTable datastore and how relationships are actually represented in
the system:
http://sites.google.com/site/io/under-the-covers-of-the-google-app-engine-datastore
this sort of highlites how relationships actually work in BigTable
Thanks for the reply Max. I pretty much came to the same conclusion.
Any ETA on when the support will be released for general use?
dave
On Nov 4, 5:05 am, Max Ross (Google) maxr+appeng...@google.com
wrote:
not-equal filters are not supported in the current SDK unless you're doing
not equal
The next SDK (1.2.8) is working its way through QA right now so hopefully it
will be available in the next week or two.
On Thu, Nov 5, 2009 at 12:58 PM, Dave Cheong d...@davecheong.com wrote:
Thanks for the reply Max. I pretty much came to the same conclusion.
Any ETA on when the support will
The mappedBy on your ListKey Bs is throwing me off. It looks like
you're declaring a relationship that is managed by JDO but the type of your
List is Key, not B.
I think the real problem you're running into is that you're trying to match
on the id field of the Key when you should really be
You should still be able to do the following:
mysite.com/rest?key=someencodedkey
The advantage of doing this is that you don't have to expose the
internal structure of your entity groups, and that you will be able to
fetch your object like so:
Team team = pm.getObjectById(Team.class,
Yes it was the command search path that needed manual updating. Found
help here:
http://java.sun.com/javase/6/webnotes/install/jdk/install-windows.html
Keep up the good work !!
/Tomas
On Nov 5, 3:23 pm, Tomas tomasep...@gmail.com wrote:
Hi Jason !
The java files are there all right, it
Um, please disregard this previous post. I figured out my mistake. I
was treating the relationship as I would a foreign-key relationship in
an RDBMS solution. Including the refernce to the Event object (as a
owned on-to-many relatioship) fixed my problem. This does beg a
question, however:
How
I just committed an update to this to remove the static
DatastoreService instance.
Vince
On Sat, Oct 31, 2009 at 2:08 PM, Vince Bonfanti vbonfa...@gmail.com wrote:
This looked like an interesting problem, and I already had most of the
pieces in place, so here's my first attempt, which is
oh, I need install libstdc++6,, I don't know it don't conflict with
libstdc++5, Now everything is all right.
On Thu, Nov 5, 2009 at 11:57 PM, zhurizhe zhurizh...@gmail.com wrote:
when I run the app in ubuntu9.10 and eclipse 3.5,the console view the
info :
** Unable to load Mozilla for hosted
Hi Romeo:
This problem was reported here
http://code.google.com/p/googleappengine/issues/detail?id=2280 . You can
vote for it so it gets fixed asap (there's also a workaround explained).
Regards,
Esteban
On Thu, Nov 5, 2009 at 9:04 PM, RSN romeo.sanc...@gmail.com wrote:
I had the same
On Thu, Nov 5, 2009 at 9:17 PM, Max Ross (Google)
maxr+appeng...@google.commaxr%2bappeng...@google.com
wrote:
The next SDK (1.2.8) is working its way through QA right now so hopefully
it will be available in the next week or two.
Please can we get a bit more notice on the changes and the
Hi Roy,
I don't have a firm date to give you on the next release because we're going
to test it until we're satisfied with the quality. The release will be
backwards compatible with the current release. What sorts of decisions are
you looking to make based on the release date? Maybe there's
1.2.6 broke a few items based on the posts in this group and was implemented
with no prior notice.
Had we known what the changes were, and were given a couple of day's notice,
we could have been monitoring our live apps and reviewing our code for
incompatibilities, implemented some contingencies,
Hie
My App is currently writen and hosted on GAE which used conventional MVC1
pattern and using jsps for views layer.
I am looking forward to enhance the UI layer. So which one is more
recommended GWT or JQuery or anything else that works with GAE?
Thankx and Regards
Vik
Founder
Horses for courses.
Do you know Javascript?
Does GWT-RPC work for you, or do you prefer REST, DWR or your home-grown c-s
protocol?
Will you be using other APIs such as Gdata?
Do you require any particular widgets from either GWT or Jquery?
...the list goes on
GAE is agnostic. The biggest issue
Thx for taking the issue on board.
I have seen the roadmap page, but ideally I'd like the next level of detail
in terms of planned releases and feature sets. Think Trac milestones. Of
course these things change, but we can live with that. As an example, I'm
currently wrestling with
Recently I've started getting timeouts fetching a spreadsheet using
the Gdata API library. How do I increase the timeout?
Stack trace follows:-
java.io.IOException: Timeout while fetching:
24 matches
Mail list logo