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 literal6 * @author Gavin King7 */8 public interface LiteralType {9 /**10 * String representation of the value, suitable for embedding in11 * an SQL statement.12 * @param value13 * @return String14 * @throws Exception15 */16 public String objectToSQLString(Object value) throws Exception ;17 18 }19 20 21 22 23 24 25