KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > type > PrimitiveCharacterArrayClobType


1 //$Id: PrimitiveCharacterArrayClobType.java,v 1.1 2005/04/03 23:37:29 epbernard Exp $
2
package org.hibernate.type;
3
4 import org.hibernate.HibernateException;
5 import org.hibernate.usertype.UserType;
6
7 import java.io.CharArrayReader JavaDoc;
8 import java.io.IOException JavaDoc;
9 import java.io.Reader JavaDoc;
10 import java.io.Serializable JavaDoc;
11 import java.sql.PreparedStatement JavaDoc;
12 import java.sql.ResultSet JavaDoc;
13 import java.sql.SQLException JavaDoc;
14 import java.sql.Types JavaDoc;
15 import java.util.ArrayList JavaDoc;
16
17 /**
18  * Map a char[] to a Clob
19  *
20  * @author Emmanuel Bernard
21  */

22 public class PrimitiveCharacterArrayClobType extends CharacterArrayClobType {
23     public Class JavaDoc returnedClass() {
24         return char[].class;
25     }
26 }
27
Popular Tags