You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Thomas Andraschko (JIRA)" <ji...@apache.org> on 2014/08/27 14:54:57 UTC

[jira] [Commented] (DELTASPIKE-700) Add #tableName() to AbstractEntityRepository

    [ https://issues.apache.org/jira/browse/DELTASPIKE-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14112215#comment-14112215 ] 

Thomas Andraschko commented on DELTASPIKE-700:
----------------------------------------------

We could also add #entityName() for JPQL queries then

> Add #tableName() to AbstractEntityRepository
> --------------------------------------------
>
>                 Key: DELTASPIKE-700
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-700
>             Project: DeltaSpike
>          Issue Type: Improvement
>          Components: Data-Module
>            Reporter: Thomas Andraschko
>            Assignee: Thomas Hug
>            Priority: Minor
>
> As table names can easiely be changed via @Table, it would be an typesafe usage to get the native table name for native queries
> e.g.
> @Table(name = "tbl_MyEntity")
> public class MyEntity...



--
This message was sent by Atlassian JIRA
(v6.2#6252)