java - BaseDaoImpl has an invisible method -
hi following tutorial ormlite, when line of code :
userdao = basedaoimpl.createdao(getconnectionsource(), user.class);
i folloing error :
the method createdao(connectionsource, class) type basedaoimpl not visible
any solutions ?
please read more up-to-date docs since tutorial little bit out of date.
you no longer call basedaoimpl.createdao(...)
directly. instead use
userdao = daomanager.createdao(getconnectionsource(), user.class);
please ping tutorial owner have him change docs.
Comments
Post a Comment