Hi Rodriguez, I see the master of everything metamodel has already cracked your problem. Have a great time using MetaModel!
Hans -----Original Message----- From: Alberto Rodriguez [mailto:[email protected]] Sent: Tuesday, September 02, 2014 4:54 PM To: [email protected] Subject: Problem executing string-format queries Hi all, I have just come across your awesome library and am integrating it in my project. I have just written a couple of tests and noticed that I can execute a string-format query against a JdbcDataContext whereas I am getting an IllegarArgumentException ( Expression-based filters cannot be manually evaluated) when I execute the same query using a CsvDataContext. This is working fine: val dataContext = DataContextFactory.createJdbcDataContext(connection) val dataSet = dataContext.executeQuery("""SELECT * FROM public.data_sources WHERE TYPE='rest'""") This is returning the exception: val dataContext = DataContextFactory.createCsvDataContext(csvFile) WHERE name='rojo'""") Is there any way of executing string queries against all the datacontext types? Thank you!
