@Override public int insertSelective(DevelopersDBO record) throws PlatformException { SqlSession session = this.getSqlSession(); try { return this.getMapper(DevelopersDAO.class, session).insertSelective(record); } catch (PlatformException e) { log.error(e.getMessage(), e); throw new PlatformException(e); } finally { this.closeSqlSession(session); } }
@Override public DevelopersDBO selectByPrimaryKey(Long ddId) throws PlatformException { SqlSession session = this.getSqlSession(); try { return this.getMapper(DevelopersDAO.class, session).selectByPrimaryKey(ddId); } catch (PlatformException e) { log.error(e.getMessage(), e); throw new PlatformException(e); } finally { this.closeSqlSession(session); } }
@Override public int deleteByExample(DevelopersDBOExample example) throws PlatformException { SqlSession session = this.getSqlSession(); try { return this.getMapper(DevelopersDAO.class, session).deleteByExample(example); } catch (PlatformException e) { log.error(e.getMessage(), e); throw new PlatformException(e); } finally { this.closeSqlSession(session); } }