A trident state implementation using MySQL JDBC driver