in principle, I like to work with both, JDO and JPA. but using either
of them requires (in most cases) use of the osiv pattern, which in
turn results in using something like spring. Keeping the discussions
about request and startup performance in mind, apps on GAE shouldn't
make use of too many
Cristian Nicanor Babula wrote:
It looks like the exception is thrown when the socket calls bind().
Isn't that you have the port 8080 already in use?
No service is listed as using that port.
There has been no problem using the Python version of GAE: it can
use port 8080 with no problems, and
1. The UserService createLoginURL method accepts a authDomain String
parameter, documented as authentication domain to use. What does
this mean, what domain? Can I set it to any Google Apps domain so that
a user from that domain can sign in? And what does For trusted apps
only from the method's
Hello,
7 hours after last deploy of my application I got the following exception:
java.lang.NoClassDefFoundError: Could not initialize class
org.datanucleus.store.appengine.DatastoreFieldManager
at
org.datanucleus.store.appengine.query.DatastoreQuery$3.fetchFields(DatastoreQuery.java:511)
A List follows the contract of java.util.List, hence obviously
ordering should be preserved. Whether it is JDO or JPA, the whole
point of transparent persistence - people shouldn't need to know
anything about the persistence process, just use their objects as
normal.
--
You received this message
On 27 Jan 2010, at 05:19, Jeff Schnitzer wrote:
although I do think the creators of JDO's
annotations are aesthetically challenged).
Ha ha fair enough. Sorry can't respond more just yet as Im out the
door to Koh Phangan until Monday!
I think its a good thing to have abstractions at
I would like to develop an App that lets my Google Apps domain users
update their phone numbers for their domain Profiles.
My problem is that only a domain admin can access the Profiles API.
The flow would go something like: user signs in by GAE Apps domain
user service. On load RPC transfers user
When you create the App on GAE it asks if you want it to be only for a
Google Apps domain. This would only be for the Apps domain account you
are logged into GAE with. The code does not have to be specific for
the domain as the GAE userservice will know to send the sign in to the
domain's auth
I noticed that the compression of images scaled by the image service
is very low. The resulting image size is factors higher then it would
be with reasonable jpeg compression settings. Since Google Java does
not support any of the AWT classes it is very hard to find a
workaround.
There is a
There's no APIs natively for SMS. However, many mobile service providers
have email gateways for SMS. Here's a quick list on Wikipedia:
http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit
http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transitMy
experience has been
What does you local indexes file look like? Can you post the indexes listed
in your production admin console?
On Tue, Jan 26, 2010 at 11:24 PM, aswath satrasala
aswath.satras...@gmail.com wrote:
Hello GAE team,
Further observations made while testing the app. I am not able to write
entities
I'm no expert on how to unit test GWT, but in terms of testing the server,
for a unit test it probably is a better idea to simply test the servlet.
I've heard HtmlUnit is pretty good for this. Here's a guide for setting up
JUnit to work with the datastore:
What's Camel? This is the only thing I was able to find on Google:
http://camel.apache.org/python.html
On Tue, Jan 26, 2010 at 9:40 PM, elwis elwest...@gmail.com wrote:
Hi all,
I'm playing around with the Appengine and thought about using it as an
integration platform with Camel in the
I think you can also use the java transient keyword to tell JDO/JPA to not
persist it.
Andrei wrote:
Ok, i forgot to put
@NotPersistent
On Jan 26, 1:15 pm, Andrei gml...@gmail.com wrote:
Thanks, i'll try
What i do not understand, this value is not stored in db
On Jan 26, 1:06 pm, John
Is this preventing your task from running? This is generally a harmless
exception. Here's another thread on the subject, though your stack trace is
a bit different:
Do you need a colon in front of nameParam?
query.setFilter(name == :nameParam);
Sydney wrote:
The query returns no result.
ApiProxy.setEnvironmentForCurrentThread(new TestEnvironment
());
ApiProxy.setDelegate(new ApiProxyLocalImpl(new File(.))
{
Hi,
I am trying to consume a REStful web service from my web application
that is deployed under the App Engine.
I am using the Jersey framework in order to make the web service call
and I followed the steps outlined in this tutorial:
Hi,
Am new to GAE. I want to build an application on GAE that stores data from
multiple companies. I would like to get advice on what would be the best
approach ..
1) To host the application in different domains - one for each company?
2) to host the application in one domain and use the
I originally posted this on General discussion, not realizing there is
a Java specific group, so I am sorry for the redundancy:
I have gotten the basic setup recommended in the docs. I am able to
query the database successfully but as soon as I attempt to persists a
JDO object I get a can't find
Getting error message
NestedThrowablesStackTrace:
java.lang.IllegalArgumentException: can't operate on multiple entity
groups in a single transaction. found both Element {
type: Book
id: 2
}
and Element {
type: Book
id: 4
}
fails on the line
BookService : book.getPage(); as
On Wed, Jan 27, 2010 at 2:44 AM, datanucleus andy_jeffer...@yahoo.com wrote:
Exposing Key to a user is not (in my opinion) a requirement for
*providing* a JDO impl on GAE/J. Other datastores have their own
internal id and we don't expose theirs (e.g db4o).
...
And, of course, all of that
You won't be able to create a thread in App Engine. It's strange that you're
getting a NullPointerException, however. This is documented here:
http://code.google.com/appengine/docs/java/overview.html
On Wed, Jan 27, 2010 at 12:53 PM, Viji Sarathy viji.sara...@gmail.comwrote:
Hi,
I am trying
Also turned on logging of the Datanucleus to the finest level and am
getting the following:
Jan 27, 2010 2:00:08 PM org.datanucleus.PersistenceConfiguration
setProperty
INFO: Property datanucleus.rdbms.sql.allowAllSQLStatements unknown -
will be ignored
Jan 27, 2010 2:00:08 PM
When I'm learning something new one of the things that slows me down is poor
documentation. I think the app engine java documentation Storing Data could be
improved if it used consistent terminology in the area of entity groups, which
is a crucial part of understanding how the data store
Here they are:
/**
* Convenience method: gets a new PersistenceManager
*/
public PersistenceManager newPersistenceManager() {
return this.getPersistenceManagerFactory()
.getPersistenceManager();
}
/**
* Gets the PersistenceManagerFactory that was
Going back to the original poster's request, would you like to provide
JDO (on GAE/J) equivalents of the annotated entities that described in
BAD IDEA #1, BAD IDEA #2, and GOOD IDEA? That is:
I only represent JDO, as a spec, not how GAE/J have implemented it.
The docs for that are provided in
Are there places where this isn't reliably set? In my servlet I am calling:
int contentLength = request.getContentLength();
This works with the following form:
form action=/content_length method=POST enctype=multipart/form-data
input type=file name=somefile /
input type=text
I was wrong with my initial analysis. I had assumed because a
subclass was persisting that the super class would also. When I try
and add a User I get the meta/data missing also in local environment.
I have narrowed it down to one line which triggers the problem:
@Inheritance(strategy =
Since I declared the parameter with query.declareParameters(String
nameParam);, the colon is not valid. As expected I got an exception
org.datanucleus.store.query.QueryCompilerSyntaxException: Explicit
parameters defined for query, yet implicit parameter syntax
(:nameParam) found
On Jan 27, 4:39
I used an extent to verify that a B with a B name exists.
ExtentB e = pm.getExtent(B.class);
IteratorB it = e.iterator();
while (it.hasNext()) {
B rsb = it.next();
System.out.println(rsb.getName());
Thanks Jeff.
There seems to be something at odd:
On Tue, 2010-01-26 at 16:40 -0800, Jeff Schnitzer wrote:
Here's the Objectify version of what's described in the video, capable
of a photo-equivalent of million user fanout:
class Album {
@Id Long id;
String name;
}
class PhotoIndex
Realize that I totally misunderstood the @inheritance properties. I
was assuming that all subclasses would be store in super class, but
realize that it is the opposite. So there is no actual meta data
being generated for the user table, but all the fields are put in the
metadata for subclass.
I'm not entirely sure what you're doing with inheritance, but does this open
issue help?
http://code.google.com/p/datanucleus-appengine/issues/detail?id=25
On Wed, Jan 27, 2010 at 5:08 PM, Will Bunker w...@thebunkers.com wrote:
Realize that I totally misunderstood the @inheritance properties.
On Wed, Jan 27, 2010 at 3:28 PM, datanucleus andy_jeffer...@yahoo.com wrote:
I only represent JDO, as a spec, not how GAE/J have implemented it.
The docs for that are provided in the JDO spec and on the DataNucleus
website. I fail to see anything controversial in how they are
represented in
On Tue, Jan 26, 2010 at 5:41 PM, asianCoolz second.co...@gmail.com wrote:
DatastoreService dataSvc =...;
Query query = new Query(MessageRecipients)
.addFilter(recipients), FilterOperator.EQUAL,userid)
.addSort(date, SortDirection.DESCENDING)
.setKeysOnly(); // -- Only fetch keys!
Is there a library i can use on GAE that will tell me country and
probably state based on ip?
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
Yes, as you can surmise, I'm guessing.
What's this annotation on the name property for?
@Extension(vendorName=datanucleus, key=gae.pk-name, value=true)
Sydney wrote:
Since I declared the parameter with query.declareParameters(String
nameParam);, the colon is not valid. As expected I got an
Local file:
datastore-indexes
!-- Used 2 times in query history --
datastore-index kind=Tenant ancestor=true source=auto
property name=tenants_INTEGER_IDX direction=asc/
/datastore-index
!-- Used 1 time in query history --
datastore-index kind=Party ancestor=true
Jeff,
I simply reply to your rant about JDO annotations. Nowhere do I say
JDO is the solution for all tasks. My goal is not as you state either,
but instead to provide persistence via *any* standardised API to all
available datastores, and to correct misconceptions about those APIs
(whether JDO
39 matches
Mail list logo