Search:

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

Search: Search took 0.03 seconds.

  1. hibernate.connection.provider_class with Hibernate 4

    Does anyone know the value for hibernate.connection.provider_class with hibernate 4?

    I tried org.hibernate.service.jdbc.connections.internal.C3P0ConnectionProvider but had no luck. It gives me :
    ...
  2. Replies
    15
    Views
    27,391

    This has been resolved with SPR-8908:...

    This has been resolved with SPR-8908: https://jira.springsource.org/browse/SPR-8908
  3. Could not open Hibernate Session for transaction; nested exception is NPE

    After migrating to Hibernate 4 and Spring 3.1 RC2: I getting following exception and I have no idea why:

    Exception:



    org.springframework.transaction.CannotCreateTransactionException:...
  4. Replies
    15
    Views
    27,391

    Thank you for the suggestions! OK I have added...

    Thank you for the suggestions!

    OK I have added to the application context:


    <tx:annotation-driven/>

    Since all my service classes are marked as @Transactional

    And now I'm getting...
  5. Replies
    15
    Views
    27,391

    hibernate4: No Session found for current thread

    Update:

    Now besides the "No Session found" exception I'm getting also:


    NoSuchMethodError: org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/classic/Session;

    See the whole...
  6. Thank you Marten. I guess I'll just sit back wait...

    Thank you Marten. I guess I'll just sit back wait for little bit :)

    Hibernate 4 isn't yet supported (it isn't final yet) but support is under way (judging from the latest commits in the spring 3.1...
  7. Migrating application context configuration to Spring 3.1 and Hibernate 4.0

    I'm having hard time finding migration docs. I was using sping 3.0.5 and hibernate 3.4.

    I migrated to the latest release candidates: spring 3.1 and hibernate 4.0

    I was able to refactor my...
  8. Replies
    7
    Views
    1,530

    In all fairness I have been reading for 3 days...

    In all fairness I have been reading for 3 days and it hard to find info! Either you get lucky you find it right away or you spend $50 (Spring Security 3) on book go through the whole thing (plus give...
  9. Replies
    7
    Views
    1,530

    I found this thread:...

    I found this thread:
    http://forum.springsource.org/showthread.php?t=65651

    And both solution on the bottom seem to be working fine.

    Bless you csw199 !!! :D

    SOMEONE SHOULD UPDATED THE FAQs
  10. Replies
    7
    Views
    1,530

    I got this from the FAQ: The question is now,...

    I got this from the FAQ:

    The question is now, how do I start the session in HTTP?

    Also I found following thread:
    http://forum.springsource.org/showthread.php?t=72946
    But still there is no...
  11. security:

    security:



    <bean id="filterChainProxy" class="org.springframework.security.web.FilterChainProxy">
    <security:filter-chain-map path-type="ant">
    <security:filter-chain...
  12. Hi Jose, This is top of web.xml it works like...

    Hi Jose,

    This is top of web.xml it works like charm:




    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
  13. Replies
    7
    Views
    1,530

    Have to login in twice with SSL enabled

    Little intro. I had this problem with last version of acegi, security 2 and now I upgraded to security 3 and it is still the same.
    Problem being that after I logout from not secured content (only...
  14. Replies
    1
    Views
    1,519

    Menu item

    This just sound like something very simple. I'm looking for more complex situation where I will be able to do constrains on the categories selected. More like filter.
    I don't want to be...
  15. Replies
    1
    Views
    1,519

    Category navigation

    Is there already something pre-made for category navigation via JSP or FreeMarker?

    For example I have bunch pages that I have to organized into categories. And be able to still add new categories...
  16. Replies
    2
    Views
    870

    I'm trying to avoid using session objects. I was...

    I'm trying to avoid using session objects. I was wondering if someone has some decorator patter solution for this.
  17. Replies
    2
    Views
    870

    @Controller and @ModelAttribute("user")

    Currently I use this method in each controller to retrieve current user for each page:

    @ModelAttribute("user")
    public User user(){
    return userService.getCurrentUser();
    }
    ...
Results 1 to 17 of 17