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.

http://ormlite.com/docs/dao-setup

you no longer call basedaoimpl.createdao(...) directly. instead use

userdao = daomanager.createdao(getconnectionsource(), user.class); 

please ping tutorial owner have him change docs.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -