Hello Werner, I'm trying to implement some (maybe all) of the features here: http://jira.codehaus.org/browse/CASTOR-1527
Basically, I want to add support for defining the following in a castor map (specifically in the sql element): - schema name - field size (length, decimals, precision) - default value - allow field to be null - define for which relation foreign keys should be generated - define for which fields index should be generated - define for which fields unique keys should be generated Once this is done, I'll implement the logic to support these items in the castor ddl generator. Thanks for the quick reply, Ty ----- Original Message ---- From: Werner Guttmann <[EMAIL PROTECTED]> To: dev@castor.codehaus.org Sent: Monday, October 22, 2007 3:22:09 PM Subject: Re: [castor-dev] Extending JDO Mapping Hi, I will be adding support for <xsd:anyAttribute> over the next few days to Castor XML, and then add such attribute definitions to e.g. mapping.xsd (which is used internally to generate Java classes used during startup due read-in the mapping file). Until that task has been finished, well ... I will have to check. Until then, whyn ot tell us what you are trying to achieve. Regards Werner tyju tiui wrote: > Hi, > > I'm trying to add support for some new attributes in the sql element of > a castor map. > Would the best way be to use a custom handler like: > http://www.castor.org/xml-fieldhandlers.html > I don't see support for the "handler" attribute anywhere in the dtd's, > but apparently it is possible? > > If this is not the best (or even a good method) to extend castor mapping > then where would be a good place to begin? > > I'm knee-deep in the castor src and I can't seem to find and starting / > ending point for the mapping. > > Thanks, > > Ty > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com