How does castor handle multiple databases, e.g. multiple jndi sources for a single application? Can I have more than one database.xml? or can I specifiy multiple databases in a single database.xml? ____________________________ Mark E. Cornelius Phi Beta Sigma/Prince Hall Mason The Woodlands, Texas
I had fainted, unless I had believed to see the goodness of the LORD in the land of the living. Wait on the LORD: be of good courage, and he shall strengthen thine heart: wait, I say, on the LORD. " Psalms 27:13-14 ----- Original Message ----- From: "Keith Visco" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 10:23 PM Subject: Re: [castor-dev] XML Schema code generation and bound properties > > Hi David, > > Sounds like a bug to me, I'll try to get that patched up in the CVS > ASAP. You may wish to file a bug via our buzilla for tracking purposes > (http://bugzilla.exolab.org) > > Thanks, > > --Keith > > David Green wrote: > > > > Using the source generator from XML Schema, I've noticed that some bound properties (notably the ones with the _has_foo) are generated as follows: > > > > public void setContent(boolean content) > > { > > java.lang.Object oldContent = new Boolean(this._content); > > this._content = content; > > notifyPropertyChangeListeners("_content", oldContent, new Boolean(this._content)); > > this._has_content = true; > > } //-- void setContent(boolean) > > > > The property change listeners are fired before the _has_content is set, thus causing problems when attempting to marshal the class from a property change listener. Shouldn't the set method look like this: > > > > public void setContent(boolean content) > > { > > java.lang.Object oldContent = new Boolean(this._content); > > this._content = content; > > this._has_content = true; > > notifyPropertyChangeListeners("_content", oldContent, new Boolean(this._content)); > > } //-- void setContent(boolean) > > > > If there's a good reason for the existing code generation, please let me know. Otherwise, can someone commit a fix for this? > > > > Thanks, > > > > David > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
