private ContentsDao getContentsDao ( ) throws SQLException { if ( contentsDao == null ) { contentsDao = DaoManager . createDao ( connectionSource , Contents . class ) ; } return contentsDao ; }
Get or create a Contents DAO