- This topic has 7 replies, 4 voices, and was last updated 19 years, 5 months ago by nirvdrum.
-
AuthorPosts
-
snpeMemberWhat O/R mapping is better.
I try hibernate and hibernate synchronizer plugins and it is fine for first lookIs there plan for support any mapping in MyEclipse
I know yet : jakarta-ojb, castor (open source)
I don’t try ejb, yetWhat is your expirion ?
regards
Riyad KallaMemberHibernate 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?)
snpeMemberMy 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 mappingregards
Riyad KallaMemberSo hibernate it is? Thanks for the summary, other users may find it helpful.
david-garciaMemberThat’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
Riyad KallaMemberDavid,
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.
david-garciaMemberRiyad,
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
nirvdrumMembersnpe,
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 -
AuthorPosts