Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

@Retention(CLASS) @Target({METHOD})

public @interface Query

Declares JPQL, or scalar native SQL when nativeSql is true.

Methods

public abstract String value()
public abstract boolean nativeSql() default false

Method details

value

public abstract String value()

nativeSql

public abstract boolean nativeSql() default false