我有一個包含以下數據的bunny.h: bunny[] | vertex coordinates xyz
NUM_TRIANGLES | the amount of triangles for the bunny
normals[] | the normals for each triangle
triangles[] | indices for the triangles
我想用
everyone。 我有一個LOG表與觸發器和序列的組合來創建ID,所以當我插入行時,我不必指定ID,否則數據庫會返回錯誤。然而,Hibernate聲稱(正確)是指定的主鍵。 在這種情況下應該使用什麼樣的「發電機」屬性? 我已經嘗試過「分配」它說: org.hibernate.id.IdentifierGenerationException: ids for this class must be