roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ROL-1995) Switch to JPA Typed Queries
Date Sun, 29 Jun 2014 11:57:25 GMT

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

Glen Mazza reassigned ROL-1995:
-------------------------------

    Assignee: Glen Mazza  (was: Roller Unassigned)

> Switch to JPA Typed Queries 
> ----------------------------
>
>                 Key: ROL-1995
>                 URL: https://issues.apache.org/jira/browse/ROL-1995
>             Project: Apache Roller
>          Issue Type: Task
>          Components: Data Model & JPA Backend
>    Affects Versions: 5.1
>            Reporter: Glen Mazza
>            Assignee: Glen Mazza
>
> JPA 2.0 offers typed queries (http://docs.oracle.com/javaee/6/api/javax/persistence/TypedQuery.html)
better fitting for generic/parameterized types that Roller is now using.  Switching from javax.persistence.Query
to TypedQuery will get rid of the ugly "unchecked assignment" warnings that IDEs report (for
one of many examples, see JPAWeblogEntryManagerImpl's List<WeblogCategory> getWeblogCategories(Weblog
website) within an IDE.)



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

Mime
View raw message