RE: Examples of Pojo Free Code?

Avi Kessner <[email protected]> Mon, 14 Apr 2014 12:05:48 +0300
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <CAGEhWpFZea5_OrXv__G35xNtNMnGEk_HcZZci+EYs_mFsx2EZA@mail.gmail.com>
Agreed. I was asking Mark
On Apr 13, 2014 7:14 PM, "Donaldson, John" <[email protected]> wrote:

>
>
>  Avi,
>
>
>
> Not sure if your question was to me, or to Mark.
>
>
>
> If it was intended for me, then POJOs are wonderful, but you will in any
> case need to manage the interface to the database.
>
> With an ORM this is part of the framework - but if you roll your own,
> you'll need to construct it.
>
> Of course, YAGNI - but still...
>
>
>
> John D.
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Avi Kessner
> *Sent:* 13 April 2014 14:34
> *To:* [email protected]
> *Subject:* Re: [TDD] Examples of Pojo Free Code?
>
>
>
>
>
>
>  Sorry for my ignorance, but google didn't help me.
> Whats the problem with using POJOs?
>
>
>  brought to you by the letters A, V, and I
> and the number 47
>
>
>
> On Sun, Apr 13, 2014 at 3:10 PM, Donaldson, John <[email protected]>
> wrote:
>
>
>
> Mark,
>
>
>
> I am pretty much in agreement with you. (Struggling with a legacy Toplink
> app at the moment, Hibernate before that).
>
> But, don't forget that an ORM framework is also providing you with other
> useful stuff around sessions, multi-user access,
> one-many/many-one/many-many mappings, error handling, transactions and so
> on.
>
>
>
> John D.
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Mark Levison
> *Sent:* 11 April 2014 19:50
> *To:* Testdrivendevelopment
> *Subject:* [TDD] Examples of Pojo Free Code?
>
>
>
>
>
>   I'm running an Agile Development course with some wonderful people at a
> client who're addicted to their existing ORM. We've been discussing the
> evil involved in Data Classes (i.e. classes with no behaviour). In their
> world the habit of creating data classes comes from the fact that their ORM
> (Hibernate and JPA) creates POJO type objects and they manipulate them.
> They get the problem but would live to see an example of project that
> doesn't do this.
>
>
>
> Do you know an OpenSource project that doesn't a use POJOs to get its data
> in/out of an RDBMS? Do you know an ORM that helps people avoid creating
> Data Classes?
>
>
>
> BTW I'm asking on this list lacking a better place.
>
>
>
> Cheers
>
> Mark
>
>
>
>
> --
>
> [image: headshot-square-300x300]<http://www.flickr.com/photos/36331075@N00/9674877046/>
>
> *Mark Levison* | 1 (877) 248-8277 | Twitter <https://twitter.com/mlevison>
>  | LinkedIn <http://ca.linkedin.com/in/marklevison> | Facebook<https://www.facebook.com/agilepainrelief>
> Certified ScrumMaster Training: Vancouver<http://agilepainrelief.com/courses/vancouver>
>  | Edmonton <http://agilepainrelief.com/courses/edmonton> | Ottawa<http://agilepainrelief.com/courses/ottawa>
>  | Montreal <http://agilepainrelief.com/courses/montreal> | Toronto<http://agilepainrelief.com/courses/toronto>
> Agile Pain Relief Consulting <http://agilepainrelief.com/> | Notes from a
> Tool User <http://agilepainrelief.com/notesfromatooluser>
> Proud Sponsor of Agile Tour Gatineau Ottawa <http://goagiletour.ca/> and Agile
> Coach Camp Canada <http://agilecoachcampcanada.wordpress.com/>
>
>
>
>
>
>
>
>
>     
>