000213124 001__ 213124
000213124 005__ 20190317000315.0
000213124 037__ $$aSTUDENT
000213124 245__ $$aAn Embedded Query Language in Scala
000213124 269__ $$a2013
000213124 260__ $$c2013
000213124 336__ $$aStudent Projects
000213124 520__ $$aIn this thesis we address the problem of integrating general purpose programming languages with relational databases. An approach to solving this problem is using raw strings to represent SQL statements. This approach leads to runtime errors and security vulnerabilities like SQL injection. The second approach is integrating the query in a host language. The most well-known example of the second approach is LINQ. This approach provides static checking of types and syntax during compilation. This thesis presents an embedded query language in Scala, namely Shadow Embedding in Slick. Shadow Embedding provides even stronger compile-time guarantees than LINQ and similar systems in Scala. The experimental results show that the performance of our approach is very similar to the case of using raw Strings, thanks to static code analysis and clever code caching.
000213124 6531_ $$aEmbedded Domain-Specific Languages
000213124 6531_ $$aQuery Languages
000213124 6531_ $$aScala
000213124 6531_ $$aMacros
000213124 700__ $$0247633$$aShaikhha, Amir$$g211771
000213124 720_2 $$0241835$$aOdersky, Martin$$edir.$$g126003
000213124 8564_ $$s1075653$$uhttps://infoscience.epfl.ch/record/213124/files/Amir-MasterThesis.pdf$$yn/a$$zn/a
000213124 909C0 $$0252187$$pLAMP$$xU10409
000213124 909CO $$ooai:infoscience.tind.io:213124$$pIC$$qGLOBAL_SET
000213124 917Z8 $$x211771
000213124 937__ $$aEPFL-STUDENT-213124
000213124 973__ $$aOTHER
000213124 980__ $$aSTUDENT$$bMASTERS