The Artima Developer Community
Sponsored Link

Java Buzz Forum
TOPLink Spring Integration

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
TOPLink Spring Integration Posted: Dec 22, 2004 2:07 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: TOPLink Spring Integration
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
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?

Read: TOPLink Spring Integration

Topic: The New Web UI Previous Topic   Next Topic Topic: Tip for (Legal) Contracts in LATEX

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use