Exemplo n.º 1
0
 /**
  * This method was generated by Apache iBATIS ibator. This method corresponds to the database
  * table playlist_songs
  *
  * @ibatorgenerated Thu Oct 22 12:34:10 CDT 2009
  */
 public PlaylistSongs selectByPrimaryKey(Integer playlistsongid) throws SQLException {
   PlaylistSongs key = new PlaylistSongs();
   key.setPlaylistsongid(playlistsongid);
   PlaylistSongs record =
       (PlaylistSongs)
           sqlMapClient.queryForObject("playlist_songs.ibatorgenerated_selectByPrimaryKey", key);
   return record;
 }
Exemplo n.º 2
0
 /**
  * This method was generated by Apache iBATIS ibator. This method corresponds to the database
  * table playlist_songs
  *
  * @ibatorgenerated Thu Oct 22 12:34:10 CDT 2009
  */
 public int deleteByPrimaryKey(Integer playlistsongid) throws SQLException {
   PlaylistSongs key = new PlaylistSongs();
   key.setPlaylistsongid(playlistsongid);
   int rows = sqlMapClient.delete("playlist_songs.ibatorgenerated_deleteByPrimaryKey", key);
   return rows;
 }