KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: LiteralType.java,v 1.1 2004/06/03 16:31:30 steveebersole Exp $
2
package org.hibernate.type;
3
4 /**
5  * A type that may appear as an SQL literal
6  * @author Gavin King
7  */

8 public interface LiteralType {
9     /**
10      * String representation of the value, suitable for embedding in
11      * an SQL statement.
12      * @param value
13      * @return String
14      * @throws Exception
15      */

16     public String JavaDoc objectToSQLString(Object JavaDoc value) throws Exception JavaDoc;
17
18 }
19
20
21
22
23
24
25
Popular Tags