wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Hibernate without POJO's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate without POJO Watch "Hibernate without POJO New topic
Author

Hibernate without POJO's

Ram Chhabra
Ranch Hand

Joined: Jan 07, 2008
Posts: 48
Hi,

Can we use Hibernate without making POJO's.

Thanks,
Ram
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

What would you use instead?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ram Chhabra
Ranch Hand

Joined: Jan 07, 2008
Posts: 48
Like in spite of getters/setters can we directly deal with instance variables?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

You can place annotations on properties instead of getters, if that's what you're interested in, so yes, you can.

However, I'm not how good your application would be if it didn't have any setters or getters in any of your code.

-Cameron McKenzie

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate without POJO's
 
Similar Threads
Reverse Engineering using Eclipse?
books name that guide on light weight design technique
Domain objects with no dependencys on DAOs
confused with JAP,Hibernate
How to create hbm files for a table which does not have a primary key.