Package org.fastnate.generator.test
Class SqlEmWriter
java.lang.Object
java.io.Writer
org.fastnate.generator.test.SqlEmWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
Writes SQL to an
EntityManager.- Author:
- Tobias Liefke
-
Constructor Details
-
SqlEmWriter
public SqlEmWriter(jakarta.persistence.EntityManager em)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-