Re: why a GET method would store value to database?

2016-02-17 Thread Dan Haywood
How about a pull request, James? Process documented here [1] and details on the Asciidoc here [2]. Suggest add to the hints-n-tips section of the RO viewer's guide [3]; the actual file to change would be [4] Cheers Dan [1] http://isis.apache.org/guides/cgcon.html#_cgcon_contributing [2]

Re: why a GET method would store value to database?

2016-02-17 Thread Chuangyu
Hi, Dan, Thank you for your work. You are right , I call GET method without prefix "s_" originally. Now it works fine with "s_" + id. But this information doesn't documented, would you please put this into document ? Thanks again, James. 2016-02-17 16:41 GMT+08:00 Dan Haywood

Re: why a GET method would store value to database?

2016-02-17 Thread Dan Haywood
Hi James, OK, so I took a look at this yesterday; thanks for the example code. I don't believe there's an issue, but I can see how one might make a mistake to get the behaviour you are seeing. The IdEntity you introduced (which SimpleObject subclases) is defined to use application-defined

Re: Production questions

2016-02-17 Thread Jeroen van der Wal
Schema validation and creation can be configured in persistor_datanucleus.properties [1]. It can be executed in both production and development mode and also works on an existing database. It will only append schema changes so it wil never delete or rename columns or tables. You will have to do

Re: Production questions

2016-02-17 Thread Dan Haywood
Hi David, Nice to hear you're enjoying using Apache Isis; and welcome to the mailing list. Not much to add to Jorg's answer, just a few clarifications: - re DB migration, we have thought of integrating with flyway [1], but actually I think you could just use it "as is", perhaps wrap it in a