Hi,
i have one question.
I designed a UML Model with Proxy classes following the standard proxy pattern.
I don't want to use the integrated proxy mechanism from hibernate.
How can I configure Hibernate that it understands my own proxy classes.
Here the simple structure:
Code:
interface MyInterface{
... operations ...
}
class MyClass implements MyInterface{}
class MyClassProxy implements MyInterface{
private MyClass protectedObject;
}
E.g. I will use the Hibernate method session.save(MyClassProxy).
Currently Hibernate returns an error because no mapping is defined
for MyClassProxy, but a mapping for MyClass exists.
What can I do to solve this problem?
Thanks for your help!