Apparently something changed in the platform API, in this case you could solve this by removing that line from the java code.
You could just remove line import com.mendix.db; from the file you have in the compile error.
That should fix this problem.