Skip to content
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

db connection with Eclipselink #2221

Open
rbdevopsx opened this issue Jul 29, 2024 · 0 comments
Open

db connection with Eclipselink #2221

rbdevopsx opened this issue Jul 29, 2024 · 0 comments

Comments

@rbdevopsx
Copy link

Hello, i want to use HikariCP with Eclipselink, but i can't find any settings for my persistence.xml
this is my file :

  <property name="eclipselink.canonicalmodel.subpackage" value="mysql"/>
  <property name="jakarta.persistence.jdbc.driver" value="com.mysql.cj.jdbc.Driver"/>
  
  <!-- PRODUCTION MYSQL 8 -->
  <property name="jakarta.persistence.jdbc.url" value="jdbc:mysql://127.0.0.1:3306/boilerplatedb?useSSL=false"/>
  <property name="jakarta.persistence.jdbc.user" value="myuser"/>
  <property name="jakarta.persistence.jdbc.password" value="mypassword"/>
  <property name="eclipselink.jdbc.batch-writing" value="JDBC"/>
  <property name="eclipselink.jdbc.batch-writing.size" value="1000"/>
  <property name="eclipselink.jdbc.cache-statements" value="false"/>
  <property name="eclipselink.cache.shared.default" value="false"/>
  <property name="eclipselink.logging.level" value="OFF"/>

  <!-- eclipse pool -->
  <property name="eclipselink.connection-pool.default.initial" value="5" />
  <property name="eclipselink.connection-pool.default.min" value="8" />
  <property name="eclipselink.connection-pool.default.max" value="13" />
  

</properties>

thanks!
Roberto

@rbdevopsx rbdevopsx changed the title Eclipselink connectio Eclipselink connection Jul 29, 2024
@rbdevopsx rbdevopsx changed the title Eclipselink connection db connection with Eclipselink Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant