[appengine-java] Updating a model class
Hello. I'm trying to make changes to my model class. I have a class called Product that has a field category, which is a String. public class Product { ... private String category; ... } Now, I've decided that a Product can have different categories. I made the field a List instead of a String. My problem is, when I check with the data viewer, the changes don't get reflected. When I try to create an entity through the data viewer, I still can't see the categories field. I've also tried just adding categories as new field such that the model has both category and categories, but still no 'categories' when I tried to create a new entity. -- 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. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: updating object doesn't work anymore
No not yet. -- 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. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
[appengine-java] Re: updating object doesn't work anymore
Anyone? -- 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. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.
[appengine-java] Service logic conflicts with transaction policy for entity groups
Hello. I'm trying to create a service method that encapsulates a particular business logic. I want to make this feature transactional such that its job is accomplished atomically(?). The problem is the service logic involves accessing different entities that do not belong to the same entity group which is not allowed in GAE. At the moment, I've temporarily disabled transaction management to the service method. However, I feel I'd need to manage transactions eventually. I'm thinking of revising the model design but from how I see it, the model classes are good as they are--unrelated by ownership. Btw, within the service logic is some methods that are transactional. I'm using Spring framework to annotate transaction management. Can anyone help me on how I can go about this? 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Object manager has been closed (GAE with Spring)
On Aug 24, 4:44 am, objectuser kevin.k.le...@gmail.com wrote: Do you get it when you're trying to walk the graph on an object? If you add that property to the defaultFetchGroup does it fix it? I'm not sure I got that. What I do with the test, I call on a DAO object that uses JdoTemplate to accomplish its task. Then, I invoke a JdoTemplate from within my test case built around the same PersistenceManagerFactory to help me check on the side effects of the data access method I'm testing--asserting states, etc. --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: Object manager has been closed (GAE with Spring)
On Aug 25, 1:44 am, objectuser kevin.k.le...@gmail.com wrote: +1 to Wagner for a better way of determining the issue. :) Yeah, that pretty much says it. If I'm not mistaken, JdoTemplate takes the persistence manager from the OpenPersistenceManagerInViewFilter, or any existing transaction. I'll check on this. --~--~-~--~~~---~--~~ 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-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---