Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Id、FkAnotherObject、および文字列を含む「オブジェクト」の例があります。テーブルに一意の文字列を 1 つだけ含めるために使用する必要がある属性。これを行うオプションはありますか?
unique="true"トリックを行う必要があります:-)
unique="true"
または、unique-key複数列の一意の制約を作成できます。
unique-key