Search:

Type: Posts; User: ilysony; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Java code @Repository public class...

    Java code
    @Repository
    public class BaseHibernateDao extends HibernateDaoSupport {
    }



    SERVICE

    Java code
  2. how can i config spring +hibernate + proxool + jpa ?

    hi everyone,

    i have encounting a problems on config spring2.5.6 hibernate3.3 proxool-0.9.1.jar jpa,


    i only use jpa to instead of *.hbm.xml to mapping entities.

    but i could see any...
  3. Replies
    23
    Views
    31,666

    Poll: reply

    datasource
  4. Replies
    7
    Views
    1,478

    i have change above config to

    i have change above config to

    <bean id="transactionManager"
    class="org.springframework.orm.hibernate3.HibernateTransactionManager">
    <property name="sessionFactory"...
  5. Replies
    7
    Views
    1,478

    reply

    hi dejanp
    thanks for your reply,

    i ' m using cglib which don't need interface implements.

    cglib base on no-interface dynamic proxy dalegate database's transaction
  6. reply

    i have the same problems on @Transactional

    http://forum.springframework.org/showthread.php?t=65168
  7. Replies
    2
    Views
    819

    3q

    thanks for your guide
  8. hello

    i have encounting the same problems

    but i use @transactional on service
  9. Replies
    7
    Views
    1,478

    reply

    008-12-20 21:26:00 [ http-8080-1:51390 ] - [ INFO ] Created new session-scoped cache in session 089C12682F8BEFFC97EBD6917245AFFE at key: __oscache_cache
    2008-12-20 21:26:00 [ http-8080-1:51390 ]...
  10. Replies
    7
    Views
    1,478

    Spring @Transactional can't work !

    i use @Transactional in service layer

    but it did't work (rollback) when i insert a data into database and throw a exception


    DAO中
    @Repository
    public class TestDao extends BaseHibernateDao...
  11. Replies
    2
    Views
    819

    who can help me about spring security?

    Hi,everyone

    i want to implements this kind of function base on web project

    1. only one session permit

    2. when a user logout ,he can't visit the page which need login

    3. its a small sns...
  12. Dear Marten Deinum ,Thanks for your reply,and...

    Dear Marten Deinum
    ,Thanks for your reply,and i 'm really thanks for your advice~! ^_^

    I have got green in junit ,thanks a lot

    @RunWith(SpringJUnit4ClassRunner.class)...
  13. Marten Deinum Thanks a lot ,'m using ExtJs/Wap...

    Marten Deinum
    Thanks a lot ,'m using ExtJs/Wap As View layout,

    my boss let me to write the controller test via Mock and JUnit,but i dont know how to

    set the request to that kind of...
  14. i don't know how to set the parameter and how to...

    i don't know how to set the parameter and how to got the

    JSONMap map = new JSONMap();
    map.put("totalProperty", 2000);
    map.put("list", list);
    map.flush(response);


    and to write Assert...
  15. How To Test Controller(MVC) via EasyMock And JUnit?

    Hi Everyone,

    How To Test Controller(MVC) via EasyMock And JUnit?

    Here is my code



    @Controller
    public class AdminFr extends AdminController {
  16. Replies
    3
    Views
    1,857

    AnnotationSessionFactoryBean you could try ...

    AnnotationSessionFactoryBean

    you could try *.hbm.xml first ,when you are familiar with *.hbm.xml,then you could learn

    how to use annotation to replace the xml files
  17. i'm learnning struts2+spring2.5.5 +hibernate3.3 ...

    i'm learnning struts2+spring2.5.5 +hibernate3.3

    +log4j+proxool
  18. Replies
    12
    Views
    1,451

    i'm also a newbie to spring,i think that you...

    i'm also a newbie to spring,i think that you could do some simple app first,

    the above files are to complex to a newbie
  19. Replies
    3
    Views
    1,857

    do you have org/slf4j/impl/StaticLoggerBinder?

    do you have org/slf4j/impl/StaticLoggerBinder?
  20. conflicts with existing, non-compatible bean definition of same name and class

    I just want to test spring via Spring-test.jar,and JUnit

    but when i run this toy program,it does't work at all,and

    got the exception as below,

    who know this?and how to solve it? thanks...
  21. additional : using MySql DataBase

    additional : using MySql DataBase
  22. How Can i write a very simple guestbook Project via Spring2.5 + Hibernate + Struts2?

    Dear all,

    i 'm a beginner of learnning Springframework....

    i want to create a project very simple guestbook Project

    use below skill

    1.Spring2.5 + Hibernate + Struts2
  23. Replies
    20
    Views
    2,549

    and the default Scope is singleton ,in this scope...

    and the default Scope is singleton ,in this scope ,all reference share this object,

    if your want to all reference got different object,

    your could write as below,your also could define the...
  24. Replies
    20
    Views
    2,549

    sure did .

    sure did .
  25. Replies
    20
    Views
    2,549

    Dao d = (DAO)new DAOImpl(); u might use DAO...

    Dao d = (DAO)new DAOImpl();

    u might use

    DAO d = (DAO)ac.getBean("daoImpl");

    i just wirte

    @Component("daoImpl")
    public class DAOImpl implements Dao{
Results 1 to 25 of 31
Page 1 of 2 1 2