i want to execute a plJava function like:
@Function
public static byte[] enrypt_rsa(String message, byte[] public_key)
{...}
But if i try to create a .jar file with maven (mvn clean package) i get the following Error message:
'No known mapping to an SQL type'
But the plJava wiki says it would map the Java type byte[] to the postgresql type bytea (See: https://github.com/tada/pljava/wiki/Default-type-mapping).
Does anyone know how i can fix this issue or force the mapping i need? (Or do you have another idea how to create rsa keys and de/encrypt messages with postgresql functions?)