com.aneeshpu.dpdeppop.datatypes
Class SerialDataType
java.lang.Object
com.aneeshpu.dpdeppop.datatypes.SerialDataType
- All Implemented Interfaces:
- DataType<Integer>
public class SerialDataType
- extends Object
- implements DataType<Integer>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerialDataType
public SerialDataType(String dataType)
generateDefaultValue
public Integer generateDefaultValue()
- Specified by:
generateDefaultValue in interface DataType<Integer>
getGeneratedValue
public Integer getGeneratedValue(ResultSet generatedKeys,
String columnName)
throws SQLException
- Specified by:
getGeneratedValue in interface DataType<Integer>
- Throws:
SQLException
Copyright © 2013. All Rights Reserved.