Fix table-drop issues.
Merge pull request #1 from bjornerik/jpa-fix

Fix table-drop issues.