db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <edenc...@gmail.com>
Subject why does derby create databases as root?
Date Thu, 07 Apr 2005 21:21:49 GMT
Hi,

I've been using derby as a embedded database.
When I used java code from a servlet to create a database, it create
the db with root ownership.
Why is this.
here's a snippet of my code.

 ______________________________
/
try {
   Properties p = new Properties();
   p.put("derby.system.home", "/myProgs/java/derby10");
   p.put("create", "true");
   Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
   Connection con =
DriverManager.getConnection("jdbc:derby:/myProgs/java/derby10/lukeDB3",
p);
\______________________________
-- 
............._
:|  .| |.|/.|_ 
:|__.|_|.|\.|_
:0421 276 282.

Mime
View raw message