Загрузка...

Type-Safe Queries: Catch Errors at Compile Time! #shorts #Quarkus #Java #quarkusinsights

Excerpt from Quarkus Insights # 250: What’s new with Quarkus Data

View the full session: https://youtube.com/live/E_5rSjAD-k0

Transcript: The interesting thing here is that this is type-safe because at compile time the there's an annotation processor which will check that the name of the parameter of the find method that the field actually exists and maps to a a type a field in the entity and that it is declared with the right type so type string And in the case of query we will also check that the query is valid that field exists that it is assignable to the right-hand side staff which is a string so all this is checked at compile time so that's nice.

Видео Type-Safe Queries: Catch Errors at Compile Time! #shorts #Quarkus #Java #quarkusinsights канала Quarkusio
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять