return custom primary key statement.
add paging part for sql,if do not want to use framework implement.
define get fetch bean sql by custom.