[
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)