-
Notifications
You must be signed in to change notification settings - Fork 38
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
Provided Example doesn't work #39
Comments
As long as you don't have anything waiting for your async code to complete, I suspect your application shuts down before anything has time to run. |
thanks for quick reply. |
Hi, as @haraldnh pointed out, you won't get any output if the JVM exits before the queries are completed. You can also add a second argument to |
@MuhammedSenussi |
Hi,
i've just started using postgres-async-driver and nothing from provided example worked.
here is my code:
`@Bean
Db db() {
log.info("\n\n==> @ VALUE CONNECTING>> {}/[user:{} , pass: {}]\n", DB_URL, DB_URL,DB_PASS);
return new ConnectionPoolBuilder()
.hostname("localhost")
.port(5432)
.database("eve-driver")
.username(DB_USER)
.password(DB_PASS)
.poolSize(20)
.build();
}
@Autowired
private Db db;
but nothing printed at all
The text was updated successfully, but these errors were encountered: