@Override public OrtDTO createPoint(OrtDTO dto) throws SQLException { PreparedStatement preparedStatement = null; Connection connection = daoFactory.getConnection(); preparedStatement = DaoUtil.prepareStatement( connection, CREATEPOINT, false, new Object[] {dto.getPointX(), dto.getPointY(), dto.getDescription()}); preparedStatement.executeUpdate(); return findPointByAxis(dto.getPointX(), dto.getPointY()); }