Hi, Seb send an example of how to delete a collection and I am a little confused. In his example :
from java code: you can use Collection col = .....; // could be the root collection /db for example col.getService("CollectionManager", "1.0"; service.dropCollection("bla"); Is "Collection col = " the collection I want to delete? Or is it the parent? Getting the service seems straight forward, but what is the value of "bla"? Would it be the name of the collection I am dropping? Any help would be appreciated. Where would I find this in the documentation? thanks, Mark P.S. dbXML is proving to be a great product, kudos to Tom and Kimbro! > ------------------------------------------------------------------------ > > Subject: Re: [dbXML-core-devel] Deleting Collections? > Date: Sun, 18 Nov 2001 11:30:45 +0100 > From: <[EMAIL PROTECTED]> > To: "Mark J. Stang" <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]> > References: <[EMAIL PROTECTED]> > > from java code: you can use > Collection col = .....; // could be the root collection /db for example > col.getService("CollectionManager", "1.0"; > service.dropCollection("bla"); > > my problem is: the data is still there when dropping collection. i am not > sure whether i have to reboot the database or something like that after > dropping collection. my current solution is deleting the data manually > > from commandline tools: dbxmladmin delete_collection -c /db -n > testCollection > > seb > > ----- Original Message ----- > From: "Mark J. Stang" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, November 18, 2001 12:20 AM > Subject: [dbXML-core-devel] Deleting Collections? > > > How do I delete a collection? The samples show > > how to create one, but not delete one... > > > > thanks, > > > > Mark > > > > > > _______________________________________________ > > dbXML-Core-Devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/dbxml-core-devel > > _______________________________________________ > dbXML-Core-Devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dbxml-core-devel