Andrej Koelewijn

8/16/2004

TopLink Expert Session

Filed under: — andrejk @ 10:38 pm

I attended an session on Toplink last week, organized by Amis. Lucas Jellema has written a very complete summary of the evening on the Amis Weblog: Expert Session on Persistency Framework: Toplink.

The most usefull information of the evening for me was Peter Ebell’s demonstration that Toplink’s Query Expressions can be a lot easier to write than complex sql queries. I haven’t used Toplink yet, but i’ve used Hibernate. But i didn’t use Hibernate’s criteria queries, which are similar to Toplinks query expressions. Instead i used the hibernate query language. Next time i’ll probably have another look at the criteria queries, although hibernate’s documentation states that currently criteria queries aren’t as powerfull as HQL. Hopefully that’ll improve in the future.

4 Responses to “TopLink Expert Session”

  1. Xenofon Says:

    Hi, I am also an IT-consultant on Oracle and Java. I want to decide whether to recommend hibernate – which I tend to – or to consider toplink. Do you they are comparable? Could you give your impression of toplink?

    Another thing is, I tried to install toplink (10.1.2.0/9.0.4.5) on a windows-system, with oracle 10.1.0.2.0 on it. But it refused to install, because of some old component in the standard Oracle path. What could be the path. Do you perhaps know anybody that can help me?

    Thanks in advance!

    Xenofon

  2. Andrej Says:

    I think both toplink and hibernate are excellent object relational mapping frameworks. I think your decision will be based no so much on technical capabilities as on political arguments: is this an oracle only shop, or do the developers like to use open source components.

    For example: on one project i did where i used hibernate, the developers that were going to maintain the software, immediately said: “This is not oracle software, so we should replace it with something supported by Oracle”. That the software worked fine with hibernate wasn’t really important to them. Luckely this is getting easier as jdeveloper 10.1.3 has some support for hibernate development using xdoclet.

    I can’t help you with your problem, have you tried asking on OTN forums?

  3. Param Bindra Says:

    Hi Andrej:
    How does EJB2.1 work with Hibernate? Do you have step by step instruction list for working on any two tables like employee-department relationship or just one table for understanding concepts?
    Please respond ASAP
    Thx!

  4. Sebastien Tardif Says:

    You get books with Hibernate and readable source code. Many of the documentation of Toplink just repeat the same words without any meaning or example. So TopLink is like a black box. At this point, you are better to work with EJB 3 persistence, JDO 2 or Hibernate. Doesn’t make sense to start new project with TopLink.

Leave a Reply

Powered by WordPress