| 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: 4967
|
|
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
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
 |
|
|
subject: Hibernate without POJO's
|
|
|