Outofmemory when call findxxx many times Requestfactory+JPA

2011-02-25 Thread Mike.G
hi all: I'm not sure i'm using requestfactory+JPA the right way even through i followed the example(expense) step by step. the memory at server side increase everytime i query some data from Entityi use Mysql, after several times, the server heap overflow. server side: public static

Re: Outofmemory when call findxxx many times Requestfactory+JPA

2011-02-25 Thread Mike.G
Hi: Thank you for your answer Jack, i followed your note and tried, but seem it did not behave well, the server memory soon increased and finally eat up the physical memory. i'm using Hibernate JPA 3.6 and Jetty. About using GWT RPC, i'll try it later. thanks. -- You received this message

Is there a way to copy all maven referenced jars to the war/WEB-INF/lib

2011-01-30 Thread Mike.G
hi all: i'm using maven to organize my gwt project, everything works well but one defect: Is there a way to copy all maven referenced jars to the war/WEB-INF/lib? when i use maven POM to add a new depencies, i have to copy the jar and it's dependent jar to WEB-INF/lib, usually i may forget

Re: chrome - prompting me to install gwt plugin but already installed

2011-01-27 Thread Mike.G
Chrome 8.0.552.237 has same problems too. -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to

Re: Announcing GPE/GWT 2.2M1

2011-01-27 Thread Mike.G
good news -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Re: My GWT GData OAuth Demo

2011-01-15 Thread Mike.G
thanks -- 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-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more

Ideal vs Reality: How can RequestFactory deal with this situation?

2011-01-15 Thread Mike.G
hi All: As we know the reality has never been perfect, i am working on a legacy system with bad designed DB tables and i can't modify the tables for some reason, i can only read. On perfect situation, Entity A has a list of Entity B (both mapped as MySql table with 1:n relationship), when

Re: Ideal vs Reality: How can RequestFactory deal with this situation?

2011-01-15 Thread Mike.G
thanks Thomas, however maybe you misunderstand my meaning? i'd like to do the *parse and fetch Bs* when the user just want to see only one A(the detail view), but if the user want to see a list of As, i should not parse and fetch B, because it's too heavy. -- You received this message because

RequestFactory JPA: Does the table has to has a field called Version?

2011-01-12 Thread Mike.G
hi All: From the GWT doc it says: one of 4 special methods are required on all entities as they are used by the RequestFactory servlet is: Integer getVersion() but i am working on a system that already has a DB schema(MySql), i'd like to use RF to do CRUD operations, so do i have to insert

Re: RequestFactory JPA: Does the table has to has a field called Version?

2011-01-12 Thread Mike.G
i try to add @Transient to the version field in Entity, however it return exception: SEVERE: Unexpected error com.google.gwt.requestfactory.server.UnexpectedException: The persisted entity with id 2110 has a null version at

Re: RequestFactory JPA: Does the table has to has a field called Version?

2011-01-12 Thread Mike.G
thanks very very much for your reply, i even didn't know that before. i'll see that right now. -- 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

People who familiar with Roo generated GWT apps please help

2011-01-09 Thread Mike.G
hi all: i'm using Roo+GWT to make my apps, i removed Spring related code because i don't familiar with that. now seem everything works fine, but i met some difficulties when i have to make some changes to UI. As we know by default, the Entity detail view and edit view are displayed under the

Re: People who familiar with Roo generated GWT apps please help

2011-01-09 Thread Mike.G
thanks very much, with your guide i managed to finish it in less 10 minutes. and i've saved your blog too it's so helpful! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Using RequestFactory and Editor: How to deal with server side merge in bidirectional association?

2011-01-02 Thread Mike.G
hi all: Suppose i have two Entity A and B, and in A i have a List of B and they are bidirectional association. At the client side, i have Aproxy and Bproxy corresponding to Entity A and B, using editor i can add and delete the Bproxy from Aproxy. Suppose we retrieve A from DB, the A

Re: Using RequestFactory and Editor: How to deal with server side merge in bidirectional association?

2011-01-02 Thread Mike.G
thanks -- 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