nutting
V2EX  ›  问与答

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

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

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

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