How do use ORMLite with an abstract class?
===

I have an base class `Peripheral`. Classes `Sensor` and `Master` are extensions of `Peripheral`. I need ORMlite to instantiate my Peripheral objects that were previously saved. Obviously any attempt to instantiate `Peripheral` reflectively will result in a `ClassInstantiationException` due to its abstractness. How can I have ORMlite load any `Peripheral` object since `Peripheral` is abstract?

Here is the sample of what I am doing:

    @DatabaseTable(tableName="Peripheral")
    abstract class Peripheral {
    	@DatabaseField(generatedId="true")
    	int _ID;
    	@DatabaseField
    	int mSerial;
    }
    
    class Sensor extends Peripheral {
    }
    
    class Master extends Peripheral {
    }