File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
jQuery in Action, 3rd edition