Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Implemented
-
5.1.0
-
None
Description
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.)