Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Object Relational Mapping
Migrating OJB to Hibernate
posted 8 years ago
I was using Apache OJB ORM, which sent a mapped entity only charged with the ID and a framework's method returned fully charged entity.
i.e. OJB with this two lines of code solve my problem:
QueryByCriteria query = new QueryByCriteria (entity);
Object result = broker.getObjectByQuery (query);
I want to do the same with Hibernate and I can not find how to send the single entity charged with the id and the framework resolve everything and return the object fully charged.
rocket mass heater
Boost this thread!
Content based discrimination with Hibernate annotations
BMP Vs CMP
is hibernate a alternative for Entity bean??
The book and JBoss