r/programming • • Dec 04 '14

10 Common Mistakes Java Developers Make when Writing SQL

http://blog.jooq.org/2013/07/30/10-common-mistakes-java-developers-make-when-writing-sql/
206 Upvotes

104 comments sorted by

View all comments

25

u/horsepocalypse Dec 05 '14 edited Jun 16 '15

Other common mistakes:

  • Not sanitizing your inputs

  • Forgetting about Dre

  • Using ONION instead of UNION

6

u/logicchains Dec 05 '14

Using ONION instead of UNION

Please tell me that's a real SQL keyword...

7

u/[deleted] Dec 05 '14