[google-appengine] Persisting Lists

2011-07-27 Thread Bruno Sandivilli
Hi, i'm modeling a social network, i use to create a table with the
relations like (userid,friendid)
but in nosql, im planning to simple add a list of id to each user,
like User { List firends }.

Is this wrong(it works, but and the performance) ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Persisting Lists

2011-07-27 Thread Bruno Sandivilli
Ok, thanks! This is not a proble since facebook have this limit too. But for
Followers a have to implement some workarround for this(since followers is a
more big number); Any ideas? Thanks

2011/7/27 Pascal Voitot Dev 

> Hi,
>
> You can look at this post on stackoverflow to have a few more info! The
> most known issues are:
> - the limit of 5000 elements per list
>  - the famous index explosion issue (last GAE version tells that index
> explosion won't happen but I don't know exactly what it means)
>
> Pascal
>
>   On Tue, Jul 26, 2011 at 10:19 PM, Bruno Sandivilli <
> bruno.sandivi...@gmail.com> wrote:
>
>>  Hi, i'm modeling a social network, i use to create a table with the
>> relations like (userid,friendid)
>> but in nosql, im planning to simple add a list of id to each user,
>> like User { List firends }.
>>
>> Is this wrong(it works, but and the performance) ?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Persisting Lists

2011-07-27 Thread Bruno Sandivilli
Ok, Thanks! I catch it. This solved my problem
I was wondering , this is ok for listing users and etc, but the hard thig
is, when the user post a message i will have to send this message to 200.000
users. How would i select this users to append this feed into their
profiles?
Thanks again.

2011/7/27 Ernesto Oltra 

> And for followers, you could too shard the lists. You can have several
> entities, each with, about 100 results or so (or 1000, or 2000, I prefer 100
> for easy of serializing/deserializing). All these would have the user as
> ancestor. When listing, take only one entity, deserializing its lists (only
> 100 results) and show some of them. When listing all, you can use cursors
> and some tricks to have the job done (job = paging =) )
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/tRQCOATsWdUJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Persisting Lists

2011-07-28 Thread Bruno Sandivilli
Thanks! I wall implement this and test to see the results, in performance.
I'll try to post the results here for the information of all.
Thanks again, i'm thinking that Objectify is not a good idea for this, so i
will have to rewrite dome things.

2011/7/27 Ernesto Oltra 

> I thought one thing and I said something completely differente -.-' I meant
> having a model, with the same key_id/key_name as the post and a list of
> users (say 4000/4500). When that super-start with 200.000 followers post
> something, run a taskqueue and save several models with the info. Then, for
> listing, do a key-only query where the user is in the list of affected ones.
> Then, with the keys, obtaing the posts (they have the same key_id/key_name).
> A cron job will delete old notifications.
>
> Most of users will have less than 700/800 followers (if it's something like
> Twitter), so they will consume only one notification model per post. And the
> costs come from indexes (a lot of lists to index), serialization (4000/4500
> items), deserialization (we use it with keys, so almost no cost), deleting
> old notifications (we use keys too)
>
> Anyway, I'm willing to hear new ideas, surely they can largely improve my
> system
>
> Ernesto
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/fC_ZvMvF6MoJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Reverse Engineering for NoSQL

2011-07-28 Thread Bruno Sandivilli
Anyone knows a good software to create a Class Model Diagram for Nosql
dataBases? Especifically for AppeGneine Java?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] interpreting Logs

2011-08-02 Thread Bruno Sandivilli
Hi, is there anynway to analyse the user actions using the log of requests?
I'm thinking in log every action a user does , in my application, like "the
user have clicked in homepage". In an apache server for example, i can
interprete the log and see the sessionid and the get request.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Persisting Lists

2011-08-03 Thread Bruno Sandivilli
So, if an user X adds and User Y, the user Y will become an ancestor of X ?
And if the user Y adds the user W too, so user X will have two
ancestors(???) ? Any code snippets will be greatful.
Thanks again, for the help guys.


