I have an in-memory data source:
java.sql.Connection c = DriverManager.getConnection(\"jdbc:hsqldb:mem:testdb\", \"sa\", \"\"); emf = Persistence
/*What to enter here?*/
Well, nothing. In a Java SE environment, you'll have to use the built-in connection pool from your JPA provider and the setup looks like this:
org.hibernate.ejb.HibernatePersistence com.acme.Foo ...