Package com.addressbook.dao

Examples of com.addressbook.dao.MySQLDAO


        System.out.println(System.getProperty("java.class.path"));
        ApplicationContext context;

        context = new ClassPathXmlApplicationContext("spring-config.xml");

        MySQLDAO personDAO = (MySQLDAO) context.getBean("personDAO");

        List<Person> persons = personDAO.getAll();

        for (Person p : persons)
        {
            System.out.println(p);
        }
View Full Code Here

TOP

Related Classes of com.addressbook.dao.MySQLDAO

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.