shuyangzhou/liferay-portal — pull request #851 by willnewbury (2014-12-30 20:17:03+00:00)
Title: Database cleanup

I did some work over vacation on the database cleanup test-rule - I figured I would send it to you on the off chance that you were in the office and wanted to take a look at what I had so far. If not, I will pick up here on Friday.

To run on a test just add the testRule and make sure to have a clean database

Still working on:
- currently not detecting all deletes, even though I know they occur
- need to finish the output (currently only outputs the object itself upon insertion)
- was going to put in a property to allow this to be added via command line paramter
- ensure that database queries are concurrenlty safe
- renaming/cleanup/optimization