I:\dev\server\mysql-5.7.11-winx64>bin\mysql.exe ----initialize-insecure --console
→ data
-Verzeichnis wird angelegt
git ls-files --others --exclude-standard | xargs -I {} -n1 rm "{}" |
I:\dev\server\mysql-5.7.11-winx64>bin\mysql.exe ----initialize-insecure --console
→ data
-Verzeichnis wird angelegt
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> | |
<persistence-unit name="primary"> | |
<jta-data-source>java:jboss/datasources/PeopleDS</jta-data-source> | |
<properties> | |
<property name="hibernate.hbm2ddl.auto" value="create-drop"/> | |
<property name="hibernate.show_sql" value="false"/> | |
<property name="hibernate.transaction.flush_before_completion" value="true"/> | |
</properties> | |
</persistence-unit> |
import org.hibernate.ejb.Ejb3Configuration; | |
import javax.persistence.EntityManager; | |
import javax.persistence.EntityManagerFactory; | |
import java.util.Collection; | |
import java.util.Properties; | |
public class InMemoryDbFixture { | |
private String scope; |