-
Jan 3rd, 2011, 05:38 AM
#1
Roo, GAE and GWT incompatibilities
Hi all,
I have an issue in my persistent beans that contain core GAE types like text clobs:
My bean needs to contain a fiel named detailedDescription of type CLOB
import com.google.appengine.api.datastore.Text;
@RooJavaBean
@RooToString
@RooEntity
public class Place {
private Text detailedDescription;
}
the thing is that Roo generates in the GWT layer classes that use an unexisting TextProxy because it supposes Text is a locally defined bean (or what)
Since it's not, I decided to disable the roo code by writing my own accessors:
public String getDetailedDescription() {
return detailedDescription.getValue();
}
public void setDetailedDescription(String detailedDescription) {
this.detailedDescription = new Text( detailedDescription );
}
this leads to :
[ERROR] Method overloads found in type fr.ploisir.server.domain.Place named setDetailedDescription:
void setDetailedDescription(java.lang.String )
void setDetailedDescription(com.google.appengine.api.da tastore.Text )
any ideas???
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules