Last year [1], the functionality to rename a database was requested. We need this functionality as well.
The option to rename the folder would require shutting down, and restarting, the BaseX server, which is not a good idea. The other alternative would be to retrieve the entire XML content of the source db, then create the target db with that content; this is wasteful and inefficient for large db.
Please add a db rename functionality to the Java client binding.
- Godmar
[1] https://mailman.uni-konstanz.de/pipermail/basex-talk/2010-May/000298.html