Package sino.entities

Examples of sino.entities.VietnamStation


            while (scanner.hasNextLine()) {
                logger.debug("Processing line " + lineNumber);
                String line = scanner.nextLine();
                String[] tokens = getTokens(line, "#", 2, lineNumber);
                if (tokens != null) {
                    VietnamStation station = new VietnamStation();
                    station.setName(tokens[0].trim());
                    station.setRussianName(tokens[1].trim());
                    this.entityManager.getTransaction().begin();
                    this.vietnamStationDao.persist(station);
                    this.entityManager.getTransaction().commit();
                    logger.info("Saved union station: " + station);
                }
View Full Code Here

TOP

Related Classes of sino.entities.VietnamStation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.