You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2016/05/16 03:58:12 UTC

[jira] [Resolved] (METAMODEL-223) Add Java 8 lambda support to executeUpdate(Consumer)

     [ https://issues.apache.org/jira/browse/METAMODEL-223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasper Sørensen resolved METAMODEL-223.
---------------------------------------
    Resolution: Fixed
      Assignee: Kasper Sørensen

This is already fixed in branch 5.x since UpdateScript is a single-abstract-method (SAM) interface.

> Add Java 8 lambda support to executeUpdate(Consumer<UpdateCallback>)
> --------------------------------------------------------------------
>
>                 Key: METAMODEL-223
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-223
>             Project: Apache MetaModel
>          Issue Type: Improvement
>            Reporter: Kasper Sørensen
>            Assignee: Kasper Sørensen
>             Fix For: 5.0.0
>
>
> We should make it possible run UpdateableDataContext.executeUpdate with a lambda function. Probably the easiest way is to add an interface method which takes a Consumer<UpdateCallback> instead of UpdateScript.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)