So I've trying to get Spring Boot with JPA 2.2 to work on a Websphere 8.5.5 Application Server. Since 8.5.5 only supports JPA 2.0, I believe that my only choice is to bypass Websphere and use non-container-managed persistence if I want to use JPA 2.2 features (please correct me if I'm wrong or if there's a better approach).
The problem is that existing applications currently use a JDNI data source and persistence managed by Websphere. I don't want to increase the workload of the DBAs by requiring them to do additional configuration, so I would like to pull the database credentials from the JDNI data source to setup my own connection with Spring Boot. Is there a simple way to do this?