Monday, May 07, 2007

Hibernate on OS390

... is broken. Well not hibernate itself but the schema tool / dialect has a problem since you need to explicit create a unique index on the primary key column. "Now - how did you discover this" you might ask... THE HARD WAY, thank you very much... ;-)

Quote from IBM doc at found here:

"When you create a table that contains a primary key, you must create a unique index for that table on the primary key. DB2 marks the table as unavailable until the explicit creation of the required indexes."



Post a Comment

<< Home