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.
conn = DriverManager.getConnection("jdbc:derby:mydatabase;create=true",props);
この行は、実行するたびにDBを上書きしますか?DBを一度作成してからそれを使用するにはどうすればよいですか?
あなたがしていることは、Derby で機能します。データベースが存在しない場合は作成し、既に存在する場合は何もしません。