Is there an Agroal configuration for the initial SQL?

I'm setting up a connection pool using Quarkus. I want to know whether there is an Agroal configuration for the initial SQL.

Upvotes: 1

Views: 237

Answers (1)

loicmathieu
loicmathieu

Reputation: 5562

There isn't directly on the Agroal extension but there is one on the Hibernate ORM one.

You can use, the following property (default to import.sql):

quarkus.hibernate-orm.sql-load-script=import.sql 

The configuration reference can be found here: https://quarkus.io/guides/hibernate-orm-guide#properties-to-refine-your-hibernate-orm-configuration

Upvotes: 0

Related Questions