This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO : vn.mpos.supermarket.utils.RethinkDBUtil - ===============RETHINK ALIVE========= | |
com.rethinkdb.gen.exc.ReqlDriverError: Response pump closed. | |
at com.rethinkdb.net.DefaultConnectionFactory$ThreadResponsePump.await(DefaultConnectionFactory.java:214) | |
at com.rethinkdb.net.Connection.sendQuery(Connection.java:349) | |
at com.rethinkdb.net.Connection.runQuery(Connection.java:384) | |
at com.rethinkdb.net.Connection.runAsync(Connection.java:166) | |
at com.rethinkdb.net.Connection.run(Connection.java:185) | |
at com.rethinkdb.ast.ReqlAst.run(ReqlAst.java:61) | |
at vn.mpos.supermarket.utils.RethinkDBUtil.addOrder(RethinkDBUtil.java:96) | |
at vn.mpos.supermarket.service.SuperMarketService.addOrder(SuperMarketService.java:138) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package vn.mpos.supermarket.utils; | |
import com.rethinkdb.RethinkDB; | |
import com.rethinkdb.gen.ast.ReqlExpr; | |
import com.rethinkdb.gen.ast.ReqlFunction1; | |
import com.rethinkdb.net.Connection; | |
import com.rethinkdb.net.Result; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.annotation.Autowired; |