We're updating the issue view to help you get more done. 

Hibernate Integrations Guide: an incorrect example LatestAndGreatestConnectionProviderImpl

Description

Hibernate Integrations Guide

1.5.1. Custom Service Implementations (overriding)

Example 1.1. Custom ConnectionProvider implementation
LatestAndGreatestConnectionProviderImpl.java#L26

1 2 3 4 5 6 public void stop() { available = true; // stop the underlying pool lagPool.shutdown(); }

should be changed to

1 2 3 4 5 6 public void stop() { available = false; // stop the underlying pool lagPool.shutdown(); }

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Vladimir Ladynev

Labels

Suitable for new contributors

Yes, likely

Time Tracking

3h

Components

Fix versions

Affects versions

5.1.0

Priority

Trivial