I am manipulating a couple of SQLite files using Java. Is it possible to create a user-defined function for SQLite and use it in queries from Java? How to define such a function (e.g. power, exp) ? I saw some related questions but could not understand how to use them.
Asked
Active
Viewed 540 times
0
-
Maybe this can help? http://stackoverflow.com/questions/3192443/writing-user-defined-sql-functions-for-sqlite-using-java-or-groovy – Timo Apr 09 '15 at 07:06
-
Yes, thanks, I saw that but cannot unterstand how to do it in java – Sophia Apr 09 '15 at 07:59
-
Which of the many Java SQLite drivers are you using? – CL. Apr 09 '15 at 08:37
-
The driver is frome here: https://bitbucket.org/xerial/sqlite-jdbc , latest vrrsion – Sophia Apr 09 '15 at 10:00