<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Input Stream Configuration</title><link>https://sourceforge.net/p/textjdbc/wiki/Input%2520Stream%2520Configuration/</link><description>Recent changes to Input Stream Configuration</description><atom:link href="https://sourceforge.net/p/textjdbc/wiki/Input%20Stream%20Configuration/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 08 Aug 2011 12:43:41 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/textjdbc/wiki/Input%20Stream%20Configuration/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Input Stream Configuration modified by lenysoft</title><link>https://sourceforge.net/p/textjdbc/wiki/Input%2520Stream%2520Configuration/</link><description>Input Stream Configuration
-----------------
~~~~~~        			
    ...

    Properties info=new Properties();
		    
    info.put(TextJDBC.SOURCE, TextJDBC.SOURCE_STREAM);
    info.put(TextJDBC.TYPE, TextJDBC.TYPE_CSV);
    info.put(TextJDBC.COLUMN_NAMES, "name,last_name,amount");
    info.put(TextJDBC.COLUMN_TYPES, "String,String,Double");
    InputStream is=new ByteArrayInputStream
        (("\"name1\",\"last name1\",\"10.1\"\n\"name2\",
        \"last name2\",\"11.2\"\n\"name3\",\"last name3\",\"23\"").getBytes());    

    String sql="select last_name,name,amount from test 
        where (last_name starts with 'last name') 
        and ((amount==5) or (amount==12)) order by amount desc";	

    Class.forName(TextJDBCDriver.class.getCanonicalName());
    TextConnection con=(TextConnection)DriverManager.getConnection("", info);
    con.setInputStream(is);
    PreparedStatement p=con.prepareStatement(sql);

    ...
~~~~~~  </description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lenysoft</dc:creator><pubDate>Mon, 08 Aug 2011 12:43:41 -0000</pubDate><guid>https://sourceforge.net5b08f5e377d3a04a535da594f5adcbb400d38469</guid></item></channel></rss>