Why is the DAO method so slow in ORMLite?
-
11-11-2019 - |
Question
I have a method that looks like this
public Dao<ModelStore, Integer> getDaoStore() throws SQLException {
return BaseDaoImpl.createDao(getConnectionSource(), ModelStore.class);
}
when i call getDaoStore
it is quite a lengthy process. In my log's i can see that the GC runs after every call to this, so I'm guessing there's a lot going on with this call.
Is there a way to speed this up?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow