DotConnect dc = new DotConnect();
dc.setSQL("select * from notification where id = ?");
dc.addParam(notificationId);
Notification n = null;
List<Map<String, Object>> results = dc.loadObjectResults();
if(results!=null && !results.isEmpty()) {
Map<String, Object> row = results.get(0);
n = new Notification();
n.setId((String)row.get("id"));