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

Last snapshot (04/12/2022) java.sql.SQLSyntaxErrorException #1187

Closed
yanchevsky opened this issue Jan 5, 2022 · 1 comment
Closed

Last snapshot (04/12/2022) java.sql.SQLSyntaxErrorException #1187

yanchevsky opened this issue Jan 5, 2022 · 1 comment

Comments

@yanchevsky
Copy link
Contributor

yanchevsky commented Jan 5, 2022


[ среда, 5 января 2022 г. 14:17 ] ⁨Yan⁩: org.javalite.activejdbc.DBException: java.sql.SQLSyntaxErrorException: (conn=8103) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':(teeth)ATETIME,'f6547fb5-fee0-400d-ac2b-ef722e697ea8'::VARCHAR,'Affiliate 1'::VAR...' at line 1, query: INSERT INTO affiliates (created_at, guid, name, updated_at) VALUES (?:(teeth)ATETIME,?::VARCHAR,?::VARCHAR,?:(teeth)ATETIME), params: 2022-01-05 14:11:24.835, f6547fb5-fee0-400d-ac2b-ef722e697ea8, Affiliate 1, 2022-01-05 14:11:24.835

	at org.javalite.activejdbc.DB.execInsert(DB.java:734)
	at org.javalite.activejdbc.Model.insert(Model.java:2741)
	at org.javalite.activejdbc.Model.save(Model.java:2673)
	at org.javalite.activejdbc.Model.saveIt(Model.java:2597)

@ipolevoy
Copy link
Member

ipolevoy commented Jan 6, 2022

this was a result of an unfortunate change in dialect inheritance

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

No branches or pull requests

2 participants