Laird Nelson
Laird Nelson
While tracing class initialization, I also discovered that the Oracle database driver has a native image `Feature` in it that crashes if `--trace-class-initialization=something` is specified. The stack includes: ``` Caused...
Making headway. If there is a classpath resource named `META-INF/helidon/native-image/weld-proxies.json` that is, exactly: ``` [ { "bean-class": "io.helidon.integrations.datasource.ucp.cdi.UCPBackedDataSourceExtension", "ifaces": [ "java.io.Serializable", "java.sql.Wrapper", "javax.naming.Referenceable", "javax.naming.spi.ObjectFactory", "javax.sql.CommonDataSource", "javax.sql.DataSource", "oracle.ucp.jdbc.PoolDataSource", "oracle.ucp.UniversalConnectionPoolAdapter" ] }...
I believe I have a working `weld-proxies.json` file. I am now having a devil of a time getting `org.h2.jdbcx.JdbcDataSource` registered for reflection, following the guide here: https://www.graalvm.org/latest/reference-manual/native-image/dynamic-features/Reflection/#manual-configuration I, like you,...
I guess my point is: you can, of course, use UCP without CDI (or Helidon, for that matter). If your only requirement is connection pooling you could look at that....
I have attached a very, very pared down project that is suitable only for this example and warranted for no purpose, including this one 😄 : [ucpni.tar.gz](https://github.com/helidon-io/helidon/files/14439949/ucpni.tar.gz) The project starts...
If you have a problem with native image as it relates to configuration (not to UCP specifically), please kindly open another issue. Thanks. I will say yet again that your...
You will be able to accomplish your goal, and certainly without native image. A Java microservice certainly does not need to be a `native-image`-generated executable; indeed it normally is better...
Hi! I'm glad you're using the plugin. I add things to it when I get time and interest. I hadn't needed the webserver functionality so I hadn't enabled it. I'll...
Oh, that's interesting. Let me think about that.
I vote -1. You currently can make almost any existing method you like an observer method (provided it takes parameters) from “outside” via portable extensions. That seems useful. The same...