[appengine-java] Re: Inheritance

2010-09-03 Thread David Sowerby
What is BD? The code you depends on which method of communicating to the datastore you use: JPA, JDO, Objectify, Twig for example. Which have you chosen? On Sep 4, 12:01 am, lisandrodc wrote: > Thanks, David. > If you say that inheritance works to persist in the BD. > Will you have some exampl

[appengine-java] building indexes

2010-09-03 Thread aswath satrasala
Hi, * What is the normal time taken to build indexes? * Is it dependent on the volume of data in the app-id? * When I upload a new version and give some time for building the indexes, then this means, the app-id will not be in usable state for some time. * What is the recommended approach to upload

Re: [appengine-java] Re: JDO @Version not working properly?

2010-09-03 Thread bryce cottam
Thanks for the reply James, No, I can't do the read and the write in the same tx because I am doing a non-id based query on a different entity group in between my read and my write. But I think I've resolved the issue. It seems that when I don't do the detatch the issue is gone and the OPT_VERSIO

[appengine-java] Re: Inheritance

2010-09-03 Thread lisandrodc
Thanks, David. If you say that inheritance works to persist in the BD. Will you have some example in code? Regards Lisandro On 3 sep, 16:35, David Sowerby wrote: > I am sorry I cannot read Spanish, but inheritance definitely works. > > On Sep 3, 12:10 am, lisandrodc wrote: > > > Hi! > > Someone

[appengine-java] Re: image background color changed to red when using imagesservice and blobstoreservice

2010-09-03 Thread James
I've seen this with animated or transparent GIFs. On Sep 3, 10:13 am, jay wrote: > Dear All, > > When I used the blobstoreservice and imagesservice to upload a image, > sometimes, some pictures background were changed to red. > > This happend  in dev enviroment. I havn't check it in product env

[appengine-java] ClientLogin > Service name required if all I want is datastore access?

2010-09-03 Thread Dan Billings
I just want to have access to the User object on the server-side, but I don't need access to any of the servers. I the service name required? The documentation says it is, but this seems so basic it may be possible. -- You received this message because you are subscribed to the Google Groups "

[appengine-java] Re: Inheritance

2010-09-03 Thread David Sowerby
I am sorry I cannot read Spanish, but inheritance definitely works. On Sep 3, 12:10 am, lisandrodc wrote: > Hi! > Someone has some code working correctly that uses inheritance? Since > in the link: > > http://code.google.com/intl/es/appengine/docs/java/datastore/relation... > He does not say anyt

Re: [appengine-java] image background color changed to red when using imagesservice and blobstoreservice

2010-09-03 Thread Ikai L (Google)
Can you post an example image? I've never seen this happen. On Fri, Sep 3, 2010 at 7:13 AM, jay wrote: > Dear All, > > When I used the blobstoreservice and imagesservice to upload a image, > sometimes, some pictures background were changed to red. > > This happend in dev enviroment. I havn't ch

Re: [appengine-java] Re: Uncaught exception from servlet

2010-09-03 Thread Ikai L (Google)
We want to address this and I suspect it will be fixed in one of the next few upcoming releases, but I don't have an exact ETA. On Thu, Sep 2, 2010 at 2:44 PM, zachariahyoung wrote: > Ikai, > > I have posted the same issue on the Spring Roo forums. Below is the > reply I got from them. > > With

[appengine-java] Re: What is entity "detached yet this operation requires it to be attached?"

2010-09-03 Thread nksi
hi. I came to be able to merge and persist by the addition of the following to persistence.xml. but,in this case, i need to write dirty code(ex: transaction.begin - commit and rollback). When the flag is true, it is mysterious not to be able to do it. And if the value is true, where does transact

[appengine-java] Re: (datastore) One large query vs lots of small ones

2010-09-03 Thread Rahul Ravikumar
You could just do a IN query. Something like X IN [1,2,3,... ,]. However keep in mind that IN is restricted to using 30 values (as multiple queries are being executed - one per value specified; ) There is a restriction with the IN query for a On Sep 2, 11:11 pm, "Thomas P." wrote: > Good morni

[appengine-java] Re: Applets in GAE

2010-09-03 Thread GuruK
Thanks for your answer. Could you also show how you would integrate an applet into gwt? Thanks On Sep 2, 3:27 pm, "Chris (Google Employee)" wrote: > Applets should be fine as long as the applet jar file(s) are not too > big. (<10M) > If they are bigger, you'll need to upload and deploy your app

[appengine-java] JDO owned many to one relationship question

2010-09-03 Thread Rafael Barrera Oro
Hello there! I have the following owned many to one relationship defined, a project has many files and files belongs to one and only one project (the code is below). Nevertheless, i cant save any relationships, i've managed to save files and projects but no relationships between them and if check

[appengine-java] Java dev_server often takes a long time to start

2010-09-03 Thread Kareen Davidson
When starting the Java SDK dev_server it often (almost always) takes a long time (two or three minutes) to go past the "jetty-6.1.x" line. A few times this was almost instantaneous, but the 2-3m delay is really cramping the edit-test cycle. I've made sure that no other process is using the 8088/808

