Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqlsyntax definer bug #47

Open
syscaday opened this issue Feb 27, 2017 · 0 comments
Open

sqlsyntax definer bug #47

syscaday opened this issue Feb 27, 2017 · 0 comments

Comments

@syscaday
Copy link

val codinatorSQL = sqls.eq(cod.createdDate, DateTime.now().toString("yyyy-MM-dd"))

Im generating a sqlsyntax and pass over error show Retriving Group Failed.com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'created_date' in where clause is ambiguous

But if i use it direct at model
.eq(cod.createdDate, DateTime.now().toString("yyyy-MM-dd"))
.append(sqls"${where}")

cod.createdDate are working fine with definer cod.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant