September 4, 2013

  • 今朝肥老細六點幾就whatsapp曬D tech lead
    話testing environment 死左…

    等我都拿拿聲趕番黎,好彩小弟果條stream無事者…

    個testing environment真係好唔穩定
    成日都有stream做deployment唔話比人地知
    整死左人地都唔知…

    同事S特登買fruit cup番黎為大家降火

    ====

    hibernate + spring mvc + JTA(???)
    其實我仲未搞清楚,幾時需要自己getTransaction().begin();
    幾時唔洗

    用左@Transaction之後都唔work, 死都係話我no transaction available
    明明加左
    由前日google到今日,睇左無數個stackoverflow之後終於明明地

    錯左幾樣野,首先係入面無包到我寫果個DAO
    跟住係擺錯位

    dispatcher servlet 睇到既context同spring application context係有D分別
    個scope好似有D唔同,如果擺左起dispatcher servlet個context好似係唔work既
    搬左去另一個application context, 即係

    contextConfigLocation
    ??????.xml

    org.springframework.web.context.ContextLoaderListener

    入面果D

    咁就得左

    而家起碼work左先
    下一步係,有無得起JUnit入面駁到jndi?
    stackoverflow話要import 另一個library入黎做
    定係我應該用h2或者dbunit果類野?

Post a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts

Recent Comments

Categories