@Procedure call creates ERROR: syntax error at or near "=>" error

Upgraded hibernate to 6.6.17.Final from 5.6.15.Final.
Using postgres database : PostgreSQL 15.4

Now stored this stored procedure call fails. Why?
Looks like hibernate generates broken SQL.

Service.java

String result = this.repository.test(1L);

RepositoryImpl.java

@Procedure(“schemaA.test”)

String test(@Param(“a”) Long a);

Logs:

25-07-30 15:09:56 [http-nio-8083-exec-1] DEBUG org.hibernate.SQL - X-Request-ID: XXX -
call schemaA.test(a => ?, out => ?)

fails with error :

SQL Error: 0, SQLState: 42601
ERROR: syntax error at or near “=>”

Best regards

I don’t know what these annotations are. Hibernate ORM does not define these. I guess you are using Spring Data? Please ask in a Spring forum then.

Ok I will. Thank you for guidance.