検索

質問
· 2025年9月25日

Source Control: Studio.Extension.Base.CheckIn showing a dialog with a single field?

In Studio, is it possible to call a dialog with a single input text field inside a custom Studio.Extension.Base.CheckIn method?

Update: The AI Bot just answered, not sure why it was at loss before I posted.

1 Comment
ディスカッション (1)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年9月25日

InterSystems Ideas News #25

Hi Community!

Welcome to Issue #25 of the InterSystems Ideas newsletter! Let's look at the latest news from the Ideas Portal, such as:

✓ General Statistics
✓ Recently added Community Opportunity ideas

   Here are some August numbers for you. During last month, we had:

  • 4 new ideas
  • 13 implemented ideas
  • 27 comments
  • 49 votes

👏 Thanks to everyone who contributed in any way to the Ideas Portal last month!

  Just in time for the new InterSystems External Languages Contest, here's a list of new Community Opportunity ideas:


✨ Share your ideas, support your favorites with comments and votes, and bring the most interesting ones to life!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2025年9月25日 1m read

Ganhe certificados sobre tecnologia InterSystems

certification badge

Com os exames de cerficação padrão de indústria da InterSystems, você e seu time podem ganhar certificados qeu validam suas habilidades e demonstram sua expertise em tecnologia InterSystems. Encontre o teste correto para sua posição!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2025年9月25日 2m read

About parallel queries (%PARALLEL)

InterSystems FAQ rubric

One way to optimize query performance is to use query parallelism on a per-query or system-wide basis (a standard feature).

This is a technique for dividing the execution of a particular query among processors on a multi-processor system. The query optimizer will execute parallel processing only if there is a possibility of benefiting from parallel processing. Parallel processing is only applicable to SELECT statements.

Note that the number of parallel processes cannot be specified, as it is automatically adjusted according to the number of CPUs. You can check the current number of processors in your system with the following command.

USER>write $SYSTEM.Util.NumberOfCPUs()
8

Previously, parallel processing was enabled by adding the %PARALLEL keyword to a query, but from IRIS2019.1 onwards, the default is "always enabled".

Management Portal:
  System Administration > Configuration > SQL and Object Settings > SQL
    Execute queries in a single process
    *Check this box to disable parallel processing (default is unchecked)

To disable parallelism on a per-query basis, specify the %NOPARALLEL keyword.

SELECT * FROM %NOPARALLEL Sample.Person WHERE ...

Note:
Specifying %PARALLEL may degrade performance for some queries. For example, specifying %PARALLEL when executing a query on a system with multiple concurrent users may result in overall performance degradation. In this case, use %NOPARALLEL to disable parallel processing for each query, or set the system-wide setting to "Execute queries in a single process."

For more information, see the following document: Query Parallelism
 

ディスカッション (0)0
続けるにはログインするか新規登録を行ってください
記事
· 2025年9月25日 2m read

Create a JDBC connection with Mysql Cache

When we need to integrate Caché/IRIS with other relational databases, one common question arises: “How do I set up the JDBC connection?”.
The official documentation doesn’t always provide a straightforward step-by-step guide, which can be frustrating, especially for beginners.

In this article, I’ll walk you through the entire process of configuring a JDBC connection with MySQL, from downloading the connector to linking tables in Caché/IRIS.

Note: JDBC connections in Caché/IRIS have some limitations, especially regarding caching and the use of ResultSet. In many cases, you may need to adapt queries manually and use the Gateway object to handle advanced scenarios.

1. Download the MySQL JDBC Connector

The first step is to download the official MySQL JDBC driver.
Go to: https://dev.mysql.com/downloads/connector/j/

2. Make the Connector Accessible

After downloading:

  1. Extract the package.
  2. Locate the .jar file (e.g., mysql-connector-j-9.4.xx.jar).
  3. Copy the file to a folder accessible to Caché/IRIS, for example:


3. Configure the Connection in the Management Portal

Now, let’s set up the connection inside the Management Portal:

  1. Open the Caché/IRIS Management Portal in your browser.
  2. Navigate to Gateway Sql Connections
  3. Click “Create New Connection”.




Create a new connection and configure it using the example provided.

,

4. Link External Tables

  • Go to a SQL in Menu, assistant > link table
  • Click Assistant > Link Table.
  • Select your connection (MySQL_Conn).
  • Choose the tables you want to link.
  • Confirm.

And put the necessary settings, this part is easy and very suggestive, once this is done your jdbc connection is ready, you can see on the sql screen itself the bank, the table and can bring the data, remember that mysql uses backquotes to form select and the cache uses double quotes which can be a problem when doing some select

After mapping the tables, you will be able to view them under the Tables tab in the SQL screen.

5. SQL Syntax Consderations

One common issue:

  • MySQL uses backticks (`) for table and column names.
  • Caché/IRIS uses double quotes (") for identifiers.
  • By selecting the appropriate options in the Gateway configuration screen (as shown in the screenshot), you can resolve this issue. However, you may also choose to leave it unchanged for any reason.

This can cause problems in queries. If needed, manually adjust the syntax when writing SQL statements.

Conclusion

And that’s it! You now have a working JDBC connection between Caché/IRIS and MySQL.

With this setup, you can:

  • Query MySQL data directly from Caché/IRIS.
  • Link tables to your namespace for easy integration.
  • Automate data exchange between systems.

Even though JDBC in Caché/IRIS has some limitations, this configuration covers most integration needs in a practical way.

1 Comment
ディスカッション (1)2
続けるにはログインするか新規登録を行ってください