Re: Examples of Pojo Free Code?
Avi Kessner <[email protected]> Sun, 13 Apr 2014 15:33:43 +0300
| Newsgroups | gmane.comp.programming.test-driven-development |
|---|---|
| Message-ID | <CAGEhWpGa0=z0CVW9aKwHZeinMgXKCoRiA-681nxCO_J4p9FZ_Q@mail.gmail.com> |
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/> > > > > > >