Package ubic.basecode.util
Class SQLUtils
- java.lang.Object
-
- ubic.basecode.util.SQLUtils
-
public class SQLUtils extends Object
- Author:
- pavlidis
-
-
Constructor Summary
Constructors Constructor Description SQLUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Long
asId(Object o)
Convert an arbitrary object to aLong
ID.static String
blobToString(Blob blob, Charset charset)
Convert a blob to a string.
-
-
-
Method Detail
-
blobToString
public static String blobToString(Blob blob, Charset charset) throws SQLException
Convert a blob to a string.- Throws:
SQLException
-
-