Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 22nd, 2011  |  syntax: None  |  size: 1.06 KB  |  views: 94  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <dataConfig>
  3. <dataSource type="JdbcDataSource" driver="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost/tweet_db" user="xxxx" password="xxxx"/>
  4.     <document name="products">
  5.         <entity name="txxxxxxxxxxxxxx" query="select * from xxxxxxxxxxxxxxx"
  6.                         deltaImportQuery="SELECT * FROM xxxxxxxxxxxxxxxxx WHERE TweetData='${dataimporter.delta.TweetData}'"
  7.                         deltaQuery="SELECT * FROM Xxxxxxxxxxxxxxx WHERE CreatedAt &gt; '${dataimporter.last_index_time}'">
  8.                                                
  9.                         <field column="TweetData" name="TweetData" />
  10.                         <field column="Polarity" name="Polarity" />
  11.                         <field column="TweetID" name="TweetID" />
  12.                         <field column="Retweet" name="Retweet" />
  13.                         <field column="TweetCreatedAt" name="TweetCreatedAt" />
  14.                         <field column="Reply_tweet_ID" name="Reply_tweet_ID" />
  15.                         <field column="Reply_userID" name="Reply_userID" />
  16.                         <field column="UserID" name="UserID" />
  17.                         <field column="UserName" name="UserName" />
  18.                         <field column="CreatedAt" name="CreatedAt" />
  19.                        
  20.         </entity>
  21.     </document>
  22. </dataConfig>
clone this paste RAW Paste Data