Package org.atomojo.app.db

Examples of org.atomojo.app.db.DBConnection


            throws IOException
         {
            Writer out = new OutputStreamWriter(os,"UTF-8");
            out.write("<table name='"+name+"'>\n");
            try {
               DBConnection dbConnection = db.getConnection();
               try {
                  Statement s = dbConnection.getConnection().createStatement();
                  ResultSet r = s.executeQuery("select * from "+name);
                  ResultSetMetaData meta = r.getMetaData();
                  int columnCount = meta.getColumnCount();
                  out.write("<head>");
                  for (int i=1; i<=columnCount; i++) {
View Full Code Here

TOP

Related Classes of org.atomojo.app.db.DBConnection

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.