[appengine-java] Re: Local datastore is empty after migrating to 1.3.1

2010-02-24 Thread Itzik Yatom
Same problem

On Feb 23, 10:21 pm, Scott Hernandez scotthernan...@gmail.com wrote:
 I got a read error when I tried running with my existing (v1.3.0)
 data-store file; I created a new one (by renaming the old one) and
 restarting. I suspect the internal format is different and the old
 format cannot be read. Whether this is by design or a bug is another
 question.



 On Tue, Feb 23, 2010 at 10:26 AM, David turntwo...@gmail.com wrote:
  I just upgraded to1.3.1and also hit this issue.  I hope someone from
  the GAE team will soon comment on this behavior.  I'm also curious how
  common a problem this is. Have other people upgraded to1.3.1and
  maintained their local data store?

  On Feb 17, 3:06 pm, mcrady mcr...@gmail.com wrote:
  Same here.  If I switch back to 1.3.0 the local data is still there.

  Any workarounds to get to1.3.1with the local data?

  On Feb 13, 10:45 am, Brian bwa...@gmail.com wrote:

   My remotedatastorekept the data, mylocalone was wiped. Pretty easy
   to make a script to load a DB with test data, not really a good idea
   to rely on yourlocaldatastore...

   On Feb 12, 6:32 pm, mably fm2...@mably.com wrote:

Same thing happened to me.

Got an emptylocaldatastoreafterupdating to1.3.1.

Hopefully I didn't have much data in it.  But it might not be the case
for everybody.

On 12 fév, 09:35, Al Murauski a.murau...@gmail.com wrote:

 The Development Console tells Thedatastoreisemptyafterupdating
 to1.3.1.

 Any ideas why? I need mylocaldata back.

 The local_db file is not emoty and contain sthe data it contained
 before1.3.1migration.- Hide quoted text -

 - Show quoted text -

-- 
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-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Querying by Category class

2010-01-05 Thread Itzik Yatom
I have changed to
query.setFilter(tags.contains(' + aTagValue + '));
 and it still works!

It took me a while to get into this concept, that although it's a
filter clause it's written in java object style and not SQL style, I
mean:
NOT tags contains tagParam BUT  tags.contains(tagParam)   as you wrote

Thanks


On Jan 4, 12:58 pm, datanucleus andy_jeffer...@yahoo.com wrote:
  I have tried the simplest approach and it works:
  query.setFilter(tags == ' + aTagValue + ' );

 It may work, but is actually invalid JDOQL and you should always use
 valid JDOQL syntax like
 tags.contains(tagParam)
 and your current query would fail in future releases.
-- 
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-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Re: Querying by Category class

2010-01-04 Thread Itzik Yatom
I have tried the simplest approach and it works:

query.setFilter(tags == ' + aTagValue + ' );

On Jan 3, 5:05 pm, Itzik Yatom itzik...@hotmail.com wrote:
 I consider to use the built in Category class for implementing tags
 for one of my datastore classes. Something like:
 .
 import com.google.appengine.api.datastore.Category;
 .
 @Persistent
 protectedListCategory tags;
 .
 My question is how do I filter objects by a tag value, for example I
 want to get all objects that have a 'pollution' tag.
 Actually, there are here two questions:
 1. How to query by fields that are lists (or collections)?
 2. How to use Category class in queries ?

 Thanks

--

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-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Querying by Category class

2010-01-03 Thread Itzik Yatom
I consider to use the built in Category class for implementing tags
for one of my datastore classes. Something like:
.
import com.google.appengine.api.datastore.Category;
.
@Persistent
protected ListCategory tags;
.
My question is how do I filter objects by a tag value, for example I
want to get all objects that have a 'pollution' tag.
Actually, there are here two questions:
1. How to query by fields that are lists (or collections)?
2. How to use Category class in queries ?

Thanks

--

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-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Gradual move from XAMPP to app engine

2009-10-19 Thread Itzik Yatom

Hi all

I have been developing web sites using GWT at the client and Apache
web server with PHP and My SQL DB.
The server side is responsible for data access, mail and some other
server jobs

These days I am considering using Google App engine as my server. I
don't want to through all the code I have written in PHP and develop
everything from scratch.

My question is there a way to combine in a web site HTTP calls to the
Apache server and to the app engine, both from a browser client that
is developed with GWT.

Thanks

--~--~-~--~~~---~--~~
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 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---