How to configure HikariCP with EclipseLink JPA - eclipselink

I am upgrading my (old) application (JSF/Java) that uses HikariCP as its connection provider. Now I would like to use JPA and EclipseLink. Any suggestions on how to use HikariCP with EclipseLink?
On the HikariCP, there is only a configuration for Hibernate: https://github.com/brettwooldridge/HikariCP/wiki/Hibernate4
How could I do the same in EclipseLink?

Related

Having connection issue while connecting to MariaDb Galera cluster using mariadb jdbc connector plugin

Error: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLNonTransientConnectionException: (conn=6037539) Client does not support authentication protocol requested by server; consider upgrading MySQL client
Mariadb Client I am using:
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.1.0</version>
</dependency>
Connection String:
jdbc:mariadb://myremoteserverhost:3306/MY_DATABASE
driver-class-name: org.mariadb.jdbc.Driver
I am using a spring boot application using maven as a build tool.
Can anyone help me solve this why the spring boot application using the mentioned jdbc client cannot make a connection to the database.
I am expecting a successfull connection made to the database

IBM Mobilefirst 8 with Websphere application server using oob derby database

Installed IBM Mobilefirst 8 server with WAS 8.5.5.12 using Apache derby database.
Facing below error while checking connection of datasource which are created for mobilefirst server :
java.lang.Exception: DSRA8101E: DataSource class cannot be used as one-phase: ClassCastException: org.apache.derby.jdbc.AutoloadedDriver40 incompatible with org.apache.derby.jdbc.InternalDriver
Working fine with mysql database.
While this message would normally indicate that a data source implementation class was specified that does not implement javax.sql.ConnectionPoolDataSource, I don't believe that is the case here based on the classes identified in the exception message. Another possible cause is that multiple copies of the Derby JDBC driver are on the classpath at the same time. It should be noted that WebSphere Application Server traditional ships a copy of the Derby JDBC driver. If you do have two copies, is it possible to switch to only using the one that is shipped with the application server? If that is not possible, you might be able to work around this by selecting the option to isolate your JDBC provider.
For use with MFP 8.0 standalone server with Websphere Application Server 8.5.5.5, use DB2,MySQL or Oracle

Can MyBatis be used with SAP Hybris database?

Is it possible to use MyBatis on top of an SAP Hybris database?
Or does this require some customization to use SAP BAPIs/Interfaces, ...?
Hybris using jdbc and it has hard coded functionality by some jdbc driver. It is not supported all jdbc driver. I think using MyBatis is impossible for hybris ootb db.
Maybe you can use it in some custom classes.

Neo4j and Mongodb as datasource in Grails

I am using spring-data-neo4j in my Grails application because of limited functionality of neo4j gorm (neo4j plugin) . I am planning to use Neo4j and Mongodb both as my datasource . Is there any way that I could map a single Domain in both neo4j and Mongodb (Grails core provides facility of using multiple database)
http://www.grails.org/doc/2.2.1/guide/conf.html#dataSource

production ready persistence providers for jpa 2.1

Is there a Production ready Persistence provider for JPA 2.1? I see that Hibernate is only going to support it only from 4.3 onwards and its only in a beta stage.
Im using eclipselink 2.5.1. http://www.eclipse.org/eclipselink/. Seems to work stable.