Dec 21
The Spring and Oracle teams have put together Spring TOPLink integration.
This integration is similar to what you have with JDO, iBATIS, Hibernate, etc.
E.g.
public class MyDAOImpl extends TopLinkDaoSupport implements DAOInterface { public Object doTopLinkOperation() { return getTopLinkTemplate().execute( new TopLinkCallback() { public Object doInTopLink(Session session) throws TopLinkException { // this Session is managed externally. // It is "injected" by the currently referenced SessionFactory } }); } }
And:
public class MyDAOImpl extends TopLinkDaoSupport implements DAOInterface { public Object doTopLinkOperation() { return getTopLinkTemplate().findByNamedQuery("findMyself",Person.class,args); } }
Read more: What is the Spring TopLink Integration?
March 30th, 2009 at 11:53 pm
I am confuse with toplink support in Spring Framework . I am using toplink 11 version .We are using spring convenience methods .
We are unable to update our records into database . Is there any problem with toplink 11 and Spring toplink libraries