You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Craig Russell <Cr...@Sun.COM> on 2005/09/06 19:33:05 UTC
Schema and catalog description update
Javadogs,
Building the TCK, we realize that the description of schema and
catalog attributes could use a bit of help.
<spec>
Catalog and schema attributes apply to jdo, orm, package, class, and
interface elements, and specify the catalog and schema to be used
when defining and using schema. If declared at the jdo or orm level,
it specifies the catalog and/or schema to be used as the default for
classes and interfaces contained therein. If declared at the class or
interface level, it specifies the catalog and/or schema to be used as
the default for tables contained therein.
</spec>
<proposed>
Catalog and schema attributes apply to jdo, orm, package, class, and
interface elements, and specify the catalog and schema to be used
when defining and using schema. Declarations made in the table
attribute override declarations made elsewhere. Declarations made in
the class and interface elements override declarations made in the
package element. Declarations made in the package element override
declarations made in the jdo or orm elements. Declarations made in
the jdo or orm elements override declarations at the
PersistenceManagerFactory. Finally, if not declared in metadata,
defaults from the JDBC Connection are used.
</proposed>
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!