Hi!
 
I am trying to add a property (i.e. an attribut) to the database element of the database config file (database.xml), e.g.
 
<database name="mydb" engine="generic" timeout="111">
 
I was successful in rebuilding the jars but Castor did not seem to read the value from the config file.
 
What I did was:
 
- extend the Database class in the org.exolab.castor.jdo.conf package for an attribute timeout with public getters and setters
- add that attribute to the files jdo-conf.dtd and jdo-conf.xsd in the same package
 
Can anyone tell what else I will have to do. Obviously I do not really understand how the properties are read.
 
Cheers,
 
   Steffen
 

Reply via email to