It's all about the answers!

Ask a question

How to get a JDBC connection in to our plug-in extensions

SEC Servizi (97122853) | asked Nov 04 '14, 7:57 a.m.
edited Nov 04 '14, 8:00 a.m.
We would be able to reuse the same JDBC driver for Jazz Team Server (see steps 5.b-c from!/SSCP65_2.0.0.2/ to obtain a database connection in to our plug-in extensions. It would be even better if we could reuse the same database connection utils from Is that possibile?
Thanks in advice.

2 answers

permanent link
Martha (Ruby) Andrews (3.0k44051) | answered Nov 17 '14, 12:35 p.m.
 I do not know of a way to get the database connection directly. 
These two (older) articles on might be helpful to you:

The first talks about defining a service and client library (needed if using the Eclipse client). The second talks about defining new types that are stored in the repository. Neither describes exactly what you are trying to do: access the database directly. 


SEC Servizi commented Nov 18 '14, 4:33 a.m.
Thanks Martha, this "walkthrough" was helpful.


permanent link
Martha (Ruby) Andrews (3.0k44051) | answered Nov 13 '14, 4:47 p.m.
Connecting to the database directly from your plug-ins should not be necessary if you are using the Java API. You can use the ITeamRepository interface to connect to the repository gives access to the items in the database. 

SEC Servizi commented Nov 17 '14, 9:07 a.m.

We created new tables to extend the default items and store more information in to the repository. We would be able to obtain a database connection through Jazz API to inquiry these new records.

Is that possibile if they are in the same database/schema?

Your answer

Register or to post your answer.