Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はHibernateテクノロジーに比較的慣れていないので、それを使用してアプリケーションを作成したいと考えています。実稼働環境で「hibernateの作成テーブル」オプション(hibernate.hbm2ddl.auto)を使用することはお勧めしません。これは、最初のテーブルを作成する必要があり、その後、POJOクラスまたはこの推奨事項がhbm2ddl.autoの更新値のみを対象としていることを意味しますか?
よろしくお願いします!
hibernate.hbm2ddl.auto本番以外のすべてに推奨されます。特に開発用。ですので、ご自由にお使いください。
hibernate.hbm2ddl.auto
本番環境にデプロイする場合にのみ、いくつかのデータベース スクリプトを使用してスキーマを正しく更新します。