On 01/09/2017 04:20 AM, bb23850 wrote:
> Hi,
>
> I am trying to use Apache.Commons or Cern Colt libraries in my database.
> Both these libraries are written Java and are available as .jar files. Is it
> possible to pull those libraries into Postgres and use the methods in SQL as
> functions.
>
> For example I want to use cern.jet.stat.Descriptive.harmonicMean in SQL as
> follows:
>
> select harmonicMean(100, 1000);
>
> Please suggest me how to do this.
>
> thanks and regards
>
> BB23850
>
>
>
> --
> View this message in context: http://postgresql.nabble.com/How-to-use-external-java-libraries-in-Database-tp5938143.html
> Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
>
>
https://tada.github.io/pljava/