Yes, I have exactly the same problem (second one).
Did you manage to solve it?
When you do SELECT string field from table everything is ok (f3 in your example) but trying to select integer (f1 in your example) returns Error: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
Strange…