Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Anna Rodionova
Total activity
25
Last activity
August 25, 2024 11:58
Member since
August 29, 2022 14:26
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
12
Activity overview
Articles (0)
Posts (0)
Comments (13)
Anna Rodionova
commented,
August 25, 2024 11:58
Hi!To execute the SQL, you need to:1. Create or get existing session by using com.intellij.database.console.session.DatabaseSessionManager#getSessions(com.intellij.openapi.project.Project, com.inte...
Community
IntelliJ IDEA Open API and Plugin Development
How to execute sql with database tool's sqleditor
0 votes
Anna Rodionova
commented,
August 25, 2024 11:53
Hi!To execute the SQL, you need to:1. Create or get existing session by using com.intellij.database.console.session.DatabaseSessionManager#getSessions(com.intellij.openapi.project.Project, com.inte...
Community
IntelliJ IDEA Open API and Plugin Development
How to execute the sql with the native database api
0 votes
Anna Rodionova
commented,
February 20, 2024 13:26
Official comment
Hi cpwm,You can independently retrieve your JDBC output on-the-fly during query execution and display it in the Output. To output, you need to use com.intellij.database.datagrid.DataRequest.Context...
Community
IntelliJ IDEA Open API and Plugin Development
How can I print JDBC driver logs to the Services panel's output?
0 votes
Anna Rodionova
commented,
February 20, 2024 12:03
Official comment
Hello Ewenson!You can process all relevant statements as follows: public static void handleConsoleQuery(@NotNull final Project project, @NotNull final PsiFile file, @NotNull final Editor editor) { ...
Community
IntelliJ IDEA Open API and Plugin Development
Datagrip editor get active text
0 votes
Anna Rodionova
commented,
September 07, 2023 13:11
Hi Guno Heitman!You can use the following method for your purpose: com.intellij.database.view.DbNavigationUtils#navigateToData(com.intellij.database.psi.DbElement, boolean).
Community
IntelliJ IDEA Open API and Plugin Development
Navigating to Database Grid from Line Marker Provider
0 votes
Anna Rodionova
commented,
July 12, 2023 10:37
Hello! It is true that instead of using getJdbcConnection(), you can use getRemoteConnection(). However, you can execute the query in a more convenient way using sessions. Session are our wrapper o...
Community
IntelliJ IDEA Open API and Plugin Development
Run sql statement programatically
1 vote
Anna Rodionova
commented,
June 06, 2023 13:11
Hi!First, I will tell you how you can achieve what you want, and then I will provide my recommendations on what I think you should do.How to achieve what you want:1. Connection I want to point out ...
Community
IntelliJ IDEA Open API and Plugin Development
Integrating with Database View for querying and Code Generation
0 votes
Anna Rodionova
commented,
May 31, 2023 09:11
Hi! Unfortunately, there is no way to do what you want - to add custom logic to the query and, based on it, change the parameters and the final text of the query.
Community
IntelliJ IDEA Open API and Plugin Development
How to change sql and parameters before execute?
1 vote
Anna Rodionova
commented,
May 31, 2023 09:00
Official comment
Hi! Unfortunately, there is currently no way to influence the logic of parameter substitution in the query text, so you will not be able to modify the query depending on the parameter values.
Community
IntelliJ IDEA Open API and Plugin Development
How can I get or modify dialog parameters and sql before real executing?
0 votes
Anna Rodionova
commented,
April 19, 2023 16:56
Official comment
Hi zion,To execute a query you need to:1. Create or get existing session (it's our wrapper for connection) by using com.intellij.database.console.session.DatabaseSessionManager#getSessions(com.inte...
Community
IntelliJ IDEA Open API and Plugin Development
When developing the idea plug-in, how to execute the query sql and get the query result?
0 votes