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# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

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