[appengine-java] Re: Using Spring and couldn't find any JSPs in subdirectories -- Solution

2010-09-03 Thread zachariahyoung
What version of Spring are you using? On Sep 2, 10:25 am, Dustin wrote: > Just thought I'd share something I "figured out".  Spent a good 1/2 > day hacking my you-know-what off trying to figure it out. > > ISSUE: On local dev server, I could easily hit any JSP: > $ curlhttp://localhost:8080/somed

[appengine-java] Re: What is entity "detached yet this operation requires it to be attached?"

2010-09-03 Thread Sekhar
I can see why messing with a new entity outside a transaction before persist is an issue if datanucleus.NontransactionalWrite is set to false, but I have both datanucleus.NontransactionalRead and datanucleus.NontransactionalWrite set to true and I still get the error. The puzzling thing is this err

[appengine-java] Re: app in gwt+gae

2010-09-03 Thread ale
> - Using the tag usually leads to being banned from the Internet. I didn't know I like the effect of marquee, what can I use alternatively? > - The website width is about 3000px on Chrome, that's probably not correct. I know... :-( I have to find and solve this problem... > Otherwise, it

[appengine-java] Re: Unable to update

2010-09-03 Thread ale
Are you behind a proxy? On 2 Set, 10:17, "f...@ncky" wrote: > Hello, > I try do deploy with eclipse and i have that message: > > Unable to update: > java.net.ConnectException: Connection timed out: connect >         at java.net.PlainSocketImpl.socketConnect(Native Method) >         at java.net.Pl

[appengine-java] image background color changed to red when using imagesservice and blobstoreservice

2010-09-03 Thread jay
Dear All, When I used the blobstoreservice and imagesservice to upload a image, sometimes, some pictures background were changed to red. This happend in dev enviroment. I havn't check it in product env. Does somebody has same problem? Jay -- You received this message because you are subsc

Re: [appengine-java] app in gwt+gae

2010-09-03 Thread Arthur Kalmenson
The site looks alright but a couple of things: - Using the tag usually leads to being banned from the Internet. - The website width is about 3000px on Chrome, that's probably not correct. Otherwise, it's not too bad, good job! -- Arthur Kalmenson On Wed, Sep 1, 2010 at 11:37 AM, ale wrote:

[appengine-java] Re: JDO @Version not working properly?

2010-09-03 Thread James
Have you tried querying and saving within the same transaction, instead of separately? On Sep 2, 3:36 am, bcottam wrote: > I'm trying to find out if I'm using the @Version annotation properly > in my project. > I read the "code snippets that work" from Max > Ross:http://gae-java-persistence.blog

Re: [appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread John Patterson
I needed to call a SOAP service using RPC style which is not supported by the Force.com connector. In the end it wasn't hard to roll my own system which simply uses URLFetchService and parses the XML ignoring (or adding) the SOAP envelope rubbish. On 3 Sep 2010, at 15:41, Francois Masurel

[appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread Francois Masurel
I've successfully used some SOAP Services using the WSC library : http://code.google.com/p/sfdc-wsc/ Francois On 3 sep, 10:27, moissinac wrote: > No true/false response possible. > > 1) Response time: if a GAE application calls web services, each call > must be ended in the limited response time

[appengine-java] Re: can we use Web-services in Gooogle app engine

2010-09-03 Thread moissinac
No true/false response possible. 1) Response time: if a GAE application calls web services, each call must be ended in the limited response time offered by Google; so if there is some delay in the response of the called web service, you need to manage this finely; it could be a bit complex 2) Web

Re: [appengine-java] Security problem with App Engine application

2010-09-03 Thread John Patterson
You can write a local Java application that reads data using the JDBC driver and inserts it into your datastore using the RemoteDatastore library: http://code.google.com/p/remote-datastore/ I use this code to read local data from a CSV file and "push" it to either my local App Engine envir

[appengine-java] Re: Security problem with App Engine application

2010-09-03 Thread Didier Durand
Hi, JDBC is not supported on app engine, you must use Google Datastore either directly or via JDO / JPA or via packages like Objectify regards didier On Sep 2, 5:28 pm, Andy Faulkner wrote: > Hi, > > I'm trying to develop an AppEngine application in Java, that will read > some values from a lo

[appengine-java] Re: What is entity "detached yet this operation requires it to be attached?"

2010-09-03 Thread Didier Durand
Hi, This means that you are trying to act on an entity via the Persistence Manager when this same entity is not yet under control of the PM. It usually happens when you do a new on a Class and do not call the persist() function of the PM for that newly created instance before doing what you try t

[appengine-java] Image Service Factory interpolated makeresize

2010-09-03 Thread Thomas P.
Hi all, I have to create something like thumbnails and figured out, Google's Image Service Factory scales down images without interpolation. The result is unacceptable, unfortunately, because it's not a simple gallery or something, it's a graphical multi-zoom-level application which needs this ..