kodejava-jpa/src/main/java/org/kodejava/example/jpa/dao/impl/ArtistDaoImpl.java
@Override
    public void update(Artist artist) {
        manager.getTransaction().begin();
        manager.merge(artist);
        manager.getTransaction().commit();
    }
/**
     * Update Artist information.
     *
     * @param artist an Artist to be updated.
     */
Update Artist information.
@param artist an Artist to be updated.
Update Artist information . @param artist an Artist to be updated .
@Override
    public void update(Artist artist) {
        manager.getTransaction().begin();
        manager.merge(artist);
        manager.getTransaction().commit();
    }
@ Override public void update ( Artist artist ) { manager . getTransaction ( ) . begin ( ) ; manager . merge ( artist ) ; manager . getTransaction ( ) . commit ( ) ; }
Update Artist information.
Update Artist information .