I have implemented OR mapping like Hibernate in Java