db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Schema and catalog description update
Date Tue, 06 Sep 2005 17:33:05 GMT
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!


Mime
View raw message