SchemaExport#execute()的任何优秀文档? [英] Any good documentation for SchemaExport#execute() ?

查看:101
本文介绍了SchemaExport#execute()的任何优秀文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很疯狂,但是在我看过的所有文档中,没有解释。

您可以在

$

public void execute(boolean script,
boolean export,
boolean justDrop,
boolean justCreate)

也许有人可以在这里记录它,或者分享到博客的链接?

  • 脚本:如果为true,则将所需的SQL输出到控制台。

  • export:如果为true,实际上是将SQL执行到配置的数据源。 / li>
  • justDrop:如果为true,则只输出/执行删除数据结构所需的SQL。
  • justCreate:如果为true,则只创建输出/执行SQL数据结构。


  • This is crazy but in all documentation I looked at, no explanation is written.

    All you can find in the documentation is:

    public void execute(boolean script, boolean export, boolean justDrop, boolean justCreate)

    Maybe someone can document it here or share a link to a blog?

    解决方案

    • script: if true, output the required SQL to the console.
    • export: if true, actually execute the SQL to the configured data source.
    • justDrop: if true, only output/execute SQL required to delete data structures.
    • justCreate: if true, only output/execute SQL required to create data structures.

    这篇关于SchemaExport#execute()的任何优秀文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