Open rofly opened 6 years ago
Please feel free to send a PR.
Did someone fix this issue? I have the same problem. ORA-01036: illegal variable name/number
I started building the code for autoincrement back in 2018, but the project i was working on was canceled and I'm no longer working with Go + Oracle.
I can take a look in the code on monday and reply here.
I started building the code for autoincrement back in 2018, but the project i was working on was canceled and I'm no longer working with Go + Oracle.
I can take a look in the code on monday and reply here.
I will appreciate it if you have the code
When a field has the tag "autoincr", in the insert process Xorm will always try to select the next value for the sequence from a fixed sequence, named:
https://github.com/go-xorm/xorm/blob/master/session_insert.go#L386
Instead of having an option to specify the sequence name that the value should be extracted from.