@Adeel...
Thanks for your reply..
in that example, we can use Annotation @Transactional..
i have modified my application's configuration..
and shown like the following code :
is it configuration true?..
iam using sessionFactory and transaction manager..
and the DAO code is like this :
is it DAO have been configured as Transactional mode?..
iam sorry before.. iam still confusing about the rollBackFor Property..
i've been configure Transactional Annotation like this one :
@Transactional(readOnly=false,rollbackFor=Exception.class)
is it the rollback will executed if any errors occured?..
i just use rollbackFor=Exception.class, and not use specify another Exception classes, beacuse all of the Exception classes is inheritated of "java.lang.Exception"..
Thank's in advance