I fixed some bugs and added new methods, changed the source code as follows.
Version 0.3
- change the flush mode for the base session to avoid saving the changed domain class automatically into the base database. The flush mode for the base session is changed to the manual.
- add new methods named discardXXX, attachXXX, refreshXXX for the save session.
- added new CustomSavePersistentMethod and use this class when saving
- added new method validateAndDiscard and discardAll which sync between the base session and save session.
http://groups.google.com/group/taapps-sourcecode-libraries/web/grails-split-write-db-0.3.zip
0 件のコメント:
コメントを投稿