Hi all,
Would like to know if there are any of you guys ever tried to use space
filling curve like Hilbert curve to build index for multiple inequality
filters.
Seems like for any continuous field like long or date, the number of ranges
(to be merged) to perform a accurate query is
Hi experts,
I have following Problem with storing a Bytearray as String in the google
datastore:
I create a salt during account creation to hash the users passwordword which
then I store in the google datastore as String.
SecureRandom sr = SecureRandom.getInstance(SHA1PRNG);
byte[] salt = new
Hi,
1) you don't need to store it anywhere, appengine will do that using the
generated upload uri before calling your servlet
I have a post about it using objective-c: http://goo.gl/e4q3u
On Sun, Jul 3, 2011 at 11:01 AM, dharma teja vooturi
dharmas...@gmail.comwrote:
I tried doing that ...but
Hi.
I'm using Google App Engine and I really liked it. It was a bit
difficult in the beginning because there are more documentation for
Python and I only know Java but now I think I'm going well.
I'm using JDO and I understand that do add a child to a one to many
relationship I need to do this:
Solved it by using ShortBlob instead of String in datastore.
Cheers!
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine-java/-/ElXraFqHxq0J.
To
Hi,
This is swaminathan, am now working on GAE/J. I am happy to deploy an
application in cloud using GAE.
In my project, i have just created a record in the data store and i
need to update/overwrite the record.
When i create a record, i get a auto generated Key. I have a query
like 'How to
My code:
Query q = pm.newQuery(select from + Phrase.class.getName() +
where :p1.contains(phrase) phrases_INTEGER_IDX == 0);
ListPhrase phraseList = (ListPhrase) q.execute(matches);
This returns the following error:
Unexpected expression type while parsing query. Are you certain that
a
Am I really not allowed to perform the following query?
Query q = pm.newQuery(select from + Phrase.class.getName() +
where match.startsWith(phrase.toLowerCase()) sectionNum == 0);
q.declareParameters(String match);
Based on previous posts by Mr. Ross, the answer is no. But I just
wanted to
Hi,
This is swaminathan, am now working on GAE/J. I am happy to deploy an
application in cloud using GAE.
In my project, i have just created a record in the data store and i
need to update/overwrite the record.
When i create a record, i get a auto generated Key. I have a query
like 'How to
Hi
Am working on a project using GWT+GAE, i try to add a user profil
(BlobService to uplad image).
This works on local client but once I upload it to online and open the
app, it shows the error message as follows
Uncaught exception from servlet
When a user logs in a new channel is created, and I add an entity of
kind ChannelClient to datastore and store the token.
When the user logs in again or refreshes the page, it should check the
datastore to see if the ChannelClient entity exists. If it does, it
uses that token. If it doesn't,
Hi all!
I faced with probem that i couldn't update war because jsp compilation
failed.
---
An error occurred at line: -1 in the generated java file
extension dir=C:\Program
After I get a Command object using PersistenceManager.getObjectById(),
and then try to access the ArrayListAction member variable (see code
below) I get this error:
The datastore does not support joins and therefore cannot honor
requests to place related objects in the default fetch group. The
You just need to retrieve it, change it and close the persistence manager.
No makePersistent method needed.
For example:
public void updateEmployeeTitle(User user, String newTitle) {
PersistenceManager pm = PMF.get().getPersistenceManager();
try {
Employee e =
In fact there is, but yet your application need to enable billing.
http://code.google.com/appengine/docs/quotas.html#Blobstore
*Jayr Motta*
Software Developer
*
*
I'm on
BlackBeltFactory.comhttp://www.blackbeltfactory.com/ui#!User/jmotta/ref=jmotta
!
On Mon, Jul 4, 2011 at 9:31 AM, Bilel
Thanks for the clarification, I was curious about what could be the causing
of the error! :)
*Jayr Motta*
Software Developer
*
*
I'm on
BlackBeltFactory.comhttp://www.blackbeltfactory.com/ui#!User/jmotta/ref=jmotta
!
On Mon, Jul 4, 2011 at 12:54 PM, meiaestro jmalbre...@gmx.de wrote:
For something large like that, I think you'll want to make your relationship
from User to LoginHistory an unowned relationship. That simply means that
LoginHistory will store an ID that points to User instead of User having a
collection of LoginHistory objects. The Google docs have more on
Thiago,
Nowadays the amount of documentation and features of both interfaces are
almost equals. Java has some characteristics that Python doesn't and
vice-versa.
But let's cope with your problem, the solution given by objectuser is
valid and should work fine, the only problem is that you'll
Hello,
Two questions :
How can I filter a query with logical constraints (or, and) ? (where
attribut = foo1 or attribut = foo2)
And furthermore, how can I filter a query with null or non null
values ? (where attribut is null / where attribut is not null)
Thank you for your help :)
--
You
AND:
ofy.query(Obj.class).filter(name, value).filter(email,
value).list();
OR
ofy.query(Obj.class).filter(name in, Arrays.asList(name1,
name2)).list();
I'm not sure about null/not null values on queries. Take a look at the
Partial Indexes section, it might be helpful for you situation.
Until where I know, there is no feature to accomplish the OR, AND is
implicit when you add more filters.
IS NULL is equals to .filter(attr, null);
IS NOT NULL is equals to .filter(attr != null);
If you find something about doing OR, let us know! :)
*Jayr Motta*
Software Developer
*
*
I'm on
jMotta,
You can make OR queries using lists.
The datastore will run one query for each parameter and then join the
results for you.
Like I said: ofy.query(Obj.class).filter(name in, Arrays.asList(name1,
name2)).list();
works like a champ :)
Regards,
On Mon, Jul 4, 2011 at 6:01 PM, jMotta
Thanks guys :)
On 4 juil, 23:10, Bruno Fuster brunofus...@gmail.com wrote:
jMotta,
You can make OR queries using lists.
The datastore will run one query for each parameter and then join the
results for you.
Like I said: ofy.query(Obj.class).filter(name in, Arrays.asList(name1,
True. I had forgotten about the unowned relationships, but I think again I
will need to retrieve the collections in order to add the new Key, right? Of
course it's much better to retrieve a collection of keys than a collection
of entities. And maybe making the relationship from the LoginHistory to
thiagorossi,
Thanks for your reply and clear explanation with the code.
Do we can try this solution in GWT. If not, can you please help me out.
Thank You
On Mon, Jul 4, 2011 at 9:42 PM, Thiago Rossi thiagorossi...@gmail.comwrote:
You just need to retrieve it, change it and close the
*Jayr Motta,*
*
*
Thanks for your link.
*
*
On Mon, Jul 4, 2011 at 10:46 PM, jMotta jayrmo...@gmail.com wrote:
Swaminathan,
None of us will explain better than the official documentation does, try
it: http://code.google.com/appengine/docs/java/datastore/
*Jayr Motta*
Software Developer
*
26 matches
Mail list logo