School project. Java database.