Okay all, I need to have an object that isn't changeable after it has been created ( unmutable ). Hibernate apparently has an EJB3 extension called mutable ( see/
http://www.hibernate.org/hib_docs/annot ... pec-entity
)
and
http://www.hibernate.org/hib_docs/annot ... l#mutable()
... But I have no idea how to use it. Eclipse gives me nothing but error's, and I can't find an example of it anywhere. I've tried things like:
@Entity
@Mutable(value=false)
and
@Entity(mutable=false)
etc...
and nothing is accepted....( I know this can be done with mapping files, but I'm trying to figure out how to do it with Annotations )
Please help :-) ( email or msn me any time if you require more info )
cheers,
Operating System:
FreeBSD 5.4
Hibernate version:
3.1alpha1
Name and version of the database you are using:
MySQL 4.1.12
Java Version:
1.5.0-p1