java - ebean run ddl only if the database does not exist -


if have ddl.generate , ddl.run set true, drop database when restart app.

if add ddl.createonly=true, throw out exception when create ebean server instance.

question:

is there anyway me "please create database if not exist, or don't if database created"?

please create database if not exist

no there not.


Comments

Popular posts from this blog

c# - Pausing a storyboard on TabItem mouse over -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -