30 May
2010
30 May
'10
5:10 p.m.
Hello Beatriz, Am 30.05.2010 16:32, schrieb Beatriz Sancho:
static public Vector queryExtraeDatosCabecera(final String query) throws BaseXException, QueryException, IOException { WorkSpace sp1 = new WorkSpace(); String workspace = sp1.getWorkspace(); new CreateDB(workspace + "\\cabecera.xml", "DBCabecera").execute(CONTEXT); [...] new DropDB("DBCabecera").execute(CONTEXT); return datos; }
wouldn't it be much easier to use an in-memory DB in this case? No need to explicitly drop it and you probably would even get better performance because of reduced I/O. Just my 0.02$... Cheers, Leo Wörteler