Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    1,165

    ermm thanks but this won't work. I ended up...

    ermm thanks but this won't work. I ended up bailing entirely on JpaTransactionManager strategy as it is pretty darn limiting and going the embedded JTA route where I now use the...
  2. Replies
    2
    Views
    1,165

    JpaTransactionManager & hibernate session

    How do I get a non-closed org.hibernate.Session when when the active transaction manager is the JpaTransactionManager?

    I need to get at the session to create a hibernate impl named query...
  3. Replies
    0
    Views
    621

    SharedEntityManagerCreator

    Is there a way to de-reference the proxied (actual) EntityManager when dealing with EntityManager proxies generated via:


    ...
  4. Replies
    0
    Views
    811

    @Transactional and aspectj CTW not working

    I'm Compile Time weaving the @Transactional advice using native AspectJ compilation but no runtime method interception is occurring! I follow the steps outlined in the Spring ref...
  5. Replies
    1
    Views
    1,438

    Umm nevermind I discovered what the problem was. ...

    Umm nevermind I discovered what the problem was. Since it is a FactoryBean, I need to use &[bean name] syntax.
  6. Replies
    1
    Views
    1,438

    tx:annotation-driven autoproxies everything

    I have a spring app context:



    <bean id="entityManagerFactoryBean" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean" />

    <bean id="sharedEntityManagerBean"...
  7. Replies
    5
    Views
    1,248

    I'll try to post a wiki on it sometime soon after...

    I'll try to post a wiki on it sometime soon after I do some field testing. Thanks for your input.
  8. Replies
    5
    Views
    1,248

    Friends don't let friends code Macros.

    Forget all that macro non-sense.

    I am shamelessly Velocitizing the well written JSTL form tag library in Spring 2.0 so that the my form tags are all generated cleanly in Java eliminating the need...
  9. Replies
    6
    Views
    1,676

    I think what I'm going to do for now is create an...

    I think what I'm going to do for now is create an ad-hoc Errors instance somehow to pass to my validation routines and simply translate all errors to a single string to be used in the exception that...
  10. Replies
    6
    Views
    1,676

    Geez, I guess but it seems like unncesssary work...

    Geez, I guess but it seems like unncesssary work to mimmic the binding process altogether against a DWR call as the object is assembled for you already.
  11. Replies
    6
    Views
    1,676

    Ajax and Spring MVC Binding

    Has there been some rumminating out there in the Spring community on utilizing Spring's Validator interface against Ajax calls?

    I have an ajax service that handles DWR based ajax requests but...
  12. Trapping DataAccessExceptions in the service layer

    I know there are several threads on this but I am still unclear. I want to trap DataAccessExceptions in the service layer:



    public void createMerchant(Merchant dmo) throws...
  13. Sure. I'll try it. Thanks.

    Sure. I'll try it. Thanks.
  14. servlet.xml

    <bean id="handlerMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
    <property name="interceptors">
    <list>
    <bean...
  15. AbstractWizardFormController and LazyInitializationException

    I get this when when page navigating in my wizard form:



    23:52:15,266 DEBUG [AppRefDataInterceptor] put app ref data into model
    23:52:15,276 DEBUG [OpenSessionInViewInterceptor] Flushing...
  16. Set binding

    You will need a set with predictably ordered iteration implying such a set as LinkedHashSet. With this satisified you would provide an accessor (against which data binding occurrs) for your set...
  17. Replies
    4
    Views
    893

    Yes. This is what I am doing now.

    Yes. This is what I am doing now.
  18. Replies
    4
    Views
    893

    Sounds good. Thank you!

    Sounds good. Thank you!
  19. Replies
    4
    Views
    893

    threadsafe controllers?

    I have an interceptor that "injects" an object instance into a controller:



    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception...
  20. Replies
    9
    Views
    5,306

    AuthenticationSuccessEvent and HttpSession

    How would I trap an AuthenticationSuccessEvent while having access to the HttpSession?

    I want to populate the HttpSession with stuff at the time of sucessful login.

    Thanks!

    jon
  21. Replies
    2
    Views
    964

    aahhhP - DONT REPLY - fix: ...

    aahhhP - DONT REPLY - fix:

    DetachedCriteria dc = (DetachedCriteria)criteria;
    dc.setProjection(Projections.property("id")); // only select the ids

    return...
  22. Replies
    2
    Views
    964

    HibernateCallback and Session proxy

    This callback:



    HibernateCallback callback = new HibernateCallback&#40;&#41; &#123;

    public Object doInHibernate&#40;Session session&#41; throws HibernateException, SQLException &#123;

    ...
  23. Replies
    1
    Views
    1,969

    #macro( ferr ) #springBind($path) #if(...

    #macro&#40; ferr &#41;
    #springBind&#40;$path&#41;
    #if&#40; $status.error &#41;
    <div id="ferr-$&#123;status.expression&#125;" class="fldErrBlk"><ul
    #foreach&#40;$error in $status.errorMessages&#41;
    ><li>$&#123;error&#125;#if&#40; $velocityCount <...
  24. Thread: PageNotFound

    by jopaki
    Replies
    2
    Views
    1,044

    I settled on webaproot/bin wherein: -js -css...

    I settled on webaproot/bin wherein:

    -js
    -css
    -img
  25. Thread: PageNotFound

    by jopaki
    Replies
    2
    Views
    1,044

    PageNotFound

    Hey all,

    How do I configure things so that my *.css files called out by my velocity templates reside in the same directory as my velocity templates as opposed to the default webapp root dir? ...
Results 1 to 25 of 42
Page 1 of 2 1 2