Ebean – Dynamic Query – Prepared Statement’s Mismatched Parameter Count Error

I’ve seen something similar (on DB2) using prepared statements. Querties only worked for the number of parameters the first statement executed had. Only the number of parameters it had the first time it was invoked or less would work. It probably set aside a buffer for the parameters – I believe it acted like the … Read more

Steps needed to use MySQL database with Play framework 2.0

Look at this page from Play’s documentation. It says: Other than for the h2 in-memory database, useful mostly in development mode, Play 2.0 does not provide any database drivers. Consequently, to deploy in production you will have to add your database driver as an application dependency. For example, if you use MySQL5, you need to … Read more

tech