nutting
V2EX  ›  问与答

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

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

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3333 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 12:48 · PVG 20:48 · LAX 05:48 · JFK 08:48
    ♥ Do have faith in what you're doing.