com.mysema.query.sql.types
Class BytesType
java.lang.Object
com.mysema.query.sql.types.BytesType
- All Implemented Interfaces:
- Type<byte[]>
- Direct Known Subclasses:
- LongVarBinaryBytesType
public class BytesType
- extends Object
- implements Type<byte[]>
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytesType
public BytesType()
BytesType
public BytesType(int blobType)
getValue
public byte[] getValue(ResultSet rs,
int startIndex)
throws SQLException
- Specified by:
getValue
in interface Type<byte[]>
- Throws:
SQLException
getReturnedClass
public Class<byte[]> getReturnedClass()
- Specified by:
getReturnedClass
in interface Type<byte[]>
setValue
public void setValue(PreparedStatement st,
int startIndex,
byte[] value)
throws SQLException
- Specified by:
setValue
in interface Type<byte[]>
- Throws:
SQLException
getSQLTypes
public int[] getSQLTypes()
- Specified by:
getSQLTypes
in interface Type<byte[]>
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.