Re: [Hibernate] CacheProvider semantics

2003-09-21 Thread Gavin King
Jason Carreira wrote: Is there a document describing the semantics of the CacheProvider Interface? For instance: Oh shit Jason, you're so right. I really need to document our cache stuff better. I _started_ writing something once and didn't get far What does is the lock() method do (is it

Re: [Hibernate] Documentation

2003-09-21 Thread Gavin King
Mauro, I consider that this is now high-priority. We *really* need to get this stuff into the build. I *really* appreciate your work on this! Like ... a lot ... Thanks Gavin Mauro Sérgio Silva wrote: Hi Cristian, Now I'm with Some time to update the pt-br translation of Hibernate

Re: [Hibernate] Id and interceptors

2003-09-21 Thread Gavin King
I don't understand why you would not just implement an IdentifierGenerator for this... kiuma wrote: I want that my interceptor set the id of an object on method onSave, but if i try to do it Hibernate dumps this message: identifier of an instance of it.lispa.turismo.persist.UserH altered from

Re: [Hibernate] Using UserType for composite primary keys

2003-09-21 Thread Gavin King
The was a bug regarding key-many-to-one and the JCS cache, which is supposed to be fixed in Hibernate 2.1. This should fix your problem. (You should certainly be able to cache a composite-id mapping, were it not for this bug.) Yin Shi wrote: Hi all, Could anybody talk about how to use User

Re: [Hibernate] Documentation

2003-09-21 Thread Christian Bauer
On 20 Sep (16:11), Mauro Sérgio Silva wrote: Now I'm with Some time to update the pt-br translation of Hibernate documentation. I know that its not a high priority thread but you have some sugestion about how the internationalization of documentation will work? Anaway I will start doing

[Hibernate] User-defined types X-doclet generated mappings

2003-09-21 Thread Bear Giles
I know this is a bit obscure, but maybe somebody has already solved this problem. I'm using X-doclet to generate my mappings files, and hbm2ddl to generate the database. For simple composite objects, everything works great. But the user-defined types aren't working like I expected. To use