aspose file tools*
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 Spring in Action this week in the Spring 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
    
    1

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

 
Don't get me started about those stupid light bulbs.
 
subject: Hibernate without POJO's