Class ObjectType

java.lang.Object
com.querydsl.sql.types.AbstractType<Object>
com.querydsl.sql.types.ObjectType
All Implemented Interfaces:
Type<Object>

public class ObjectType extends AbstractType<Object>
ObjectType maps Object to Object on the JDBC level
Author:
tiwe
  • Constructor Details

    • ObjectType

      public ObjectType()
    • ObjectType

      public ObjectType(int type)
  • Method Details

    • getValue

      public Object getValue(ResultSet rs, int startIndex) throws SQLException
      Description copied from interface: Type
      Get the object from the result set
      Parameters:
      rs - result set
      startIndex - column index in result set
      Returns:
      value
      Throws:
      SQLException
    • getReturnedClass

      public Class<Object> getReturnedClass()
      Description copied from interface: Type
      Get the returned type
      Returns:
      returned class
    • setValue

      public void setValue(PreparedStatement st, int startIndex, Object value) throws SQLException
      Description copied from interface: Type
      Set the object to the statement
      Parameters:
      st - statement
      startIndex - column index in statement
      value - value to be set
      Throws:
      SQLException