How to handle updating JDO class definitions on Google App Engine
- by Spines
I'm using the Google app engine and JDO. What is the best way to update a JDO class definition without having to wipe the data store contents first?
I'm not sure if this is specific to JDO on GAE, but I noticed that when I simply change the name of one of my persistent fields from svotes to votes, an exception is thrown (java.lang.NoSuchFieldError: svotes).
I expect once my site goes live I might want to make some changes to my JDO class definitions, such as adding a field or something. Any suggestions for how to update the data definitions without having to wipe the database?