boolean check;
SimpleDateFormat simple = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.S");
NSqlQuery query = new NSqlQuery(db.getConnection());
check = query.prepare("Update "+dbName+" set sequence=:sequence, name=:name, defaultNotebook=:defaultNotebook, " +
"serviceCreated=:serviceCreated, serviceUpdated=:serviceUpdated, "+
"published=:published, isDirty=:isDirty, publishinguri=:uri, "+
"publishingOrder=:order, " +
"publishingAscending=:ascending, " +
"publishingPublicDescription=:desc, " +