How to get JPA to automatically create Database Tables and columns in Play framework 1.4



down voteaccepted
You must configure it in application.conf
# Specify the ddl generation pattern to use. Set to none to disable it 
# (default to update in DEV mode, and none in PROD mode):
# jpa.ddl=update
update will do the job, but be careful. It works fine if you add a column or table, but not more.

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days