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.
インメモリhsqldbを作成し、デフォルトのデータベース/スキーマを使用しています。次に、データベースをプログラムで削除して再作成します。
それ、どうやったら出来るの?
DROP SCHEMA PUBLIC CASCADE
これにより、パブリックスキーマが削除されます。他のスキーマを作成する場合は、PUBLICの代わりにスキーマ名を使用して同じコマンドを使用してください。