try { Dao<classExample, Integer> dao = getDao(classExample.class); dao.createIfNotExists(obj); } catch (SQLException e) { e.printStackTrace(); }
classExample have string, and if I try to insert an object with single quote ('), then it catch exception.
In log, we can see that sql request is using single quote to round string values