2011/8/2 MiuMeet Support 

> By the way, have a look at:
> http://devblog.miumeet.com/2011/08/much-more-efficient-implementation-of.html
>
> It's much more efficient than db.ListProperty(int)
>
> Cheers,
> -Andrin
>
>
> On Thu, Jul 28, 2011 at 6:17 PM, Pascal Voitot Dev <
> pascal.voitot@gmail.com> wrote:
>
>> good idea also :)
>>
>>
>> On Wed, Jul 27, 2011 at 7:17 PM, Ernesto Oltra wrote:
>>
>>> And for followers, you could too shard the lists. You can have several
>>> entities, each with, about 100 results or so (or 1000, or 2000, I prefer 100
>>> for easy of serializing/deserializing). All these would have the user as
>>> ancestor. When listing, take only one entity, deserializing its lists (only
>>> 100 results) and show some of them. When listing all, you can use cursors
>>> and some tricks to have the job done (job = paging =) )
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google App Engine" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msg/google-appengine/-/tRQCOATsWdUJ.
>>>
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-appengine?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>   --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: ERROR 500

2011-08-08 Thread Bruno Sandivilli
Or you can try to request this page in your dev server, so you can see a
detailed stacktrace of the error.


2011/8/8 Tim Hoffman 

> OP post has nothing to do with system anomolies, his traceback shows its a
> bug in his code and an uncaught exception.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/ykshuTlPEDsJ.
>
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] DELETE Query

2011-08-21 Thread Bruno Sandivilli
Hi, how can i delete all entities in datastore using the data viewer?
If i cant, how can i achieve this?
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Subdomains in Appengine

2011-08-22 Thread Bruno Sandivilli
Hi, what if i want to have a subdomain like this orkut.myapp.appspot.com,
can i? So i can administrate the N pasrt of my app (like
facebook.myapp.appspot.com, plus.myapp.appspot.com, etc) .
thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Per thread requests

2011-09-29 Thread Bruno Sandivilli
Hi all, i'm struggling to understand how the perTrheadRequest works in
AppEngine, in terms of performance. Can anyone give me some clue?
I can't get thinks like this :
RemoteServiceServlet rss = (RemoteServiceServlet)service;
rss.init(this.getServletConfig());
 rss.perThreadRequest = this.perThreadRequest;
 rss.perThreadResponse = this.perThreadResponse;
Or the ThreadLocal.
Any code snippets, java if you can, are welcome. Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] HELP PLEASE! Bug!

2011-10-01 Thread Bruno Sandivilli
Hi, i've compiled my project for the first time with the exact spec that i'm
compiling now, it's just the second deployment that i'm doing. I'm getting
this error:

Expecting a stackmap frame at branch target 6 in method

in the development server, and:

java.lang.UnsupportedClassVersionError:
com/myapp/server/GreetingServiceImpl : Unsupported major.minor version
51.0


i'm using the twitter4j lib.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Access BlobStore Programmatically

2011-10-03 Thread Bruno Sandivilli
Hi, is there anyway to put a file on blobstore, programatically? I have to
upload a file to the server, but i want to have some methods in the
UploadServlet, specifically to check the progress of the file, can anyone
help me? thanks

P.S.: Im using Java.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Access BlobStore Programmatically

2011-10-03 Thread Bruno Sandivilli
Sorry, i didn't saw this. But even if i saw, this doesnt implies in the
question. Even if Blobstore is experimental, i dont see any problem with
creating an entry on Blbob store programatically. Anyone can give me a more
explainly response?
Thanks

2011/10/3 Pascal Voitot Dev 

