net.darkmist.alib.db
Class GetSingleLong

java.lang.Object
  extended by net.darkmist.alib.db.GetSingleLong

public class GetSingleLong
extends Object


Method Summary
static long getSingleLong(Connection db, String sql)
           
static long getSingleLong(PreparedStatement stmt)
           
static long getSingleLong(ResultSet rs)
           
static long getSingleLongExclusive(PreparedStatement stmt)
           
static long getSingleLongExclusive(ResultSet rs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSingleLong

public static long getSingleLong(ResultSet rs)
                          throws SQLException
Throws:
SQLException

getSingleLongExclusive

public static long getSingleLongExclusive(ResultSet rs)
                                   throws SQLException
Throws:
SQLException

getSingleLong

public static long getSingleLong(PreparedStatement stmt)
                          throws SQLException
Throws:
SQLException

getSingleLongExclusive

public static long getSingleLongExclusive(PreparedStatement stmt)
                                   throws SQLException
Throws:
SQLException

getSingleLong

public static long getSingleLong(Connection db,
                                 String sql)
                          throws SQLException
Throws:
SQLException


Copyright © 2012. All Rights Reserved.