Well, I had the same trouble, and I had to change the scripts by hand, the
bug is in hibernate script generator tool.

Walter

"permafrost permafrost" <[EMAIL PROTECTED]> grava:
>Hi,
>
>Strange google can't find me anything useful on this topic... seems so 
>common; or, alternatively, I'm too much of a moron...
>
>I have these two classes... with String PKs
>and then I want to associate them with a many-to-many relationship...
>and Hibernate's SchemaExport generates an association table with a PK 
>concatenating the twho others which, by default, are 255 bytes long
>... and that's too much (MySQL's maximum is 500)
>I've tried long PKs but then I get an exception when Hibernate creates an 
>object (apparently it wants to set a String as PK... why ?)
>I'd rather have longs, but is that possible (on the AndroMDA "official" 
>site, it is stated that Primary Keys of entity object MUST be Strings...)
>?
>
>any idea ?
>
>_________________________________________________________________
>MSN Messenger v6.2 al ge�nstalleerd? 
>http://messenger.msn.be?DI=1032&XAPID=2604&SU=hotmail.be
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
>installation-authoring solution that does it all. Learn more and
>evaluate today! http://www.installshield.com/Dev2Dev/0504
>_______________________________________________
>Andromda-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/andromda-user



---------------------------------------------------------------------------
Walter Itamar Mour�o - Diretor de Tecnologia e Projetos - Arcadian S/A
www.arcadian.com.br



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to