When creating a ORM mapping, if I happen to make 2 properties to the same referenced column, which is used when making a foreign key and don't have "insert="false" update="false" to the second column, then I'll get the error "Repeated column in mapping for entity: SupportTicket column: userID (should be mapped with insert="false" update="false")"
In this example I'm mapped the column "userID" twice.
The problem occurs when I either remove the second property ( the duplicate) or set insert="false" update="false" on the second property and I go to do a ORMRefresh, the error still remains. Currently, the only way I can remedy this is to restart Lucee and then it works just fine so looks to be an ORMRefresh problem
On the supportticket table, I have two foreign keys. they link like....
supportticket.userID = users.ID
supportTicket.companyUserId = users.ID
please use existing ORM testcases as a template.