org.norther.tammi.root.hbm.conversion
Class Number2MultiwordConversion
java.lang.Object
org.norther.tammi.root.hbm.conversion.ImmutableObjectConversion
org.norther.tammi.root.hbm.conversion.Number2MultiwordConversion
- All Implemented Interfaces:
- UserType
- Direct Known Subclasses:
- Number2LocationConversion
public class Number2MultiwordConversion
- extends ImmutableObjectConversion
Converts between multiwords and longs.
- Version:
- $Id: Number2MultiwordConversion.java,v 1.2 2009/09/28 15:08:34 cvsimp Exp $
- Author:
- Ilkka Priha
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Number2MultiwordConversion
public Number2MultiwordConversion()
- Constructs a new conversion.
sqlTypes
public int[] sqlTypes()
returnedClass
public Class<?> returnedClass()
nullSafeGet
public Object nullSafeGet(ResultSet resultSet,
String[] names,
Object owner)
throws HibernateException,
SQLException
- Throws:
HibernateException
SQLException
nullSafeSet
public void nullSafeSet(PreparedStatement statement,
Object value,
int index)
throws HibernateException,
SQLException
- Throws:
HibernateException
SQLException
Copyright © 2004 The Norther Organization. All rights reserved.