Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    210

    You can use @Transactional at the business...

    You can use @Transactional at the business service layer.

    It will not create any problem if you will have it on the DAO layer as well, cause then it will reuse the existing transaction , and if ...
  2. Testing with WebLogicJtaTransactionManager ,Spring Junit and Hibernate

    0
    I am doing some Junits test for a persitence layer that use Spring + Hibernate .

    By mistake i forgot to declare a new transaction manager and the one from pesritence.xml was used which is a...
  3. Replies
    5
    Views
    872

    Any idea ?

    Any idea ?
  4. Replies
    5
    Views
    872

    Read only data via Spring + Hibernate

    Noticed that if I want to read some data and if I do not have a transaction context I will not be able to do so because

    "org.hibernate.HibernateException: No Session found for current thread"
    ...
  5. #### ...

    ####<Jan 12, 2012 4:44:18 PM CET> <Debug> <DomainLogHandler> <D02DI1005860> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>...
  6. Same problem here ! ####

    Same problem here !

    ####<Jan 12, 2012 4:44:18 PM CET> <Debug> <DomainLogHandler> <D02DI1005860> <AdminServer> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS...
  7. Replies
    0
    Views
    656

    Read from Weblogic , write to ActiveMQ

    I have the following scenario:

    Read a message from a Weblogic queue and I have to write this to an ActiveMQ queue (transaction wise)

    (i can't use JMS Bridge,Foreign JNDI for various reason that...
  8. Apparently the problem was solved by adding...

    Apparently the problem was solved by adding autowire="autodetect"



    <bean id="transactionManager" autowire="autodetect"
    ...
  9. Apparently the problem was solved by adding...

    Apparently the problem was solved by adding autowire="autodetect"



    <bean id="transactionManager" autowire="autodetect"
    ...
  10. Same problem here .... No solutions to this ?

    Same problem here ....
    No solutions to this ?
  11. I have the same problem Did anybody solved this...

    I have the same problem
    Did anybody solved this issue ?
  12. Spring + WebLogicJtaTransactionManager issue

    I use WLS 10.3
    I had this transaction manager configured



    <bean id="transactionManager" autowire="byName"
    class="org.springframework.orm.hibernate3.HibernateTransactionManager" >
    ...
  13. Spring + WebLogicJtaTransactionManager issue

    I use WLS 10.3
    I had this transaction manager configured



    <bean id="transactionManager" autowire="byName"
    class="org.springframework.orm.hibernate3.HibernateTransactionManager" >
    ...
  14. Replies
    1
    Views
    532

    Starting from existing POJO ?

    I have an existing data model generated from some WSDL.

    Is possible to generate the persistence layer (JPA) using Roo starting from some existing data classes.

    Example I already have...
  15. Replies
    9
    Views
    4,145

    View Post

    <bean id="jndiTemplate"
    class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
    <props>
    <prop key="java.naming.factory.initial">...
  16. Replies
    9
    Views
    4,145

    Now that i re read your post: Yes i have a...

    Now that i re read your post:

    Yes i have a queue only and security is on the queue alone.

    To understand better ...why is this cae different then yours ?

    and how can i achive this using ...
  17. Replies
    9
    Views
    4,145

    Thank you so much !

    Thx you for the detailed response !!!
  18. Replies
    8
    Views
    6,668

    How this can be done ?

    How can i do that ?

    I extend UserCredentialsConnectionFactoryAdapter ? and then ?

    Thx
  19. Replies
    8
    Views
    6,668

    Same problem here !

    http://jira.springframework.org/browse/SPR-5869
  20. Replies
    9
    Views
    4,145

    What is the final solution after all reading messages from a secured jms queue (sprin

    Thx honeybunny

    The problem i faced is that i was unable to read (consume) messages from a secured queue.

    What i did was the solution you did with the Decorator but that one you also said in...
  21. Replies
    9
    Views
    4,145

    I have the same problem

    I have the same problem ?

    Does anyone know a solution for this ?
  22. thx

    My mistake as i initialy said.
    Your last example was more then obvious.
    My respect for patience you had !
    Thx
  23. I am sure my very young spring knowleges are the...

    I am sure my very young spring knowleges are the fault for this.

    BUT you confirm that those singleton DAO's ( CustomerDao) will be shared among many users,threads ?

    So those singleton object...
  24. Marten I use GWT + Spring+ Hibernate Now a...

    Marten
    I use GWT + Spring+ Hibernate

    Now a RPC call is in fact a servelt call so :

    "The datasource/database connection is determined per thread it isn't set on the singleton:

    Each client...
  25. View Post

    <bean id="simpleTaskDao" class="com.mmp.gateway.persistence.dao.SimpleTaskD aoImpl"
    parent="genericDao" />
    </beans>

    This is a singleton that will end up having a session factory.

    Now i am...
Results 1 to 25 of 37
Page 1 of 2 1 2