🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

The dummy operator Read Database (replacing jdbc_connectors:read_database) cannot be executed.

User: "21310122"
New Altair Community Member
Updated by Jocelyn

I creat a process and run it in the RM Studio, it shows correct result in Results panel. Then I want to use it in my program, so I create a test class to run the process by using code like this:

1.jpg2.png

 

But result isn't what I expected. 

3.png

 

Then I debug it and find the reason, "myProcess" created by "processXML" isn't right, but "processXML" is right.

Process myProcess = new Process(processXML);
myProcess.setProcessLocation(new RepositoryProcessLocation(pLoc));

4.png

 

But why? What is a dummy operator? 

Does anybody know the answer? Thanks a lot.

 

 

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "MartinLiebig"
    Altair Employee
    Accepted Answer

    Hi,

     

    JDBC connectors are not part of the open-core but in a seperate extension called jdbc-connections. This extension is not open source.

     

    Best,

    Martin

     

    User: "21310122"
    New Altair Community Member
    OP

    Does it mean that I can't use "read database" operator in my program? And another question, when I using it in RM, I didn't add any extension named "jdbc-connectors" and didn't found anything like that in marketplace. So why am I able to use it in RM and get the right answer? Thanks a lot.