Templates for DAO and cassandra C(S)QL