Package projectplayground.core
Class PersistenceConfiguration
java.lang.Object
projectplayground.core.PersistenceConfiguration
@Configuration
@EnableTransactionManagement
public class PersistenceConfiguration
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description PersistenceConfiguration()
-
Method Summary
Modifier and Type Method Description org.h2.tools.Server
inMemoryH2DatabaseServer()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PersistenceConfiguration
public PersistenceConfiguration()
-
-
Method Details
-
inMemoryH2DatabaseServer
@Bean(initMethod="start", destroyMethod="stop") public org.h2.tools.Server inMemoryH2DatabaseServer() throws java.sql.SQLException- Throws:
java.sql.SQLException
-