Age | Commit message (Collapse) | Author | Files | Lines |
|
If there is no retweet, the retweetid must really be NULL, not 0. In
order to better match the database, convert some types to integers too.
|
|
|
|
Without this cast, setTimestamp would complain that a timestamp is
expected, but a text type is given.
|
|
Extra efforts are done to keep the timezone information.
|
|
|
|
* Insert User URLs.
* Fix hash insertion query (copy/paste error...).
* Split url to tweetUrl and userUrl as there is no "url" table anymore.
* Do not execute queries directly via getStmt(), but execute them via
NamedPreparedStatement such that faulty queries can be printed.
* Fix buildQuery for more than two primary keys.
* Drop comments from prepared statements members in DataFiller, there is
nothing that you cannot learn from the variable name. Besides there
was a copy/paste error for mentions.
* Change order of insertion to ensure consistency.
* Inline setting parameters for queries, it is now more transparant.
|
|
|
|
Get rid of ispostedby, move it to tweet table ("userid")
|