Package com.querydsl.sql.types
Class UtilUUIDType
UtilUUIDType maps UUID to String on the JDBC level- Author:
- tiwe
-
Constructor Summary
ConstructorsConstructorDescriptionUtilUUIDType(boolean asString) UtilUUIDType(int type) UtilUUIDType(int type, boolean asString) -
Method Summary
Modifier and TypeMethodDescriptionGet the returned typeGet the object from the result setvoidsetValue(PreparedStatement st, int startIndex, UUID value) Set the object to the statementMethods inherited from class com.querydsl.sql.types.AbstractType
getLiteral, getSQLTypes
-
Constructor Details
-
UtilUUIDType
public UtilUUIDType() -
UtilUUIDType
public UtilUUIDType(boolean asString) -
UtilUUIDType
public UtilUUIDType(int type) -
UtilUUIDType
public UtilUUIDType(int type, boolean asString)
-
-
Method Details
-
getValue
Description copied from interface:TypeGet the object from the result set- Parameters:
rs- result setstartIndex- column index in result set- Returns:
- value
- Throws:
SQLException
-
getReturnedClass
Description copied from interface:TypeGet the returned type- Returns:
- returned class
-
setValue
Description copied from interface:TypeSet the object to the statement- Parameters:
st- statementstartIndex- column index in statementvalue- value to be set- Throws:
SQLException
-