title: Creating separate data source for my session spring using JDBC and spring data jpa in spring boot
body: <p>I am a newbie in spring-boot and i want to configure my spring session with jdbc using h2 database, but it does not create a database and table in my h2 embedded database, it creates it in the PostgreSQL, using the PostgreSQL data source i configured in my applications properties file. How do i make my spring app use my embedded h2 db for storing sessions only while not conflicting with the PostgreSQL data source for my JPA</p>
  
  <p><a href="https://github.com/eshiett1995/SessionProject" rel="nofollow noreferrer">https://github.com/eshiett1995/SessionProject</a>. i would love if someone could help me with the session</p>