Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Java Businesses Databases Oracle Programming Software IT Technology

Oracle Open Sources TopLink Java ORM 41

Eric^2 writes "Oracle announced on Tuesday that TopLink will now be open source and a full-fledged Eclipse project. TopLink is an object-persistence layer for Java that maps Java objects to a relational database."
This discussion has been archived. No new comments can be posted.

Oracle Open Sources TopLink Java ORM

Comments Filter:
  • old bad memories (Score:5, Informative)

    by rossifer ( 581396 ) on Friday March 09, 2007 @03:28AM (#18286460) Journal
    Way back in the day (2001), I was evaluating ORM solutions to replace the "roll-our-own" orm in our Java app. Took a look at Cocobase, TopLink, JDO (just appearing), and Java Relational Bridge. Hibernate was not ready for prime time (yet).

    TopLink was the only offering that ate it's own database on a regular basis. I fell back to hourly saves, and making full copies of the XML text that they were using to save the O-R mapping information. At one point, I accidentally overwrote one of the prior saves and discovered that all saves over the last day had been corrupt anyway, and I gave up on the pretty tool. Then we went to fell back to hand-editing mapping files and modifying our domain objects to fit into the framework. Ouch. Lots of references to *.toplink.* appeared in the import lists. Several relationships didn't have strong support (map of named sets: had to make a new object type for the map, trinary relation: again, make a new kludge class).

    Nowadays, if you don't HAVE to use stored procedures, use Hibernate. You'll have to adapt your code to it in a few small ways (cascade delete sequencing, persisting inherited properties), but basically, it just works.

    Ross
  • by Safety Cap ( 253500 ) on Friday March 09, 2007 @03:49AM (#18286530) Homepage Journal
    WTF are you doing?
  • by cs02rm0 ( 654673 ) on Friday March 09, 2007 @06:01AM (#18286986)
    Using ibatis [apache.org] because it's easy if you already have SQL gurus, performs better and integrates with an existing data model more easily.

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...