1. A method of transforming relational queries of a database into stream processing on a data processing system, the method comprising: receiving a series of relational queries, wherein each query in the series has a first part and a second part, wherein the first parts are a pattern common to all the queries in the series, and wherein the second parts each have one or more parameters that are not common to all of the queries in the series; transforming the first parts into a continuous query that is embodied as a streaming application; sending the parameters in the second parts to the streaming application as a data stream; and executing the continuous query based on the received data stream to generate query results for the series of relational queries.