> Ok,
> table stuff now:
> What are the following:
> javaName
If javaName is _not_ specified then maping class name for the mapping object
is obtained as follows:
underscores are remoived, first letter and first letter after each
underscore is uppercased, all other letters are lowercased. So
YOUR_TABLE_NAME would become YourTableName.
If javaName attribute _is_ specified then it will be used as the class name
without any modifications.
> skipSql
no CREATE sql will be generated for the table if skipSql="true"
> abstract
not sure. prolly the class will be generated with "abstract" modifier.
> alias - (Note, I know what an alias is, but am not sure how
> it used here =).
alias="true" means that table is an alias. i.e. the table is already defined
elsewhere (for example in turbine's own schema) and is only present here to
satisfy foreingn key references. No class/sql will be generated for the
table.
fedor.
PS. please correct me if I was wrong in anything.
>
> -warner
>
> ----- Original Message -----
> From: "John McNally" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 06, 2001 1:41 PM
> Subject: Re: Torque Schema Reference
>
>
> > it is possible you may have several databases in one schema
> and not want
> > all classes in the same package. the package attribute
> will override
> > that specified in build.properties.
> >
> > baseClass overrides the default parent class for the OM
> classes which is
> > BaseObject.
> > basePeer does the same for the FooPeer classes.
> >
> > The baseClass does not have to extend BaseObject, but you
> will need to
> > implement the Persistent interface somewhere along the chain.
> >
> > basePeer should have BasePeer as the top level class.
> Remember these
> > classes are full of static methods so do not expect oo behavior.
> >
> > defaultIdMethod specifies the idMethod for tables that do
> not include
> > the attribute.
> >
> > john mcnally
> >
> > Warner Onstine wrote:
> > >
> > > Hi all,
> > > I have started to document the database.dtd and what
> everything means
> and
> > > have some question regarding the database tag:
> > > What exactly do the
> > > package, baseClass, basePeer attributes do? Do they
> override settings in
> the
> > > torque build.properties file? What additional
> functionality do they
> provide
> > > the developer?
> > >
> > > By specifying defaultIdMethod at the database level, what
> does that do?
> > >
> > > Thanks
> > > -warner
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]