Thursday, October 31, 2019

Become a Master of Java Streams (Part 4): Database Streams

You can almost see the data flowing...

SQL has always been a declarative language whereas Java for a long time has been imperative. Java streams have changed the game. Code your way through this hands-on-lab article and learn how Java streams can be used to perform declarative queries to an RDBMS database, without writing a single line of SQL code. You will discover, there is a remarkable similarity between the verbs of Java streams and SQL commands.

Not quite what you're looking for? Take a look at Querying Databases Using Java Streams.

This article is the fourth out of five, complemented by a GitHub repository containing instructions and exercises to each unit.



from DZone.com Feed https://ift.tt/2C6Kxrf

No comments:

Post a Comment