Package nz.co.abrahams.asithappens.uiutil

Examples of nz.co.abrahams.asithappens.uiutil.SetDisplayDAO.closeConnection()


                statement.setInt(2, set);
                statement.setInt(3, setDisplayID);
                statement.executeUpdate();
                statement.close();
            }
            displayDAO.closeConnection();
            return graphOptionsID;
        } catch (SQLException e) {
            logger.error("Problem creating graph options in database");
            throw new DBException("Problem creating graph options in database", e);
        }
View Full Code Here


                logger.info("SetDisplayID: " + results.getInt(1));
                displayDAO.update(results.getInt(1), options.getSetDisplay(set));
                results.close();
                statement.close();
            }
            displayDAO.closeConnection();
           
        } catch (SQLException e) {
            logger.error("Problem Updating graph options in database");
            throw new DBException("Problem Updating graph options in database", e);
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.