Package org.hibernate.lob

Examples of org.hibernate.lob.SerializableClob


   
  }

  public Object get(ResultSet rs, String name) throws HibernateException, SQLException {
    Clob value = rs.getClob(name);
    return rs.wasNull() ? null : new SerializableClob(value);
  }
View Full Code Here


   * Create a new <tt>Clob</tt>. The returned object will be initially immutable.
   *
   * @param string a <tt>String</tt>
   */
  public static Clob createClob(String string) {
    return new SerializableClob( new ClobImpl( string ) );
  }
View Full Code Here

   *
   * @param reader a character stream
   * @param length the number of characters in the stream
   */
  public static Clob createClob(Reader reader, int length) {
    return new SerializableClob( new ClobImpl( reader, length ) );
  }
View Full Code Here

   
  }

  public Object get(ResultSet rs, String name) throws HibernateException, SQLException {
    Clob value = rs.getClob(name);
    return rs.wasNull() ? null : new SerializableClob(value);
  }
View Full Code Here

   * Create a new <tt>Clob</tt>. The returned object will be initially immutable.
   *
   * @param string a <tt>String</tt>
   */
  public static Clob createClob(String string) {
    return new SerializableClob( new ClobImpl( string ) );
  }
View Full Code Here

   *
   * @param reader a character stream
   * @param length the number of characters in the stream
   */
  public static Clob createClob(Reader reader, int length) {
    return new SerializableClob( new ClobImpl( reader, length ) );
  }
View Full Code Here

   * Create a new <tt>Clob</tt>. The returned object will be initially immutable.
   *
   * @param string a <tt>String</tt>
   */
  public static Clob createClob(String string) {
    return new SerializableClob( new ClobImpl( string ) );
  }
View Full Code Here

   *
   * @param reader a character stream
   * @param length the number of characters in the stream
   */
  public static Clob createClob(Reader reader, int length) {
    return new SerializableClob( new ClobImpl( reader, length ) );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.lob.SerializableClob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.