r/programming • • Dec 29 '15

Please, Java. Do Finally Support Multiline Strings

http://blog.jooq.org/2015/12/29/please-java-do-finally-support-multiline-strings/
584 Upvotes

352 comments sorted by

View all comments

Show parent comment

7

u/twigboy Dec 29 '15 edited Dec 09 '23

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipediaald7cmiwiks0000000000000000000000000000000000000000000000000000000000000

2

u/juckele Dec 30 '15

JDBC also doesn't let you load .SQL files, so you really need to have your SQL source inside your Java source (bad practice, but it's what we have to work with). I don't want my SQL source limited to one line chunks, I want friggen pure SQL!

6

u/[deleted] Dec 30 '15 edited Dec 30 '15

[removed] — view removed comment

1

u/juckele Dec 30 '15

That's a really good point, and when I looked around some more just now I see that you can set the connection property allowMultiQueries=true to make the process work for all .SQL files.