Skip to content

VSCode: Error reported when "CALL {h-schema}" is used in @Query  #1395

Closed
@awn70

Description

@awn70

When I use the {h-schema} placeholder in a @query native query with CALL for a stored procedure the following error is shown:
PostgreSQL: no viable alternative at input 'CALLh' vscode-spring-boot(SQL_SYNTAX)

Code:
@Modifying
@query( value = "CALL {h-schema}calcRequest( :i_session_id );", nativeQuery = true )
void calcRequest( @param( "i_session_id" ) String sessionId );

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions