Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加执行存储过程的方法 #258

Open
yrong0605 opened this issue Aug 19, 2024 · 1 comment
Open

增加执行存储过程的方法 #258

yrong0605 opened this issue Aug 19, 2024 · 1 comment

Comments

@yrong0605
Copy link

能否增加调用存储过程的方法,存储过程可能会有多个结果集,执行后可返回类似于.net的dataset数据集

@xuejmnet
Copy link
Collaborator

DataSource defaultDataSource = easyEntityQuery.getRuntimeContext().getDataSourceManager().getDefaultDataSource();
        Connection connection1 = defaultDataSource.getConnection();

这边的建议是直接操作DataSource来操作原生jdbc的链接框架的支持不一定马上能实现
也可以单独在spring或者其他框架中注入DataSource来操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants