This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes hibernate codegen and toString Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate codegen and toString" Watch "hibernate codegen and toString" New topic

hibernate codegen and toString

Gabor Beres

Joined: Dec 21, 2004
Posts: 21
Hi folks!

I have a little problem with hibernate.
i have a hibernate mapping which has a name property. I want (just)this property to show in my hbm2java generated Entity.
Now it shows that:


and i want that:


i used <meta attribute="use-in-tostring">true</meta> to annotate the name property.

I agree. Here's the link:
subject: hibernate codegen and toString
It's not a secret anymore!