[KUINA-11] generics を使った GenericDao をサポートしました. Created: 2007-04-29  Updated: 2007-04-29  Resolved: 2007-04-29

Status: Resolved
Project: Kuina
Component/s: Kuina-Dao
Affects Version/s: 1.0.0-rc2
Fix Version/s: 1.0.0

Type: New Feature Priority: Major
Reporter: koichik Assignee: koichik
Resolution: Fixed Votes: 0
Labels: None


 Description   

generics を使った GenericDao をサポートしました.
GenericDao は

public interface GenericDao<ENTITY, ID> {
ENTITY find(ID id);
void persist(ENTITY entity);
...
}

のように標準的なメソッドが定義されていて,

public interface EmployeeDao extends GenericDao<Emloyee, Long> {
...
}

のようにすることで,個別の Dao インタフェースには標準的なメソッドを定義する必要が無くなります.



 Comments   
Comment by koichik [ 2007-04-29 ]

対応しました.

Generated at Sun Apr 06 08:26:00 JST 2025 using Jira 10.5.0#10050000-sha1:9d9d098bb7b67e8dba8da380ba9c3900d82ac3cf.