> did you look at the paragraph called "experimental" at the end of the
> blobstore doc?
>
> Pascal
>
> On Mon, Oct 3, 2011 at 8:03 PM, Bruno Sandivilli <
> bruno.sandivi...@gmail.com> wrote:
>
>> Hi, is there anyway to put a file on blobstore, programatically? I have to
>> upload a file to the server, but i want to have some methods in the
>> UploadServlet, specifically to check the progress of the file, can anyone
>> help me? thanks
>>
>> P.S.: Im using Java.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Access BlobStore Programmatically

2011-10-03 Thread Bruno Sandivilli
Thanks guys. This tutorial in Java says they use AppEngine file, wich uses
File Api, i cant find in the docs the limit of the File API, anyone knows?
Thakns again.

2011/10/3 Pascal Voitot Dev 

> Yes this is what I proposed but apparently it's not what bruno expected...
>
>
> On Mon, Oct 3, 2011 at 11:23 PM, Stuart Langley wrote:
>
>>
>> http://code.google.com/appengine/docs/python/blobstore/overview.html#Writing_Files_to_the_Blobstore
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-appengine/-/Q90Kop9OFjkJ.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] ImageService API Privacy

2011-10-04 Thread Bruno Sandivilli
Why, how can i save sensitive data(images) using the ImageService API, since
it provides an world wide visible url ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] ImageService API Privacy

2011-10-05 Thread Bruno Sandivilli
But if my application is critical? I dont wanna tell enybody, that he's
images are in a secure place, but some one hava a 1 / 2^256 chances to get
access. So, if i saved my image in the blobstore, and want to serve this
images within the ImageService, how can i acomplish this, securely?

Thanks

2011/10/4 Nick Johnson 

> Hi Bruno,
>
> The only part of the Images API that provides an external URL is
> get_serving_url. If you want to control access to image blobs, don't use
> that functionality, and serve images yourself (using the blobstore serving
> support) after performing authentication checks.
>
> -Nick Johnson
>
> On Wed, Oct 5, 2011 at 7:13 AM, Bruno Sandivilli <
> bruno.sandivi...@gmail.com> wrote:
>
>> Why, how can i save sensitive data(images) using the ImageService API,
>> since it provides an world wide visible url ?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Fwd: One-To-Many RElations Serialization

2011-10-06 Thread Bruno Sandivilli
-- Forwarded message --
From: Bruno Sandivilli 
Date: 2011/10/6
Subject: One-To-Many RElations Serialization
To: google-web-tool...@googlegroups.com


I'm getting this error when my RPC returns a list of a custom object:
Type 'org.datanucleus.sco.backed.List' was not included in the set of types
which can be serialized by this SerializationPolicy or its Class object
could not be loaded. For security purposes, this type will not be
serialized.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Fwd: One-To-Many RElations Serialization

2011-10-07 Thread Bruno Sandivilli
-- Forwarded message --
From: Bruno Sandivilli 
Date: 2011/10/7
Subject: Re: One-To-Many RElations Serialization
To: google-web-tool...@googlegroups.com


PersistenceManager pm = PMF.get().getPersistenceManager();
javax.jdo.Query query = (javax.jdo.Query) pm.newQuery(Objetos.class);
 query.setFilter("name == nameParam");
query.declareParameters("String nameParam");
 List listaMyInnerList = new ArrayList();
List listaMyMainList  = (List) query.execute(nameParam);
 if(listaMyMainList .size() > 0)
{
listaMyInnerList.addAll(listaMyMainList.get(0).getMyInnerList());
 }
return new ArrayList(listaMyInnerList);
or
   return listaMyInnerList;
it gives the same error of Type 'org.datanucleus.sco.backed.ArrayList'

anyone?

2011/10/7 Bruno Sandivilli 

