Hi
This code looks well but Instead of listCollections() I'd try
listChildCollections();

-{Hi! How can I list collections? This code gives an error
-{
-{String[] colindex = null;
-{String driver = database_driver;
-{         Class c = Class.forName(driver);
-{
-{         Database database = (Database) c.newInstance();
-{         DatabaseManager.registerDatabase(database);
-{         String r = database_prefix+parent;
-{         System.out.println("gettin collection list"+r);
-{         col = DatabaseManager.getCollection(r);
-{         colindex = col.listCollections();
-{
-{at col.listCollections();
-{ru/evolve/innersmile/Connector.java [74:1] cannot resolve symbol
-{symbol  : method listCollections  ()
-{location: interface org.xmldb.api.base.Collection
-{         colindex = col.listCollections();


Reply via email to