Hello Christian,
Where you have
public class Foo
{
...
}
I use
@PersistenceCapable(identityType = IdentityType.APPLICATION,
detachable = "true")
public class Foo implements Serializable
{
...
}
instead. The "@PersistenceCapable" tag might help(?)
Ian
On Jul 20, 7:18
Hi,
I have succeed in getting the local_db.bin after I change my Student
class.
Initially my Student class is like this:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class Student {
@PrimaryKey
@Persistent
private String googleAccount;
@Persistent
pri
How to store complex objects? I have an object in its list of child objects
in the child object has four list of child objects when calling
makePersistent (person) object is not saved. Help
I am call pm.makePersistent(); but Lists
@Persistent
private List choosedElements
Есть ли какое -нибудь ограничение в GAE JDO на дочерние объекты или
какая - нибудь особеность при сохранение сложных объектов
pm.makePersistent(offerEntity); pm.makePersistent(PersonEntity );
(используеться транзакция) но списки не сохраняются
@Persistent
private List choosedElemen
Hi
I have to redirect from one class to another class in the same
package
here is my code
here sub is submit button
sub.addClickHandler(new ClickHandler()
{
public void onClick(ClickEvent event)
{
Window.open("com.purchase.request.client.Purchase_New",
"_self", "");
}
}
);
Here co
I want to run a query and receive a few keys, which I will delete
afterwards. The problem is that queries return the entire entity,
unnecessary work for the data store and the client (which is also
reflected as slower page performance and higher bills).
All I want from the query is the keys.
In SQ
Seems strange one GAE app loads fine but the other has problems:_
Unable to update:
com.google.appengine.tools.admin.JspCompilationException: Failed to
compile jsp files.
at
com.google.appengine.tools.admin.Application.compileJsps(Application.java:
389)
at
com.google.appengine.tool
try explicitly setting path to local db in your run configuration in
eclipse under Arguments tab / VM args:
-Ddatastore.backing_store=
This should create a new bin file if it does not exist.
Thanks,
G
On Jul 20, 5:54 am, Erencie wrote:
> Hi R,
>
> Yes I tried to save persistence objects using
Any information on how to use this object?
For example I have entities that have a point, and I want to query all
the entities inside a rectangle.
How do create a query predicate for points in a rectangle?
Another question is whether those can be indexed, or be part of a
composite index (index on
Hi Ronmell,
I haven't run the examples. My application runs perfectly on local
server. but after deployment, it gives the error.
On Jul 21, 12:21 am, Ronmell Fuentes wrote:
> when running the examples you've got the same error?
>
> 2010/7/20 Sajid
>
> > I have already checked that. All jars are
Yes, it will need more processing: each new / updated / deleted entity
will be reflected in each of those indexes.
Lots of details at http://code.google.com/appengine/articles/index_building.html
didier
On Jul 21, 12:54 am, Tapir wrote:
> Now my app has many unused indexes.
> Will them affect t
No they are not, that would actually create two indexes even though
your queries against these indexes might be fairly interchangeable.
On Jul 20, 6:57 pm, Tapir wrote:
>
>
>
>
>
>
>
>
>
--
You received this message because you are subscri
--
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
go
Now my app has many unused indexes.
Will them affect the entity creating and updating efficiency?
--
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 unsub
Hello,
I find the solution, if you use an Google App account you need to
connect to your admin console from and only from :
https://appengine.google.com/a/your-domain.com.
The password to use is your Google App account password and not your
Google Accout password.
I found the solution here :
http:
when running the examples you've got the same error?
2010/7/20 Sajid
> I have already checked that. All jars are in WEB-INF lib folder.
>
> On Jul 20, 11:58 pm, Ronmell Fuentes wrote:
> > Hi Sajid.
> >
> > Try to copy all the .jar files used by your app to the /WAR/lib directory
> of
> > your
I have already checked that. All jars are in WEB-INF lib folder.
On Jul 20, 11:58 pm, Ronmell Fuentes wrote:
> Hi Sajid.
>
> Try to copy all the .jar files used by your app to the /WAR/lib directory of
> your app.
>
> Ronmell
>
> 2010/7/20 Sajid
>
> > Hi
>
> > I am using spring 3, jsf2 and jpa.
Hi Sajid.
Try to copy all the .jar files used by your app to the /WAR/lib directory of
your app.
Ronmell
2010/7/20 Sajid
> Hi
>
> I am using spring 3, jsf2 and jpa. I load entity manager factory sing
> spring context xml. However, I am getting class not found error for
> javax.persistence.Ent
Hi
I am using spring 3, jsf2 and jpa. I load entity manager factory sing
spring context xml. However, I am getting class not found error for
javax.persistence.EntityManagerFactory
StackTrace:
#
javax.servlet.ServletException: java.lang.RuntimeException:
java.lang.ClassNotFoundException:
javax.pe
have you tried to run the examples? did they work?
2010/7/16 Alex
> yup im sure of it, somehow the project name in eclipse 3.5 cannot be
> the same as package name (same thing happens to me when i was making a
> wave gadget with cobogwave)
>
> On Jul 17, 12:04 am, Ronmell Fuentes wrote:
> > ar
Hi,
I have a Model something like this...
public class Foo {
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@PrimaryKey private Key id;
@Element(dependent = "true")
@Persistent(mappedBy="foo") private Set bars = new
HashSet();
...
}
public class Bar {
@Persistent(
Ok.
some issues.
1. Student the Class must be persistence with all the anotations that JDO
states.
2. Try to print in the console of your app the data, before printing it on a
Jsp o html.
3. when the message that says: "no local_db.bin exists" it also says
something like it'll be created right?.
4
Start with the documentation, it includes tutorials. If you have
specific problems that haven't been answered before, ask here.
On Jul 19, 3:57 am, Tan Duy wrote:
> Hi there,
> Now, I think that I should create an application on GAE.
> It will list some libraries on Google Map. We can search, lo
Anyone? Would appreciate just about any help you can give!
On Jul 15, 8:45 am, Sekhar wrote:
> I pretty frequently get an error for my JPA entities saying an entity
> is "is detached yet this operation requires it to be attached" and the
> transaction isrolledback:
> "com.google.apphosting.utils.
Hi Manish,
If you mean embed other objects (rather than raw types like boolean,
int, etc...) in a persistent class: yes, it is possible.
It's called an embedded object
Check
http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Embedded_Classes
regards
didier
On Jul 20, 12:36
Hi R,
Yes I tried to save persistence objects using sth like this in the
servlet:
Student newStudent = new Student(googleID, fullName,
matricNum, email, team);
PersistenceManager pm = PMF.get().getPersistenceManager();
try {
pm.ma
Hi
Is it possible to store objects in data store other than data type
specified in G A E.
--
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 f
Everytime when my servlet use EntityManager I got a lot of info level
log like this:
org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints:
Bundle "org.datanucleus.jpa" has an optional dependency to
"org.datanucleus.enhancer" but it cannot be resolved
There are many of them, saying t
Hi:
You can't let GAE/J Blobstore API serve the blob for you. You have
to read the blob content and serve by yourself. This approach reduces
to normal/regular pdf file download which is trivial.
On 7月19日, 下午10時36分, chrischelmi wrote:
> You are right conor, i set the content to application/pd
Hi:
I don't think so. I have uploaded lots of files onto production
server without any problem. I guess the problem was due to your python
script. Anyway you can unit test your upload handler of the production
server with a browser. If the browser can upload files successfully,
you can be sure
I forgot to metion that If you used jsp as handler, you should call
the response.sendRedirect(...) in your jsp's scriptlet.
--
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...@
Hi John,
Thanks a lot for the pointer to the article!
Can I understand that what the DataStore Viewer shows as Encoded key
is what the article refers to as "prefix delta encoding scheme" ?
It is supposed to save space by in my cases keys (encoded and decoded)
are of approx same size.
didier
Cou
Hi:
The below document is copied from Blobstore doc. (
http://code.google.com/intl/en/appengine/docs/java/blobstore/overview.html
)
To prompt a user to upload a Blobstore value, your app presents a web
form with a file upload field. The app generates the form's action URL
by calling the Blobs
Yes, the kind name is used in the key along with the id/name and
ancestor path and all contribute to the size.
Details: http://code.google.com/appengine/articles/storage_breakdown.html
On 20 Jul 2010, at 15:41, Didier Durand wrote:
@John Patterson,
I did not mention the Class / Kind in my an
@John Patterson,
I did not mention the Class / Kind in my answer for the following
reason: when I go to "Datastore Viewer" in the GAE Console and for
every entity, I see "Decoded key" and "Encoded key"
The encoded key is always - at least in my experience - a huge string
whatever the size of the d
35 matches
Mail list logo