History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-685
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Matt Raible
Reporter: wnqq
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

improvement of generics usages on tutorials

Created: 09/Mar/07 10:26 AM   Updated: 21/Mar/07 07:03 PM
Component/s: Documentation
Affects Version/s: 2.0-M3
Fix Version/s: 2.0-M4

Environment: 2.0-M3 + Hibernate


 Description  « Hide
On the tutorial page: http://appfuse.org/display/APF/Using+Hibernate

the following line of code:

public interface PersonDao<T, PK extends java.io.Serializable> extends GenericDao {

should be

public interface PersonDao extends GenericDao <Person, Long> {

also, the following line:

private PersonDao<Person, Long> personDao = null;

it should then be modified as:

private PersonDao personDao = null;


 All   Comments   Change History   FishEye      Sort Order:
There are no comments yet on this issue.