Giter Club home page Giter Club logo

Comments (4)

8wy1985659 avatar 8wy1985659 commented on July 30, 2024

具体是调用的ShardDatabaseMetaData的哪个方法? 我看一下能否支持

from zebra.

HappyTree2017 avatar HappyTree2017 commented on July 30, 2024

具体是调用的ShardDatabaseMetaData的哪个方法? 我看一下能否支持

public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
你是这个类里面的大部分实现方法好像都是空实现,这个是需要使用者自己去实现吗?想问下咱们这个组件只有结合mybatis使用的最佳实践吗?

from zebra.

8wy1985659 avatar 8wy1985659 commented on July 30, 2024

1.分库分表场景下ShardDatabaseMetaData这里的方法大部分是"没有准确实现或无需使用"的 所以我们这里一般都是上层框架必须要使用的情况下才会想办法做下支持
2.mtdp内部基本都是mybatis 其他框架目前没有专门去做支持 后面我们会考虑增加

from zebra.

HappyTree2017 avatar HappyTree2017 commented on July 30, 2024

image
还有就是,我发现组件对connection中不支持的方法直接抛出了异常,其中有个方法是getWarnings,这个方法在Hibernate释放连接资源的时候使用到了,而且是在释放资源前调用的,这样导致连接释放失败。。。这个就是很大的问题了,我的资源池设置了100个连接,很快就耗尽了
如果方便的话,加下微信好友(duanmu1210893441),这样交流比较方便

from zebra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.