This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Once you've created a database in your native operating system, you can add tables and make other changes with JDBC. But is there a way to create the database itself (other than an in-memory database)? Thanks.
with JDBC ... is there a way to create the database itself
That depends on the definition of database that your [O|R]DBMS is using. In my experience, working with Informix and Oracle, one does allow it (Informix) while the other does not. This is because Oracle equates a "database" with Informix's notion of an "instance", whereas Oracle's definition of a "schema" is parallel to Informix's idea of a database. So, in conclusion, it depends on the DBMS you are using. Unfortunately I couldn't find that detail in your post, so I can't really answer your question, can I? Good Luck, Avi.