On Feb 24, 2011, at 2/245:38 AM , Aristedes Maniatis wrote: > Any article would be beneficial, so at the outset, I say "write about what > you know best and are most comfortable talking about". Beyond that, comparing > to Hibernate is useful for developers familiar with Hibernate but frustrated > for some reason. However, discussing Cayenne's own attributes is probably > even more useful. Cayenne stands on its own without needing Hibernate as a > reference point. Some of the interesting areas (in my opinion): > > * the modeler
As much as I love the model, the current "hibernate way" is to code a POJO, occasionally annotating things to make the associations, etc. clearer. And then hibernate will build your schema for you. It obviates a lot of the need for the modeler since a large fraction of your model winds up being defined by convention. If you have a class with property "foo", then, by default, you have a table with column "foo". I'm not trying to troll for hibernate here. ;) I still much prefer Cayenne. But having used hibernate quite a bit for the past 2.5 years (by necessity, not by my choice ;), I'm at least somewhat conversant in how a hibernate user might react. And the fact is that within the realm of people who have ORM experience, many (most?) of those have hibernate experience. > * reverse engineering a db > * ROP (three tier) > * caching and integration with other providers such as osCache > Hibernate can do that, too. ;) In short, I definitely agree with "discussion Cayenne's own attributes is probably even more useful." Robert > > Ari > > On 24/02/11 10:01 PM, Christian Grobmeier wrote: >> Hi guys, >> >> as you might know, I am writing from time to time small articles for >> the press. I have spoken with my mag recently and they are interested >> in a new Cayenne article as I suggested. I was thinking about >> comparing Hibernate to Cayenne (there is a good email thread somewhere >> in the archives with inspiriation) but I am willing to listen for >> other suggestions. Articles are always good marketing and probably you >> have a specific topic you want to promote. Ideas? Suggestions? Let me >> know. >> >> Cheers >> Christian > > -- > --------------------------> > Aristedes Maniatis > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
