Package com.googlecode.g2re.domain

Examples of com.googlecode.g2re.domain.JdbcConnection


    }
   
    public JdbcConnection getJdbcConnection() {

        /* Create the first data source */
        JdbcConnection source1 = new JdbcConnection();
        source1.setName("PetStoreDataSource");
        source1.setDatabaseJndiName("jndi/PetStoreDataSource");
        source1.setDatabaseUser(DB_USER);
        source1.setDatabasePassword(DB_PW);
        source1.setDriverClass(CLASS_NAME);
        source1.setDatabaseUrl(DB_URL);

        return source1;
    }
View Full Code Here


        report.setName("Pet Location Report");
        report.setDescription("desc goes here");
        report.setAuthor("Brad Rydzewski");

        /* Create and add JDBC connection */
        JdbcConnection conn = getJdbcConnection();
        report.getDataConnections().add(conn);

        /* create report params */
        ReportParameterTextBox minParam = new ReportParameterTextBox();
        minParam.setName("Minimum Price");
View Full Code Here

        report.setName("Pet Dashboard : Votes and Scoring Summary");
        report.setDescription("desc goes here");
        report.setAuthor("Brad Rydzewski");

        /* Create and add JDBC connection */
        JdbcConnection conn = getJdbcConnection();
        report.getDataConnections().add(conn);

        /* create report params */
        ReportParameterTextBox minParam = new ReportParameterTextBox();
        minParam.setName("Minimum Price");
View Full Code Here

TOP

Related Classes of com.googlecode.g2re.domain.JdbcConnection

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.