Seperate SchematicData #45

Zusammengeführt
Lixfel hat 8 Commits von seperate_schemdata nach master 2023-02-24 10:32:22 +01:00 zusammengeführt
Nur Änderungen aus Commit aa91584a1e werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -23,10 +23,7 @@ import de.steamwar.sql.internal.*;
import lombok.AllArgsConstructor;
import lombok.Getter;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PipedInputStream;
import java.io.*;
import java.sql.PreparedStatement;
import java.util.zip.GZIPInputStream;
@ -36,6 +33,7 @@ public class NodeData {
static {
new SqlTypeMapper<>(PipedInputStream.class, "BLOB", (rs, identifier) -> { throw new SecurityException("PipedInputStream is write only datatype"); }, PreparedStatement::setBinaryStream);
new SqlTypeMapper<>(ByteArrayInputStream.class, "BLOB", (rs, identifier) -> { throw new SecurityException("ByteArrayInputStream is write only datatype"); }, PreparedStatement::setBinaryStream);
new SqlTypeMapper<>(BufferedInputStream.class, "BLOB", (rs, identifier) -> { throw new SecurityException("BufferedInputStream is write only datatype"); }, PreparedStatement::setBinaryStream);
}
private static final Table<NodeData> table = new Table<>(NodeData.class);