Yea, I actually figured it out yesterday. I am using dynamic queries
and that seems to be the only solution as of now from my side. Thanks
for your time though.
public List getEntriesOnSearch(String location, String
btech) {
StringBuffer selectClause = new StringBuffer("select from
com.strutsgo
Ok! I'll try that and report back ASAP! Thanks!
On Mar 23, 6:47 am, Simon wrote:
> Your relationship looks to be unidirectional (unless you didn't post
> all of the XYZMusicList class).
>
> Looking at the document link you posted it would seem to suggest that
> you need to either use the Join ann
Feel free to post back if you make any improvements. Code follows:
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.logging.Logger;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.internet.MimeBodyPa
That's something I didn't knew. It's something usefull to know
On Tue, Mar 23, 2010 at 10:19 PM, John Patterson wrote:
> Yeah the annotations are fine. The GWT compiler does not include them in
> the compiled JS code.
>
> On 24 Mar 2010, at 09:09, Christian Goudreau wrote:
>
> Yes, a lot actuall
Yeah the annotations are fine. The GWT compiler does not include them
in the compiled JS code.
On 24 Mar 2010, at 09:09, Christian Goudreau wrote:
Yes, a lot actually. I was asking myself that question since I
introduced in my POJO's some TWIG annotation and didn't know if
those informati
I'm getting this exception trying to use GAE to login in my local
environment.
java.lang.NullPointerException
at
com.google.appengine.api.users.dev.LoginCookieUtils.encodeEmailAsUserId(LoginCookieUtils.java:
89)
at
com.google.appengine.api.users.dev.LoginCookieUtils.createCookie(Lo
Yes, a lot actually. I was asking myself that question since I introduced in
my POJO's some TWIG annotation and didn't know if those information are
compatible with GWT-RPC Mecanism.
I'll give a deeper look into twig tomorow.
Thanks
Christian
On Tue, Mar 23, 2010 at 10:03 PM, John Patterson wro
Hi Damob,
They work perfectly together because your data models are *pure* POJOs
with no dependencies on the datastore at all.
In contrast, in JDO, JPA, Objectify and SimpleDS your data models
usually use low-level Keys and possibly other types. This means that
you either need to make an
Hello Ikai L thanks for your reply.
You just have to persist the Person first, or create a Person, attach
Telephone
entities, then call pm.makePersistent() on the Person.
>>but this is problem. Telephone must not belong to Person.
Telephone module manaer telephone create/update/delete/
Is TestEntity.position a primitive datatype? Primitive datatypes can't
be null so that's probably the problem. Use Integer instead of int,
Double instead of double etc. And be aware that the property will be
null for all your existing entities.
Cheers, Chris
On Mar 23, 2:49 pm, sree wrote:
> whe
If you're using GWT, you can at least skip the GWT compile on deploy
by using appcfg update instead of the deploy button in Eclipse.
/dmc
http://turbomanage.wordpress.com
On Mar 22, 4:38 pm, Steve Pritchard wrote:
> Hi all,
>
> Is there any way to tweak or add a static file (such as a .css file)
I'm not exactly sure what you mean when you say GWT applications go to
a single URL. Have you asked on the Google Web Toolkit groups
(https://groups.google.com/group/google-web-toolkit?pli=1)? This is a
generic servlet question, so any answer you are given should also
apply to App Engine.
On Tue,
Ah, I see. I misunderstood your original question: I thought you
wanted to deploy a single GWT frontend and have it talk to multiple
App Engine backends.
On Tue, Mar 23, 2010 at 5:32 PM, Kyle Baley wrote:
> Not sure I follow. We plan on deploying it only once, on AppEngine.
> We'd like to use a s
Is TestEntity.position a primitive datatype? Primitive datatypes can't
be null so that's probably your problem.
On Mar 23, 2:49 pm, sree wrote:
> when a new property is added for an existing entity, new entity will
> be created along with the new property,
> whereas the old entity shows as missin
I think you have to use two queries and merge the results afterwards
in your code. As you said, datastore does not allow you to use
inequality filters and logical "or" operators on more than one
property. I guess from a performance perspective this doesn't make
much difference. Appengine would have
Not sure I follow. We plan on deploying it only once, on AppEngine.
We'd like to use a single instance of the app but differentiate one
customer's implementation from another's via the URL. It's similar to
twitter where each user is differentiated like twitter.com/user1,
twitter.com/user2, etc.
I
I get values around 100, but according to the doc the value should
be in seconds. But I guess it's rather 1 / 10 seconds or 1 /
100 seconds (where the latter one seems to be more reasonable).
following code:
long start = qs.getCpuTimeInMegaCycles();
//do something long running
long en
I just did a quick search and found this:
http://jexcelapi.sourceforge.net
Not sure if it'll work since many of the times these APIs require disk
access. There's a ton more:
http://www.google.com/search?rlz=1C1CHMA_enUS360US360&sourceid=chrome&ie=UTF-8&q=java+excel
On Tue, Mar 23, 2010 at 12:16
The snippet I posted works fine outside of GAE. Anybody know what is
going on?
On Mar 19, 12:18 pm, fletcher wrote:
> Anyone? This is really frustrating!
>
> On Mar 17, 1:10 pm, fletcher wrote:
>
> > I'm using the following method to fetch a page that I need to supply a
> > cookie in order to vi
You'll need to deploy the GWT app once per domain, unless you use a
proxy. The browser security model won't let you make XHR calls to a
different domain.
On Tue, Mar 23, 2010 at 5:54 AM, Kyle Baley wrote:
> We're building a GWT app that I think will be a multi-tenant one,
> assuming my knowledge
Yes, the documentation is here:
http://code.google.com/appengine/docs/java/datastore/relationships.html#Relationships_Entity_Groups_and_Transactions
You would make the Person the parent entity, and you would define
Telephone like this?
@PersistenceCapable
public class Telephone {
private Key
I was wondering how well those two works together and how to link
them.
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 g
Hi Jake,
There's nothing in the Google Plugin for Eclipse that makes it incompatible
with Maven+App Engine, per se. We just chose to add FAQs specifically for
Maven+GWT since that case is probably a bit more complicated, because it
requires using additional launch arguments, etc. On the flip sid
Jake,
I think my blog post might help you a bit:
http://hamandeggs.wordpress.com/2010/01/26/how-to-gae-eclipse-maven/
I haven't had time to fiddle with the 1.3 version of the Eclipse Plugin
but there are some promising changes that might at least simplify the
process.
-Hannu
On 23.3.2010 15:22
I am trying to remove an object from the datastore and I want to know
if my approach can be made to work with transactions.
I have a collection of entities that all participate in owned
relationships. However, one entity has an unowned collection of keys
that refer to another entity.
Here is the
has anyone got this running? Even i want my application to generate a
report in the form of an excel. Can this be done on the GAE platform?
I dont see any threads in Java. However looks like python supports it.
On Mar 11, 7:57 am, Just A Guy Trying to Get By
wrote:
> Problem: I have an applicatio
I am trying to remove an object from the datastore without and I want
to know if my approach can be made to work with transactions.
I have a collection of entities that all participate in owned
relationships. However, one entity has an unowned collection of keys
that refer to another entity.
Here
hello
how can I get URIINFO object in Google app engine from jersey API.we
use this class object by context inject annotation in JEE container but app
engine it produces exception.
*InitialContext* is a restricted class. Please see the Google *App
Engine*developer's
guide for more details
--
MODEL OBJECTS:
@PersistenceCapable(detachable = "true")
@FetchGroup(name = "children", members = { @Persistent(name =
"_Children") })
public class Parent {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key _ID;
@Persistent
private String
I've been scratching my head over this one for a while...
I have a parent object that participates in an owned one-to-many
relationship with a child object. After the parent object is created,
it is retrieved with its collection of children in the selected fetch
group, and then detached. Then, I
That would be great if you could post your workaround!
Thanks
On Mar 23, 6:13 pm, moca wrote:
> I have a fix for this that i will share later this evening, but i also
> ran into this issue. It would be good to have this fixed.
>
> My fix basically entails parsing the native stream when i encount
Hi,
Can we generate excel sheets using the google app engine? I have seen
some posts and support for Python but nothing on the Java side.
Is it possible to generate an Excel report using the google app
engine? Or shud we rely on the streams to generate a workbook.
Thanks.
--
You received this
I have a class College declared with location and fName String fields.
I am trying to retrieve values from that table using the following
query. On execution it says that SQL construct is not supported by the
JDO in googe app engine.
Query query = pm.newQuery("javax.jdo.query.SQL", "select * fro
Are you serving the applet out of WEB-INF/lib somehow? We should only be
processing jars in that directory.
If you're serving this files to clients you should be able to either place
it outside of WEB-INF and let it be served as any other static file, or
store it somewhere other than WEB-INF/lib
I have a fix for this that i will share later this evening, but i also
ran into this issue. It would be good to have this fixed.
My fix basically entails parsing the native stream when i encounter
this error. There is an apache library which is doing the parsing. I
made a simple alteration to a pi
Hey all,
I have a signed java applet (voice recorder) that I've been using on
GAE/J for the past few months. I use maven-jar-signer to do the
signing. Everything had been working great but I upgraded to SDK
1.3.1 and saw that precompilation was causing the following error:
failed wicket.google
Hi,
I think that this thread is useful.
http://groups.google.com/group/google-appengine-java/browse_thread/thread/d13d469752c825e7
Hope this helps,
thanks.
>when a new property is added for an existing entity, new entity will
>be created along with the new property,
>whereas the old entity sho
Hello,
I was developing a web application and I needed to add chart
visualization with google visualization api and then the servlet that
I was using was modified to inherit from DataSourceServlet instead of
HttpServlet.
I tried to deploy but now I have 404 http error when I am testing to
pass par
when a new property is added for an existing entity, new entity will
be created along with the new property,
whereas the old entity shows as missing for the new property.
when a query is executed
the following exception is shown.
Exception : java.lang.NullPointerException: Datastore entity with
Hey,
I see now - the front page lists Maven support (and other things), but
under GWT. I was under the impression that they were closely linked
enough that it would work for me as well. I also don't really
understand what about GWT would suddenly allow me to use Maven to
resolve dependencies? B
Hi,
Is the problem solved?
I tried now.
Seems to run normally.
It is likely to have to look for other causes if it is not possible to
execute it normally.
Please try.
thanks.
>Good morning,
>
>From yesterday on and despite NO change in my code, user
>authentication (using LoginInfo describe
Jasper?
--
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.
We're building a GWT app that I think will be a multi-tenant one,
assuming my knowledge of the term is correct. We'd like customers to
access the app at mysite.com/customerName/myapp.html. Is this possible
to do with a GWT app and within the constraints of GAE? Can a single
instance of a GWT app be
Your relationship looks to be unidirectional (unless you didn't post
all of the XYZMusicList class).
Looking at the document link you posted it would seem to suggest that
you need to either use the Join annotation on the "djLists" element or
either annotate the list as a collection with a foreign
It depends why you're making the tweaks - if you are just testing the
CSS to make sure a certain "tweak" has the desired affect, then you
could use something like Firebug to change the CSS on a particular
page until it's correct. However, if you want that change to persist
across multiple pages th
Hi!
It is pretty common usecase for public sites - admin uploads some
static html+css+images via and it is served from some servlet in
application in structured way.
Of course in GAE it is imposible directly, but could be simulated.
We could store hierarchical info in some entity structure an
46 matches
Mail list logo