facebook

O/R mapping (advice)

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #203720 Reply

    snpe
    Member

    What O/R mapping is better.
    I try hibernate and hibernate synchronizer plugins and it is fine for first look

    Is there plan for support any mapping in MyEclipse

    I know yet : jakarta-ojb, castor (open source)
    I don’t try ejb, yet

    What is your expirion ?

    regards

    #210656 Reply

    Riyad Kalla
    Member

    Hibernate is by far the most popular DB persistence engine, so if you need to use a persistence engine use that, but if you are looking at XML persistence I prefer Castor because JAXB is heavier, more flexible, BUT also has a nasty ass class loader bug in it that can make the parsing fail when deployed under WebStart if the web start console is not enabled… stupidly enough this was fixed in JDK 1.4.2_04, so unless your clients are on the cutting edge, JAXB will most likely fail when deployed via WebStart on their machines.

    Castor is tried and true, I’ve used it for 4 or 5 large scale apps, the performance is great, its easy to use and straight forward.

    I have never used OJB, and I’m not versed with EJB’s… (you have two categories of persistence here, you know that right?)

    #210709 Reply

    snpe
    Member

    My message is before five months and I try ojb,jdo etc and my conclusion is
    simple
    number one : hibernate
    numbe 2 … 100 nobody
    101 – another o/r mapping

    regards

    #210713 Reply

    Riyad Kalla
    Member

    So hibernate it is? Thanks for the summary, other users may find it helpful.

    #230784 Reply

    david-garcia
    Member

    That’s ain’t nice. I’ve been searching if there will be any support for ojb and jdo in the next versions of myeclipse and casualy I found this subject.

    MAYBE Hibernate currently is the best orm but I’m shocked how easy you say that hibernate is best and OJB is nearly nothing…..

    I’ve worked with Hibernate and I’ve worked with OJB and I think to know which is the better you have to know much about both projects (much more than I know).

    I’ve just imagined that there will be no support for OJB and I understand it ’cause I think it’s not good for sale.

    David

    #230802 Reply

    Riyad Kalla
    Member

    David,
    Please keep in mind that snpe’s opinion is not representative of Genuitec’s stand on ORM or *any* technology we support.

    If you take a look at the longer threads in our forums you’ll start to get a feel for how we work, we are a 80-90% user-needs driven company. We never had intentions of supporting Hibernate until enough people asked for it, so we did. Same goes for Struts back in the day and now JSF, Spring, Tapestry, you name it. All of those features came out of user demand and represent some of the largest portions of our code base.

    We do what our users need us to do, that is the bottom line. If that means supporting OJB, Ibatis or other ORMs, we will look into it and see if we can address that need.

    #230857 Reply

    david-garcia
    Member

    Riyad,
    I know that snpe’s opinion is not representative of Genuitec’s stand on ORM.
    Your response was very diplomatic and I think you are making a good work with myeclipse. I think anybody can have his own opinion about the best orm but there’s no reason to exaggerate.

    David

    #231158 Reply

    nirvdrum
    Member

    snpe,

    Although not mentioned, Cayenne is another option you may want to consider. It’s approach is a bit different from Hibernate’s, but it tends to be friendlier to new users. FWIW, it ships with a rather nice GUI modeler app.

    Anyway, not trying to add more fuel to this fire — just trying to let you know of other options out there.


    Kevin

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: O/R mapping (advice)

You must be logged in to post in the forum log in