How to insert DEFAULT into Postgresql SERIAL column using Scala Java
MySQL will accept NULL to an auto increment column and insert the last value. So you could presumably use (Using the code from this SO answer, where st is a preparedStatement) st.setNull(1, java.sql.Types.NULL) I'm trying to figure out how you…