Now supports Apache Derby and fixed a couple dumb syntax errors