ah, perfect, thank you :slightly_smiling_face:, th...
# getting-started
h
ah, perfect, thank you 🙂, the working code for this particular case is this
Copy code
@Entity
@Table(uniqueConstraints = arrayOf(
        UniqueConstraint(columnNames = arrayOf("productId", "serial"))
))
public class InventoryItem {
    val productId: Int = 0
    val serial: String = ""
}