Hello,
Once again me. This time I think I've done all I could to troubleshoot the problem.
If I have a table in my DB that contains only 'record_version' column and try to insert a new record to this table without setting any other values, it results in the following error:
org.javalite.activejdbc.DBException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' record_version) VALUES (, 1)' at line 1, query: INSERT INTO webpages (, record_version) VALUES (, 1)
As you can see, this happens due to the wrongly formulated SQL query, the unneeded comma as if other values were to be inserted along:
INSERT INTO webpages (, record_version) VALUES (, 1)
I am using the 1.4.10-SNAPHOST version of ActiveJDBC.