Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    1,287

    possible to use 2 transactionManagers ?

    Hi,

    I've been using the ContextSourceAndDataSourceTransactionManager to take care of the ldap and DB transactions.
    <bean id="transactionManager"...
  2. Replies
    0
    Views
    1,236

    ServletContextPropertyPlaceholderConfigurer

    Hi,

    I'm using the ServletContextPropertyPlaceholderConfigurer in my ApplicationContext to allow to read context parameters which are set in the web descriptor, this works very good.

    Now I'm...
  3. Replies
    1
    Views
    782

    OpenSessionInViewFilter and MDB

    Hello,

    I'm using the OpenSessionInViewFilter to handle the hibernate session in a webApp.
    This works fine in the web environment but there's a case where a JMS message has to be created and when...
  4. Hello Ulsa and Rasky Ok in my case it will...

    Hello Ulsa and Rasky


    Ok in my case it will not be the JdbcTemplate but hibernate's SessionFactory.



    Yes but when I did the implementation last year I worked with LdapTemplate-1.0.2 so...
  5. Thanks again for your information, it really...

    Thanks again for your information, it really helps me out.
    I have just some last remarks :



    So I could also create some sort of a bean factory (DaoFactoryBean) that lets you switch between...
  6. Hello, that's just my problem, I have at...

    Hello,



    that's just my problem, I have at the moment a service layer which has 1 DAO injected.
    I thought I'd had to work with one DAO and in the DAO itself switch to the other datasource.
    So...
  7. Yes Rasky thanks for your reply that's correct, I...

    Yes Rasky thanks for your reply that's correct, I have a contextSource(ldap) and a Datasource(oracle).

    The question I have is how can I switch from one to the other so I can use 1 DAO for both,...
  8. contextsource and a datasource (HotSwappableTargetSource)

    I was wondering if it is possible using the HotSwappableTargetSource together with a datasource (oracle) and a contextSource or is this only used for two or more datasources ?

    The problem is I...
  9. Replies
    4
    Views
    1,442

    Thanks for the info... But I don't think I can...

    Thanks for the info...
    But I don't think I can use the ThreadPoolTaskExecutor when working with JDK 1.4, is this correct ?
    And concerning threading issues in the EJB spec, does this also apply for...
  10. Replies
    4
    Views
    1,442

    dealing with threads

    I have a question concerning on how to deal with threads...

    Situation: a webbapplication (Struts-Spring). The business layer consists of spring beans and struts is used for the front-end handling....
  11. Replies
    4
    Views
    2,123

    So if I understand correctly it is not possible...

    So if I understand correctly it is not possible to roll back a transaction because there is no notion of a transaction in the Ldap world ?

    Not even when using a JTA transaction manager like the...
  12. Replies
    3
    Views
    6,889

    Yes I've set setCacheAble to true : criteria =...

    Yes I've set setCacheAble to true :

    criteria = this.getHibernateTemplate&#40;&#41;.createCriteria&#40;this.getSession&#40;&#41;, RootCode.class&#41;.setCacheable&#40;true&#41;;
    I even set the CacheQueries to true on the...
  13. Replies
    3
    Views
    6,889

    EHCaching Hibernate

    Hi,

    I've searched this forum to include a caching for Hibernate transactions. But when implementing these myself it just doesn't seem to work.
    In a test I make 10 times a call and in the logging...
  14. Thanks for helping me out on this.... just for...

    Thanks for helping me out on this....

    just for testing sakes I've changed this bean so that it doesn't rely on the transaction template :



    <bean id="caseEvidenceBusinessService"...
  15. Here's the applicationContext.xml

    Here's the applicationContext.xml



    <?xml version="1.0" encoding="UTF-8"?>

    <!DOCTYPE beans PUBLIC
    "-//SPRING//DTD BEAN//EN"
    "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
  16. I also implement it like that : /**...

    I also implement it like that :



    /** @overriden.
    */
    protected String&#91;&#93; getConfigLocations&#40;&#41; &#123;
    return new String&#91;&#93;&#123;"applicationContext.xml"&#125;;
    &#125;
  17. AbstractTransactionalDataSourceSpringContextTests

    Hello,

    I decided to use the AbstractTransactionalDataSourceSpringContextTests to test my DAO layer. I did what the documentation told me to do i.e. override the protected String[]...
  18. Replies
    4
    Views
    3,498

    Instead of using the...

    Instead of using the "WebLogicNativeJdbcExtractor" I've tried to work with the "SimpleNativeJdbcExtractor" :

    <bean id="nativeJdbcExtractor"...
  19. Replies
    4
    Views
    3,498

    Thanks for your reply Brendan. If it wouldn't...

    Thanks for your reply Brendan.

    If it wouldn't work I would have looked into your solution right away :)
    But as I stated it works when I deploy it on the server but it doesn't work
    when running...
  20. Replies
    4
    Views
    3,498

    problems creating an oracle LOB object

    Apparently I only have this Exception when running my JUnit test locally and not when it's deployed as a .war file on the WebLogic server then everything seems to work out fine...

    So it might have...
  21. Replies
    4
    Views
    3,498

    problems creating an oracle LOB object

    Hello,

    This forum has been a great help to use Spring on top of Hibernate but now I am stuck :(
    The problem is that when I'm trying to save (via Junit test) a BLOB object into a column I get...
  22. Replies
    8
    Views
    1,336

    We have a project that uses Struts as the...

    We have a project that uses Struts as the front-end and Spring in the business layer which takes care of Hibernate. We could have multiple clients (browsers) executing at the same time or is this...
  23. Replies
    8
    Views
    1,336

    I've checked out the increment Generator in the...

    I've checked out the increment Generator in the Hibernate documentation and it says:




    Seems to be what I need but I'm not sure what they mean with the following :
  24. Replies
    8
    Views
    1,336

    Thanks for the reply... Yes I've set the dialect...

    Thanks for the reply...
    Yes I've set the dialect to oracleDialect but I didn't setup the sequence.
    Where and how do you specify this, in the *hbm files ?

    Kristof
  25. Replies
    8
    Views
    1,336

    id generation problem

    Hi,

    I'm using the HibernateTemplate for my Hibernate transactions and at a certain stage I save new data in a certain table where records already existed.


    ...
Results 1 to 25 of 31
Page 1 of 2 1 2