this.objectStoreName = objectStoreName;
this.keyPath = keyPath;
this.targetObjectType = targetObjectType;
if (JClassUtils.isSimpleType(targetObjectType))
{
throw new CruxGeneratorException("Simple types are not allowed as row in Crux Database. Create an wrapper Object to your value. ObjectStoreName["+objectStoreName+"]");
}
this.stringType = context.getTypeOracle().findType(String.class.getCanonicalName());
this.integerType = context.getTypeOracle().findType(Integer.class.getCanonicalName());
this.doubleType = context.getTypeOracle().findType(Double.class.getCanonicalName());
this.dateType = context.getTypeOracle().findType(Date.class.getCanonicalName());