title: Spring JPA data removed after shutdown of application
body: <p>i have an application thats build on Spring boot, using JPA repositories on HSQL database.</p>
  
  <p>Problem is that while application is running, I create an entity,and it's persisted correctly to database(can be seen in database manager). But after application shutdown from eclipse, all data is removed;</p>
  
  <p>Saving is performed like this</p>
  
  <pre><code>@Service
  public class NotificationService {
  
      @Autowired
      private NotificationRepository notificationRepository;
  
      public void notifyRefreshArticles(){
          Notification notification = new Notification();
          notification.setCreatedAt(LocalDateTime.now());
          notification.setNotificationSeverity(NotificationSeverity.NORMAL);
          notification.setNotificationType(NotificationType.REFRESH_ARTICLES);
  
          notificationRepository.save(notification);
      }
  }
  </code></pre>
  
  <p>I pretty sure its configuration issue,but with spring boot basically only configuration that i have is this configuration file.</p>
  
  <pre><code>spring.datasource.driver-class-name=org.hsqldb.jdbc.JDBCDriver
  spring.datasource.url=jdbc:hsqldb:hsql://localhost/rr_app_database
  spring.datasource.username=XXXXXX
  spring.datasource.password=XXXXXX
  spring.datasource.show-sql=true
  </code></pre>