in jpa-container/src/main/java/org/apache/aries/jpa/container/weaving/impl/DummyDataSource.java [45:58]
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
ClassLoader classLoader = this.getClass().getClassLoader();
Class<?> type = method.getReturnType();
if (type == int.class) {
return new Integer(0);
}
if (type == boolean.class) {
return new Boolean(false);
}
if (type == String.class) {
return "";
}
return proxyClasses(classLoader, type);
}