[JBoss JIRA] (WFLY-11854) Distributable session manager cannot detect immutable external classes
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/WFLY-11854?page=com.atlassian.jira.plugin... ]
Paul Ferraro updated WFLY-11854:
--------------------------------
Description:
Currently, WildFly's distributed web session manager detects classes annotated with @Immutable placed into the web session, optimizes calls so HttpSession.getAttribute(...) are not treated as cache writes.
However, users don't always have access to the classes to be able to annotate them, e.g. they come from a web framework, etc.
Now that we have a distributed session management deployment descriptor, we have a convenient location to define external session attribute classes that should be treated as immutable.
was:
Currently, WildFly's distributed web session manager detects classes annotated with @Immutable placed into the web session, optimizes calls so HttpSession.getAttribute(...) are not treated as cache writes.
However, users don't always have access to the classes to be able to annotate them, e.g. they come from a web framework, etc.
The proposal is to add a public SPI that users can implement that provides a web application with a set of classes that should be treated as immutable with respect to the distributed web session manager.
> Distributable session manager cannot detect immutable external classes
> ----------------------------------------------------------------------
>
> Key: WFLY-11854
> URL: https://issues.jboss.org/browse/WFLY-11854
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 16.0.0.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Major
>
> Currently, WildFly's distributed web session manager detects classes annotated with @Immutable placed into the web session, optimizes calls so HttpSession.getAttribute(...) are not treated as cache writes.
> However, users don't always have access to the classes to be able to annotate them, e.g. they come from a web framework, etc.
> Now that we have a distributed session management deployment descriptor, we have a convenient location to define external session attribute classes that should be treated as immutable.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (WFLY-11854) Distributable session manager cannot detect immutable external classes
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/WFLY-11854?page=com.atlassian.jira.plugin... ]
Paul Ferraro updated WFLY-11854:
--------------------------------
Issue Type: Bug (was: Enhancement)
> Distributable session manager cannot detect immutable external classes
> ----------------------------------------------------------------------
>
> Key: WFLY-11854
> URL: https://issues.jboss.org/browse/WFLY-11854
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 16.0.0.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Major
>
> Currently, WildFly's distributed web session manager detects classes annotated with @Immutable placed into the web session, optimizes calls so HttpSession.getAttribute(...) are not treated as cache writes.
> However, users don't always have access to the classes to be able to annotate them, e.g. they come from a web framework, etc.
> The proposal is to add a public SPI that users can implement that provides a web application with a set of classes that should be treated as immutable with respect to the distributed web session manager.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (WFLY-11991) Add Hibernate ORM transformer option to transform any method parameter of type org.hibernate.engine.spi.SessionImplementor
by Scott Marlow (Jira)
[ https://issues.jboss.org/browse/WFLY-11991?page=com.atlassian.jira.plugin... ]
Scott Marlow updated WFLY-11991:
--------------------------------
Issue Type: Bug (was: Enhancement)
> Add Hibernate ORM transformer option to transform any method parameter of type org.hibernate.engine.spi.SessionImplementor
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11991
> URL: https://issues.jboss.org/browse/WFLY-11991
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Priority: Major
> Fix For: 17.0.0.Beta1
>
> Attachments: afterchange.zip, beforechange.zip
>
>
> The idea is to transform any class method parameter of type org.hibernate.engine.spi.SessionImplementor, in user application, to instead use type org.hibernate.engine.spi.SharedSessionContractImplementor.
> The test case (change) is for this enhancement is [https://github.com/simkam/wildfly/compare/hibernate_transformer].
> The test case change is adding an internalNullSafeGet method that should also be transformed to use the SharedSessionContractImplementor type but was not, which led to an application failure with code:
> {code}
> public Object nullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner) throws HibernateException, SQLException {
> return internalNullSafeGet(rs, names, session, owner);
> }
> private Object internalNullSafeGet(ResultSet rs, String[] names, SessionImplementor session, Object owner) throws HibernateException, SQLException {
> internalSessionImplementorUsingMethod(session);
> session.isTransactionInProgress();
> int result = rs.getInt( names[0] );
> if ( rs.wasNull() ) return null;
> return State.values()[result];
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3896) [DMN Designer] Editing a merged header cell positions editor at the wrong location
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3896?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-3896:
-----------------------------------
Attachment: DROOLS-3896-1.png
DROOLS-3896-2.png
> [DMN Designer] Editing a merged header cell positions editor at the wrong location
> ----------------------------------------------------------------------------------
>
> Key: DROOLS-3896
> URL: https://issues.jboss.org/browse/DROOLS-3896
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.20.0.Final
> Reporter: Michael Anstis
> Assignee: Jozef Marko
> Priority: Major
> Labels: drools-tools
> Attachments: DROOLS-3896-1.png, DROOLS-3896-2.png
>
>
> Double clicking the "Enter function" header cell shows an editor.
> However depending on which column was double clicked the editor appears in the wrong location.
> {{CellContextUtilities.editSelectedCell(..)}} calls {{ColumnIndexUtilities.findUiColumnIndex(..)}} that should find the start of a merged block and therefore should probably call {{ColumnIndexUtilities.getHeaderBlockStartColumnIndex(..)}} instead.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3896) [DMN Designer] Editing a merged header cell positions editor at the wrong location
by Michael Anstis (Jira)
Michael Anstis created DROOLS-3896:
--------------------------------------
Summary: [DMN Designer] Editing a merged header cell positions editor at the wrong location
Key: DROOLS-3896
URL: https://issues.jboss.org/browse/DROOLS-3896
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.20.0.Final
Reporter: Michael Anstis
Assignee: Jozef Marko
Double clicking the "Enter function" header cell shows an editor.
However depending on which column was double clicked the editor appears in the wrong location.
{{CellContextUtilities.editSelectedCell(..)}} calls {{ColumnIndexUtilities.findUiColumnIndex(..)}} that should find the start of a merged block and therefore should probably call {{ColumnIndexUtilities.getHeaderBlockStartColumnIndex(..)}} instead.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3895) [DMN Designer] TextAreas can no longer be multi-line
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3895?page=com.atlassian.jira.plugi... ]
Michael Anstis reassigned DROOLS-3895:
--------------------------------------
Assignee: Jozef Marko (was: Mario Fusco)
> [DMN Designer] TextAreas can no longer be multi-line
> ----------------------------------------------------
>
> Key: DROOLS-3895
> URL: https://issues.jboss.org/browse/DROOLS-3895
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.20.0.Final
> Reporter: Michael Anstis
> Assignee: Jozef Marko
> Priority: Major
> Labels: drools-tools
>
> {{TextAreaSingletonDOMElementFactory}} extends {{BaseSingletonDOMElementFactory}} that attaches a {{KeyDownHandlerCommon}} handler.
> This handler intercepts {{KeyCodes.KEY_ENTER}} that flushes the content of the editor.
> The {{KeyDownHandlerCommon}} handler should not respond to {{KeyCodes.KEY_ENTER}} for {{TextAreas}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (DROOLS-3895) [DMN Designer] TextAreas can no longer be multi-line
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3895?page=com.atlassian.jira.plugi... ]
Michael Anstis updated DROOLS-3895:
-----------------------------------
Description:
{{TextAreaSingletonDOMElementFactory}} extends {{BaseSingletonDOMElementFactory}} that attaches a {{KeyDownHandlerCommon}} handler.
This handler intercepts {{KeyCodes.KEY_ENTER}} that flushes the content of the editor.
The {{KeyDownHandlerCommon}} handler should not respond to {{KeyCodes.KEY_ENTER}} for {{TextAreas}}.
> [DMN Designer] TextAreas can no longer be multi-line
> ----------------------------------------------------
>
> Key: DROOLS-3895
> URL: https://issues.jboss.org/browse/DROOLS-3895
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.20.0.Final
> Reporter: Michael Anstis
> Assignee: Mario Fusco
> Priority: Major
> Labels: drools-tools
>
> {{TextAreaSingletonDOMElementFactory}} extends {{BaseSingletonDOMElementFactory}} that attaches a {{KeyDownHandlerCommon}} handler.
> This handler intercepts {{KeyCodes.KEY_ENTER}} that flushes the content of the editor.
> The {{KeyDownHandlerCommon}} handler should not respond to {{KeyCodes.KEY_ENTER}} for {{TextAreas}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months