summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-05-09Don't reject missing argumentsPeter Wu1-4/+0
Now that --dbhost is optional, the argument list might be empty.
2014-05-09Only catch IllegalArgumentException for argument parsingPeter Wu1-3/+6
2014-05-09Fixup help text, allow to override DB settingsPeter Wu1-25/+34
2014-05-09Get rid of DBConnectionPeter Wu4-105/+121
That construct was hiding the Connection instance. Very bad abstraction as I really need it to support transactions. While at it, make the prepared statement objects final such that it is detected when those are not properly initialized. In Main, use try-with-resources, remove a noisy "exit succesfull" [sic] message. Due to the extra try/catch for the db connection (RuntimeException is not OK my friend!), the indentation had to be changed.
2014-05-09Remove debug prints, add commentsPeter Wu1-1/+3
2014-05-09Add missing annotation for retweeted_status, more testsPeter Wu1-0/+1
2014-05-09Add missing validation annotations, ...Peter Wu4-19/+62
* Add missing Validator annotations for User. * Add entities and url properties for user. * Properly do a recursive check if an Validator annotation is present.
2014-05-08Get rid of unused crapPeter Wu4-302/+0
2014-05-08Replace JSON by GSON, adding extra validationsPeter Wu6-147/+248
Also change reader method, tweets are not received via an observed but by submitting from the caller. Added TODO WTF here and there, formatted with Alt + Shift + F.
2014-05-08Add json containers for Tweet and User objectsPeter Wu3-0/+147
2014-05-07Merge origin/masterS1297781-1/+1
2014-05-07data querries into databaseS1297784-14/+221
2014-05-07Fixed a small typo, tweets contain "user".Maurice Laveaux1-1/+1
2014-05-07Removed the extranous DBQuery and simpel propertyMaurice Laveaux6-62/+84
* InputReader reads from Scanner.
2014-05-07Two different inputs (file and stdin).Maurice Laveaux4-0/+142
* DataFiller fills the database with given input.
2014-05-07Added classes to refactor the database code.Maurice Laveaux5-101/+251
* DBConnection creates a persistent conn. * DBQuery resolves and executes queries. * QueryUtils creates sql query text.
2014-05-01(no commit message)daanpeters2-1/+213
2014-05-01Initial netbeans project added with main/Main.javaMaurice Laveaux1-0/+16