1. Interceptor,primary key==unsaved value onSave() forum.hibernate.orgHibernate version: 2.1.6 Jboss4.0.1sp1 SQL Server 2000 Hi Before I write a full example with mapping files and so-on, are there any gotchas I should be aware of when writing an AuditLog Interceptor like the one described in chapter 8 of Hibernate in Action? I've implemented it as described, but, when there's a reasonably heavy load on my server, some entities ... |
2. implementing Interceptor.instantiate : how to set the key forum.hibernate.org |
3. IdentifierGenerator in an Interceptor for composed key forum.hibernate.orgHi, I have a problem with a composed-id. I have a table "Translation" that has a composed primary key (idTranslation, idLocale), where idLocale is a FK to the PK of table Locale. So, the following data (1,"en","Die Hard") (1,"es","La Jungla de Cristal") means that both Strings are different translations of the same movie title. Now, the value for column idTranslation should ... |