I'm trying to implement the AuditInfo pattern for Hibernate
  http://www.hibernate.org/48.html
But its not working. It's very similar to the way that the Address object is
embedded in User, but I want to embed it in BaseObject so that all objects
have these fields.

I've:
- annotated the AuditInfo object as Embeddable.
- implemented the Auditable interface in BaseObject
- annotated the BaseObject class property getAuditInfo as Embedded

But when I regenerate the persistence layer the AuditInfo fields do not
appear.

I can provide the source, but wanted to see if there's a well-known trick
I'm missing on this.

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/New-embedded-persisten-object-not-working-tp15160592s2369p15160592.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to