Coding Tricks
Thursday, February 26, 2009
Hibernate Spring where clause
public List getSongs(Long artistId) {
return getHibernateTemplate().find("from Song as song where song.artist.id = ?", new Object [] {artistId});
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
About Me
Coding Tricks
View my complete profile
Blog Archive
▼
2009
(12)
►
March
(9)
▼
February
(3)
Hibernate Spring where clause
Use regexp in Digester
Maven dependency tree
No comments:
Post a Comment