From the course: Learning Quarkus

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

External RDS databases

External RDS databases

From the course: Learning Quarkus

Start my 1-month free trial

External RDS databases

- [Instructor] So now, let's connect an application to a data source. So the first thing that we want to do is we want to run the start_postgres script in the bin directory of the exercise files. And what this is going to do is it's going to run a Postgres database and populate it with some data. You'll see all of the insert statements that are executed that let you know that the data has actually been inserted into the database. So now, let's jump over to our IDE. And we're going to go ahead and go back to our command app, and we're going to start from there. So the first thing to do in this application is to open up the pom file. And we're going to add a couple elements to our pom file. Go ahead and remove the rest easy 'cause we don't need that. The first dependency that we're going to add is quarkus.agroal And that comes from io.quarkus. And then we're going to bring in our database driver, which is…

Contents