the Error in using BlobKey that want to import com.google.appengine how can i solve it ?
On Dec 20, 10:50 pm, "A. Stevko" <andy.ste...@gmail.com> wrote: > The reason your class instances are not available outside of the app engine > jvm is that they have been altered/instrumented by the persistence manager. > See step 3 of this > tutorialhttp://www.datanucleus.org/products/accessplatform_1_0/guides/jdo/tut... > <http://www.datanucleus.org/products/accessplatform_1_0/guides/jdo/tut...> > There are several approaches to designing around this requirement. > For pure java - create Data Transfer Objects that match your persistent > classses. I do this because it provides fine control of the externally > visible model and not expose the entire internal model. > Another approach is to use > Objectifyhttp://code.google.com/p/objectify-appengine/ > Other people like Gileadhttp://sourceforge.net/projects/gilead/ > > On Mon, Dec 20, 2010 at 12:29 AM, Ahmed Shoeib < > > ahmedelsayed.sho...@gmail.com> wrote: > > now i want to use this bean class outside server package > > but i face problem during compilation with ( com.google.appengine ) > > that can't be resolved. > > > @PersistenceCapable(identityType = IdentityType.APPLICATION, > > detachable = "true") > > public class HTNews { > > > �...@primarykey > > �...@persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) > > private Key id; > > �...@persistent > > private String name; > > �...@persistent > > private String linkUrl; > > �...@persistent > > private BlobKey imageKey; > > ..... > > > is there any way to do that ?? > > please help . > > > -- > > 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<google-web-toolkit%2bunsubscr...@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.