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   Resolved: 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;


Matt Raible made changes - 09/Mar/07 10:38 AM
Field Original Value New Value
Fix Version/s 2.0-M4 [ 10130 ]
Component/s Documentation [ 10005 ]
Matt Raible made changes - 21/Mar/07 07:03 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]