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:

 My Attempt to learn AI  GPT Generative Pretrained Transformer Created by Google in 2017 with the publication of the paper "Attention ...

Popular in last 30 days