I have added spring.datasource.jndi-name=java:comp/env/jdbc/DB_Name property in application.properties file, datasource not created.
I want to use that datasoure with spring boot 2.0.3, spring boot data jpa(hibernate),websphere. Need to use the jparepository for CURD operations.
I have seen the similar issue. But we don't have web.xml in spring boot to add resource reference. So can't follow that answer. How can I achieve the jparepository.