Closed senenpalanca closed 3 years ago
I just solve it:
@EdmFunctionImport(name = "HELLO_FUNCTION", returnType = @ReturnType(type = Type.SIMPLE, isCollection = false),httpMethod = HttpMethod.GET) public static String myFunction2() { return "Hello world"; }
extendWithOperation
:
@Override public void extendWithOperation(JPAEdmSchemaView view) { view.registerOperations(Functions.class, null); }
I've seen that it's unable to create function Imports. There is any way to implement that? I just think to modify jpa-processor jar library but not sure how.