org.gcube.application.aquamaps.aquamapsservice.impl.db
Class DBUtils

java.lang.Object
  extended by org.gcube.application.aquamaps.aquamapsservice.impl.db.DBUtils

public class DBUtils
extends java.lang.Object


Constructor Summary
DBUtils()
           
 
Method Summary
static java.lang.String toJSon(java.sql.ResultSet resultSet)
           
static java.lang.String toJSon(java.sql.ResultSet resultSet, int start, int end)
           
static java.lang.String toJSon(java.sql.ResultSet resultSet, java.lang.Long count)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBUtils

public DBUtils()
Method Detail

toJSon

public static java.lang.String toJSon(java.sql.ResultSet resultSet)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

toJSon

public static java.lang.String toJSon(java.sql.ResultSet resultSet,
                                      int start,
                                      int end)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException

toJSon

public static java.lang.String toJSon(java.sql.ResultSet resultSet,
                                      java.lang.Long count)
                               throws java.sql.SQLException
Throws:
java.sql.SQLException