{"published":"2026-06-25 14:50:08","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.keithyokoma.dev%2Fentry%2F2026%2F06%2F25%2F145008\" title=\"Unique Index \u304c\u3042\u308b\u3068\u304d\u306e @Insert(onConflict = OnConflictStrategy.REPLACE), @Update, @Upsert - Infinito Nirone 7\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_title":"Infinito Nirone 7","author_url":"https://blog.hatena.ne.jp/KeithYokoma/","height":"190","categories":[],"url":"https://blog.keithyokoma.dev/entry/2026/06/25/145008","author_name":"KeithYokoma","blog_url":"https://blog.keithyokoma.dev/","image_url":null,"description":"\u6b21\u306e\u3088\u3046\u306a Entity \u3092\u4f8b\u306b @Insert, @Update, @Upsert \u306e\u52d5\u304d\u3092\u898b\u3066\u307f\u307e\u3059\u3002 @Entity( tableName = \"sample_table\", indices = [Index(value = [\"unique_id\"], unique = true)] ) data class SampleEntity( @PrimaryKey @ColumnInfo(name = \"id\") val id: String, @ColumnInfo(name = \"name\") val name: String, @ColumnInfo(name = \"age\") va\u2026","width":"100%","provider_url":"https://hatena.blog","type":"rich","title":"Unique Index \u304c\u3042\u308b\u3068\u304d\u306e @Insert(onConflict = OnConflictStrategy.REPLACE), @Update, @Upsert"}