[google-appengine] 'or' filters can only check equality

2010-07-14 Thread vhazrati
Hi, We have the following named query in JPA which we want to execute on the datastore @NamedQuery(name=User.findActiveByUsernamePattern, query=SELECT DISTINCT user + FROM User as user + WHERE firstName like

[google-appengine] Or filters cannot be applied to multiple properties

2010-07-14 Thread vhazrati
Further to my previous question http://groups.google.com/group/google-appengine/browse_thread/thread/bfff26a8a91a6a88# in which we were getting the following error 'or' filters can only check equality Now for the sake of datanucleus and datastore we changed the functionality to be equality

[google-appengine] Loading Seed Data for Unit Testing

2010-07-13 Thread vhazrati
Hi, We are using JPA for our Dao's to interact with the datastore. I was wondering is there is a way to load seed data for unit testing. I can insert the entities using JPA in the setup() method here private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new

[appengine-java] Unit Testing Maven Based JPA Application on GAE

2010-07-01 Thread vhazrati
I had some trouble setting up the unit testing framework for testing my DAOs. Hope this might help others http://thoughts.inphina.com/2010/06/28/unit-testing-maven-based-jpa-application-on-gae/ Regards | Vikas www.inphina.com thoughts.inphina.com -- You received this message because you are