db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Embretsen <John.Embret...@Sun.COM>
Subject Re: Schema Creation
Date Wed, 13 Feb 2008 16:08:39 GMT
Jazarine Jamal wrote:
> Hi,
>  
> I just wanted to know this.
> In the embedded ij tool, is a schema created when the user is created, 
> or at some later point of time?

With Derby, the schema can either be created explicitly by a
"CREATE SCHEMA" statement or implicitly by creating an object (table etc.) in
that schema. See also:

http://db.apache.org/derby/faq.html#schema_exist

This has the odd side-effect that in some special circumstances your default
schema may not exist yet even if you have a valid connection to the database.


-- 
John





Mime
View raw message