@@ -0,0 +1,1186 @@
+package info.tregmine.database.db;%0A%0Aimport info.tregmine.database.DAOException;%0Aimport info.tregmine.database.IEnchantmentDAO;%0A%0Aimport java.sql.Connection;%0Aimport java.sql.PreparedStatement;%0Aimport java.sql.ResultSet;%0Aimport java.sql.SQLException;%0A%0Apublic class DBEnchantmentDAO implements IEnchantmentDAO%0A%7B%0A    private Connection conn;%0A%0A    public DBEnchantmentDAO(Connection conn)%0A    %7B%0A        this.conn = conn;%0A    %7D%0A%0A    @Override%0A    public String localize(String enchantmentName) %0A    throws DAOException%0A    %7B%0A        String sql = %22SELECT enchantment.new FROM enchantment %22 +%0A                %22WHERE old = ?%22;%0A        %0A        try (PreparedStatement stmt = conn.prepareStatement(sql)) %7B%0A            %0A            stmt.setString(1, enchantmentName);%0A            stmt.execute();%0A            %0A            try (ResultSet rs = stmt.getResultSet()) %7B%0A                if (!rs.next()) %7B%0A                    return enchantmentName; // If can't find the localized name - Return the original enchantment name%0A                %7D%0A                return rs.getString(1);%0A            %7D%0A            %0A        %7D catch (SQLException e) %7B%0A            throw new DAOException(sql, e);%0A        %7D%0A    %7D%0A%7D%0A

Create DBEnchantmentDAO.java