views:

261

answers:

1

I'm new to this hibernate/jpa stuff so bear with me..

I've generated an entity bean and it works fine, but I would like to add some extra attributes to it and this causes hibernate to complain that the extra attributes aren't in the table's field list..

Is there a keyword to exclude these attributes from hibernate's query??

+3  A: 

Mark them as @Transient.

Aaron Digulla
Exactly what I needed. Thank you for the fast response!
Mobs