-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offer DB2 JDBC extension #6293
Comments
@emmanuelbernard can you please assign this one to me, add the [Epic] label, and add it to the "in progress" column of the Epic roadmap? I've been working with an engineer from Rocket Software on creating this extension for the past month or so. |
i don't think it's an epic. I added it to the roadmap board. |
@aguibert db2 running on z/OS too? |
@viniciusfcf initially just DB2 on LUW but hopefully we can add z/OS support soon after |
@aguibert hello, I'm working up the roadmap for the next 3-6 months. Is it something you plan to have done by then? |
@emmanuelbernard yes it will be done by then. I've been working with Rocket Software and the necessary changes to the DB2 JDBC driver are complete, now we just need to wait for them to cut a new release (which only happens every 6 months apparently). Latest estimate I got from them was July of this year. |
Will this apply to the DB2/400 flavor? I expect the jt400 version is possible but not the "native" drivers |
hi @smitopher, I am least familiar with DB2/400 out of the DB2 distro's, so I will have to check with my IBM i colleagues next week. The native drivers would not be an option because Quarkus in general cannot do compile-to-native on IBM i anyway. The jt400 driver would certainly work, but it will likely require some additional changes to get it working in native mode. The driver we have been working on so far is the DB2 Universal Driver which works for DB2 LUW and DB2/Z, and I'm not sure if it also works for DB2/400 or not. |
Thank you @aguibert |
@aguibert ... uhm... you are in rochester??? and DB2/400 is you're...ahh... least familiar DB2 flavor??? hehehe... 14 years ago, I worked there for a year as part of a joint project with Synon for about a year. |
I started out working in IBM i too actually (file system for a brief internship) but I've happily been in Java/WebSphere land since that first year and didn't care to look back ;) I linked the maven dependency for the DB2 Universal driver in my previous comment. Give it a try with a DB2/400 backend and let me know if it works (in Quarkus JVM mode of course, native won't work yet with any DB2 distro) |
@aguibert Need any help adding z/OS support? |
hi @andrebreves, thanks for the offer! Unfortunately the DB2 JDBC driver is closed-source and I am needing to do all of this work with a business partner who owns the driver, so don't I think I'll be able to involve a non-IBM employee in this effort. I have access to an internal DB2 driver that will be released soon (TM) and contains the necessary updates for Quarkus. I can check that with DB2/z locally so maybe we can just claim support for DB2/z out of the gate. OTOH, if you are interested in reactive data access, we are working on an open source reactive DB2 driver that will be pulled in as a Quarkus extension probably sooner than the JDBC one will be. So far I've mainly tested it w/ DB2 LUW, so if you'd like to help out with z/OS support on that one it would be great! |
I understand.
Great news! Thanks for your work!
I don't have any project using reactive data access myself, but I will talk to some colleagues asking if they could help testing the driver. |
hi @andrebreves, tested a release candidate DB2 JDBC driver today and it's working with DB2 LUW and DB2 on z/OS (See PR #10349 for further detail) |
Great news @aguibert! Will the compatible JDBC driver be available in the IBM page when released? |
@andrebreves the DB2 JDBC extension is now merged in, and will be a part of the next release of Quarkus. |
@aguibert After this PR, do we have both "quarkus-reactive-db2-client" and "quarkus-jdbc-db2"? |
@aguibert Thank You. PR-9732 mentions "quarkus-reactive-db2-client" can be used in both JVM and Native mode. |
@rmohta All the drivers you see listed as extensions in https://code.quarkus.io including all JDBC drivers do work in both JVM and native. That's a core value of Quarkus :) |
Describe the extension
Offer DB2 JDBC support via extension that works in JVM mode and native mode.
Interested in this extension, please +1 via the emoji/reaction feature of GitHub (top right).
Configuration suggestion
# Add your application.properties here, if applicable. <typical JDBC configuration properties>
Additional context
(Add any other context about the proposal here.)
The text was updated successfully, but these errors were encountered: