package UI;

import java.math.BigDecimal;
import java.sql.Connection;
import java.sql.Date;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.Statement;
import java.sql.SQLException;
import java.sql.Time;
import java.sql.Timestamp;
import javax.sql.DataSource;
import org.postgresql.ds.PGSimpleDataSource;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import RDG.*;

/**
 *
 * @author Marcel
 */
public class PassengerTypes {
    /**
    * Print all passenger types
    * @throws SQLException
    */
    public static void print() throws SQLException{
        var res=PassengerTypeFinder.selectAll();
        BatchOutput.BatchPrint(res);
    }
}