> Thanks Buddy!
> But if i'm not using Hibernate? I'm using pure GWT, do i have to use the
>  in web.xml? How can i achieve this? Thanks
>
>
> 2011/10/7 Juan Pablo Gardella 
>
>> You can see the same problem but with hibernate 
>> here<http://code.google.com/intl/es/webtoolkit/articles/using_gwt_with_hibernate.html>.
>> In this page show some strategies to resolve the problem. In my case I don't
>> adopt this strategies. I do a filter. In Pro Web 
>> 2.0<http://books.google.com/books?id=OG816JSZYVcC&pg=PA159&lpg=PA159&dq=gwt+hibernate+filter&source=bl&ots=BM1JxFq0h9&sig=gTKoh1ZBWs26d5vjRi-7CP4fo20&hl=es&ei=R0OPTu_4GZC1hAfXmc32Dw&sa=X&oi=book_result&ct=result&resnum=7&ved=0CF0Q6AEwBg#v=onepage&q=gwt%20hibernate%20filter&f=false>explain
>>  the use of a
>> *filter*. A class that, in your case, for example convert
>> org.datanucleus.sco.backed.List in java.util.List. This filter intercept the
>> classes before send to client. Here
>> <https://bitbucket.org/gardellajuanpablo/gwt-sample/src/8aba86d82778/src/main/java/com/foo/server/rpc/hibernate/HibernateFilter.java>you
>> have an example of a Hibernate filter compatible with GWT 2.4.0 and how
>> integrate in a sample project.
>>
>> Juan
>>
>>
>>
>> 2011/10/7 Bruno Sandivilli 
>>
>>> How can i serializa this List ?
>>>
>>>
>>> 2011/10/7 Juan Pablo Gardella 
>>>
>>>> What's your question?
>>>>
>>>> 2011/10/6 Bruno Sandivilli 
>>>>
>>>>>  I'm getting this error when my RPC returns a list of a custom object:
>>>>> Type 'org.datanucleus.sco.backed.List' was not included in the set of
>>>>> types which can be serialized by this SerializationPolicy or its Class
>>>>> object could not be loaded. For security purposes, this type will not be
>>>>> serialized.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google Web Toolkit" group.
>>>>> To post to this group, send email to
>>>>> google-web-tool...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> google-web-tool...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to google-web-tool...@googlegroups.com
>>> .
>>> To unsubscribe from this group, send email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Fwd: One-To-Many RElations Serialization

2011-10-10 Thread Bruno Sandivilli
-- Forwarded message --
From: Bruno Sandivilli 
Date: 2011/10/10
Subject: Re: One-To-Many RElations Serialization
To: google-web-tool...@googlegroups.com


Thanks for the help from you guys!
But, yes im using IsSEriazeble. I've changed my code to detachable in both
classes, but, when i call:

if(listMyClass.size() > 0)
 {
for (MyClass myClass : listMyClass) {
return (pm.detachCopy(myClass.getMyInnerClassList()));
 }
}
return null;


gives me : The class "org.datanucleus.sco.backed.List" is not persistable.
This means that it either hasnt been enhanced, or that the enhanced version
of the file is not in the CLASSPATH (or is hidden by an unenhanced version),
or the Meta-Data/annotations for the class are not found.


debugging this, i've reached this : assertClassPersistable in the class
ObjectMAnagerImpl. This function :

public void assertClassPersistable(Class cls)
{
if (cls != null &&
!getOMFContext().getApiAdapter().isPersistable(cls) && !cls.isInterface())
{
throw new ClassNotPersistableException(cls.getName());
}
if (!hasPersistenceInformationForClass(cls))
{
throw new NoPersistenceInformationException(cls.getName());
}
}


2011/10/9 Brandon Donnelson 

>
> @PersistenceCapable(detachable="true")
>
>
> detached = pm.detachCopy(employee);
>
>
> Those will create a java.util List object. That should fix it.
>
> Brandon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/ikusuY9VjW0J.
>
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Conversion API OCR

2011-10-31 Thread Bruno Sandivilli
Hi, i can't find any topic on OCR, in the Conversion API docs. It mesnions
the OCR feature, but dont give any example or reference. Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.