Feb 28th, 2011, 06:59 AM
Spring Roo DBRE and MS SQL Server 2008 with composite primary keys
If I am trying to generate a object with a composite key where different fields of the key are from the Type "char(2)"
Spring Roo doesn't generate the " ,columnDefinition = "char", length = 2 " annotation, but only for the Fields which are in the primary composite key. Then this leads to an error during application startup, saying "Expected varchar(255) , but char(2) found"
All other normal fields get annotated correctly ... what could that be ?