ColumnAliasDAO detail = new ColumnAliasDAO();
detail.session = session;
ReportDesignDAO reportDesignDAO = new ReportDesignDAO();
ReportDesign reportDesign = new ReportDesign();
reportDesignDAO.session = session;
ReportTypeDAO type = new ReportTypeDAO();
type.session = session;
ReportDAO report = new ReportDAO();
report.session = session;
reportDesign.setMappingAxis("x");
reportDesign.setColumnAlias(detail.findById(99999l));
reportDesignDAO.transaction = reportDesignDAO.session.getTransaction();
try {
reportDesign.setReport(report.findById(99999l));
long reportId = reportDesignDAO.save(reportDesign);
} catch (CruxException e) {
exceptionExists = true;
}