nutting
V2EX  ›  问与答

如何设置数据库执行超时时间?

  •  
  •   nutting · Oct 9, 2019 · 1256 views
    This topic created in 2481 days ago, the information mentioned may be changed or developed.

    我想在查询数据时,超过 5 秒没执行完就算超时,返回空或者异常都行。现在用的 c3p0,没发现有这种功能的配置,要怎么搞呢?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1041 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 23:19 · PVG 07:19 · LAX 16:19 · JFK 19:19
    ♥ Do have faith in what you're doing.