public void addNotebook(Notebook tempNotebook, boolean isDirty, boolean local, boolean linked, boolean readOnly) {
boolean check;
SimpleDateFormat simple = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.S");
NSqlQuery query = new NSqlQuery(db.getConnection());
check = query.prepare("Insert Into "+dbName+" (guid, sequence, name, defaultNotebook, "
+"serviceCreated, serviceUpdated, published, "
+ "publishingUri, publishingOrder, publishingAscending, publishingPublicDescription, "
+ "isDirty, autoEncrypt, stack, "
+ "local, archived, readOnly, linked) Values("
+":guid, :sequence, :name, :defaultNotebook, "