> The problem with this approach is that you have now created a Resource that > cannot be used in other situations where implementors of the Resource > interface can such as > > storeResource(Resource res) > Stores the provided resource into the database. > > in the Collection interface, since it makes little sense for a native XML > database to know how to persist a boolean or a floating point number. >
so? you also cannot store a book where SQL expects an int. Jonathan ---------------------------------------------------------------------- Post a message: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Contact administrator: mailto:[EMAIL PROTECTED] Read archived messages: http://archive.xmldb.org/ ----------------------------------------------------------------------