Forum tags


Top Posters

Last 30 days

  • ravinderjit.singh (29)
  • Antoine (26)
  • danielandross (17)
  • venkaiah.k (16)
  • shao (14)
  • sirswendu.ganapati (13)
  • eva.das (13)
  • metabyte (9)
  • milos.vacek (7)
  • cristiano.quintao (7)

All time

  • Antoine (1492)
  • Shivanand (1194)
  • cshekhar (928)
  • psq (796)
  • jag (391)
  • metabyte (380)
  • arnaud (328)
  • jalateras (325)
  • dfrench (271)
  • venkaiah.k (214)

Show last 4 hrs - 12 hrs - 24 hrs

POLL

We are looking for more information to tailor our training to better meet the needs of our customers. Please indicate all options that apply.

I would like to attend specialized training from Intalio on BPM as it relates to my application area:


I would like to attend specialized training from Intalio on BPM as it relates to my job function:


I would like to attend specialized training from Intalio on BPM as it relates to my industry:

Login

MAIN arrow FORUMS
Re:Inserting data into Database (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Inserting data into Database
#16937
himar.rodriguez (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Inserting data into Database 1 Month, 2 Weeks ago Karma: 0  
Hi.

Im trying to insert data into a database using xforms in my process. I Use the Derby database installed with Intalio.

I dont have any problem when i use a database operation like a query, such as:

"select * from people where firstname = ?"

But what i want to do is insert data into that database with operations like:

INSERT INTO app.people(username, firstname, lastname, email, phone) values ('examples\\msmith', 'Mark', 'Smith', ' ', '1234567');

The program returns this error:

"The output of the database operation "inserting" is not defined."

So, is it possible to insert data or make another operations without outputs like deleting, modifiing... directly from my process by another way ?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16942
Antoine (Admin)
Admin
User Offline Click here to see the profile of this user
Re:Inserting data into Database 1 Month, 2 Weeks ago Karma: 28  
Yes, it is. Did you modify the query from a SELECT statement ? Somehow the software must think this is still a SELECT.

Try creating a new query, paste the query in there, see what that gives.

Thanks,

Antoine
 
Report to moderator   Logged Logged  
 
Intalio, the Open Source BPMS company
www.intalio.com
  The administrator has disabled public write access.
#16949
himar.rodriguez (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Inserting data into Database 1 Month, 2 Weeks ago Karma: 0  
Yes, i modified the query from a select statement because when you create a new database connector it always is opened with the statement:

select * from <tablename>

I delete it and i write a INSERT operation, it works fine because i execute the sentence with an operation defined in the right button of the mouse.

But when i save it and i watch the Problems tab in designer, it returns the problem that the output is not defined.

So i dont know if i am doing something wrong or it is impossible to make operations without any output.

Thanks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16951
Antoine (Admin)
Admin
User Offline Click here to see the profile of this user
Re:Inserting data into Database 1 Month, 2 Weeks ago Karma: 28  
That should be possible. 5.2.1 addresses that bug by introducing a new DB connector. 5.2.1 should be out soon.

Thanks,

Antoine
 
Report to moderator   Logged Logged  
 
Intalio, the Open Source BPMS company
www.intalio.com
  The administrator has disabled public write access.
#16959
himar.rodriguez (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Inserting data into Database 1 Month, 2 Weeks ago Karma: 0  
Thanks so much.

I will wait for 5.2.1 and meanwhile i will try to find another solution.

Thanks

Himar
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16962
himar.rodriguez (User)
Fresh Boarder
User Offline Click here to see the profile of this user
Re:Inserting data into Database 1 Month, 2 Weeks ago Karma: 0  
At the end, i managed after doing the same 100 times, that software forget that it was a SELECT as you told me, and i could make an insert operation.

Anyway connector doesnt always work perfectly. Sometimes output parameters dissapear from mapper without any reason. I hope that in 5.2.1 it will be better.

Thanks Antoine.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop