blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

Base window extension for named windows

Open jwgmeligmeyling opened this issue 5 years ago • 1 comments

From Slack

Description

The WindowBuilder seems to miss a setter to set the identifier from the base window, but nesting windows seems allowed from the grammar: https://github.com/Blazebit/blaze-persistence/blob/master/core/parser/src/main/antlr4/com/blazebit/persistence/parser/JPQLNextParser.g4#L325-L330

The suggested fix is to add a method WindowBuilder#window(windowName, baseWindowName) through which a window can be created that extends an existing window.

Expected behavior

Actual behavior

Steps to reproduce

Environment

Version:
JPA-Provider:
DBMS:
Application Server:

jwgmeligmeyling avatar May 10 '20 22:05 jwgmeligmeyling

We can introduce that method, but I think nesting windows will complicate things.

beikov avatar May 11 '20 06:05 beikov