Cayenne uses the following signature on DataContext:
public <T> T newObject(Class<T> persistentClass)
Click's CayenneTemplate should use the same so that no casting is required.
Cayenne uses the following signature on DataContext:
public <T> T newObject(Class<T> persistentClass)
Click's CayenneTemplate should use the same so that no casting is required.