How exactly does "autocommit" JDBC validation work like?

I wonder what exactly this particular JDBC connection validation mode does? Is that a simple call to enable or disable autocommit mode on a connection, or what else…? What are the potential (negative) side effects of using this mode?