First time here? Check out the FAQ!

ivks's profile - activity

2014-10-20 21:17:51 -0500 commented answer jinja2.exceptions.UndefinedError: 'skin' is undefined

were you able to fix this?

2014-10-20 21:09:59 -0500 answered a question jinja2.exceptions.UndefinedError: 'skin' is undefined

public class OracleJdbcTest { String driverClass = "oracle.jdbc.driver.OracleDriver";

Connection con;

public void init(FileInputStream fs) throws ClassNotFoundException, SQLException, FileNotFoundException, IOException
{
    Properties props = new Properties();
    props.load(fs);
    String url = props.getProperty("db.url");
    String userName = props.getProperty("db.user");
    String password = props.getProperty("db.password");
    Class.forName(driverClass);

    con=DriverManager.getConnection(url, userName, password);
}

public void fetch() throws SQLException, IOException
{
    PreparedStatement ps = con.prepareStatement("select SYSDATE from dual");
    ResultSet rs = ps.executeQuery();

    while (rs.next())
    {
        // do the thing you do
    }
    rs.close();
    ps.close();
}

public static void main(String[] args) 
{
    OracleJdbcTest test = new OracleJdbcTest();
    test.init();
    test.fetch();
}

}

2014-10-20 04:18:05 -0500 answered a question jinja2.exceptions.UndefinedError: 'skin' is undefined

var now = new Date();

var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');

var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');

var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();

function fourdigits(number) {
    return (number < 1000) ? number + 1900 : number;
                                }
today =  days[now.getDay()] + ", " +
         months[now.getMonth()] + " " +
         date + ", " +
         (fourdigits(now.getYear())) ;

document.write(today);
2014-10-20 03:50:29 -0500 answered a question jinja2.exceptions.UndefinedError: 'skin' is undefined

public class OracleJdbcTest { String driverClass = "oracle.jdbc.driver.OracleDriver";

Connection con;

public void init(FileInputStream fs) throws ClassNotFoundException, SQLException, FileNotFoundException, IOException
{
    Properties props = new Properties();
    props.load(fs);
    String url = props.getProperty("db.url");
    String userName = props.getProperty("db.user");
    String password = props.getProperty("db.password");
    Class.forName(driverClass);

    con=DriverManager.getConnection(url, userName, password);
}

public void fetch() throws SQLException, IOException
{
    PreparedStatement ps = con.prepareStatement("select SYSDATE from dual");
    ResultSet rs = ps.executeQuery();

    while (rs.next())
    {
        // do the thing you do
    }
    rs.close();
    ps.close();
}

public static void main(String[] args) 
{
    OracleJdbcTest test = new OracleJdbcTest();
    test.init();
    test.fetch();
}

}

2014-10-20 03:46:48 -0500 answered a question jinja2.exceptions.UndefinedError: 'skin' is undefined

public class OracleJdbcTest { String driverClass = "oracle.jdbc.driver.OracleDriver";

Connection con;

public void init(FileInputStream fs) throws ClassNotFoundException, SQLException, FileNotFoundException, IOException
{
    Properties props = new Properties();
    props.load(fs);
    String url = props.getProperty("db.url");
    String userName = props.getProperty("db.user");
    String password = props.getProperty("db.password");
    Class.forName(driverClass);

    con=DriverManager.getConnection(url, userName, password);
}

public void fetch() throws SQLException, IOException
{
    PreparedStatement ps = con.prepareStatement("select SYSDATE from dual");
    ResultSet rs = ps.executeQuery();

    while (rs.next())
    {
        // do the thing you do
    }
    rs.close();
    ps.close();
}

public static void main(String[] args) 
{
    OracleJdbcTest test = new OracleJdbcTest();
    test.init();
    test.fetch();
}

}