Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,278

    Is spring support hot deploy ?

    Could some body give me some suggestions?
  2. Replies
    0
    Views
    759

    Question with persistence.xml

    Here is my persistence.xml


    <?xml version="1.0" encoding="UTF-8"?>
    <persistence>
    <persistence-unit name="ebEntityManager" transaction-type="RESOURCE_LOCAL">
    ...
  3. If I want to use an transaction with jpa & jms...

    If I want to use an transaction with jpa & jms ,the following config have any problems? I have not try it out yet



    <bean id="jotm" class="org.springframework.transaction.jta.JotmFactoryBean"/>...
  4. How do Spring JPA use JOTM(JTA) transaction??

    I use Spring 2.0M3,now can use hibernate entitymanager.
    But I maybe need use JTA in the future, is there any suggestions?
    my app server is TOMCAT 5.5.x
  5. Replies
    6
    Views
    1,982

    I find message below in my log: Candidate...

    I find message below in my log:


    Candidate advisor [org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor@12bf892] rejected for class...
  6. Replies
    6
    Views
    1,982

    I did not use the Test class of spring ,I use the...

    I did not use the Test class of spring ,I use the TestCase of JUnit

    and I add the config (below) in to web.xml


    <filter>
    <filter-name>sessionFilter</filter-name>
    <filter-class>...
  7. Replies
    6
    Views
    1,982

    and here is my dao and logic code dao ...

    and here is my dao and logic code
    dao


    package com.jl.eb.dao;
    import java.util.List;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import...
  8. Replies
    6
    Views
    1,982

    Lazy Loading Exception,Please give a hand

    I used the Spring2.0M3 and Hibernate EntityManager3.1.6 beta
    Here is my configuration:
    persistence.xml,(NO hibernate.cfg.xml)


    <?xml version="1.0" encoding="UTF-8"?>
    <persistence>
    ...
  9. Replies
    1
    Views
    1,549

    I have try this,but it didn't work

    I have try this,but it didn't work


    <bean id="ebOpenEMinView" class="org.springframework.orm.jpa.support.OpenEntityManagerInViewInterceptor">
    <property name="entityManagerFactory"...
  10. Replies
    1
    Views
    1,549

    Spring,Hibernate JPA Lazy Loading problem

    Spring 2.0m2,hibernate 3.1beta6


    @Entity
    @Table(name = "category", schema = "eb", uniqueConstraints = {})
    public class Category implements java.io.Serializable {
    // Fields
    private String...
  11. Thank you very much.It does works :)

    Thank you very much.It does works :)
  12. An problem encount when I use Hibernate entity manager

    I use spring 2.0M2 and hibernate entitymanager
    my persistence.xml file


    <?xml version="1.0" encoding="UTF-8"?>
    <persistence>
    <persistence-unit name="TestEntityManager"...
  13. I have read the article on the page of...

    I have read the article on the page of http://www.jroller.com/page/sbeigel?entry=using_the_new_java_persistence

    and also have one question,if I have to connect two data sources,I must write...
  14. What is the solution of in the multi data source case of spring and hibernate3?

    In our case we have a large system,and we split it as some subsystem.
    each subsystem may have different datasource, in other word,there may have many datasource .
    every subsystem use hibernate3...
  15. Is there any timelines?

    Is there any timelines?
  16. I tried the...

    I tried the org.springframework.transaction.support.TransactionTemplate to receive Message in transaction
    my code:


    TransactionTemplate tt =...
  17. How do ClientAcknowlege take effect in JmsTemplate?

    When I set the ClientAcknowlege in JMS, According to JMS Spec,No. 15th message will redelivered,I must receive NO.15th Message in next receive operation.

    But when I use the code below,it would...
  18. How to use JOTM in Spring annotation tranasaction?

    I would use JOTM as the transaction container in Spring annotation transaction?
    Is there any examples?
  19. How to integrate Spring and Hibernate Entitymanager?

    Is there any one has an example?
    Entitymanager would manage the transaction in Hibernate EntityManager.
    Is there any way to use Spring to manage it?
  20. Replies
    0
    Views
    1,539

    The question about ActiveMQ performance.

    I use ActiveMQ v3.2 as my JMS server and JmsTemplate send MESSAGE to a queue. ActiveMQ use the default configuration.When I send nearly 20 MESSAGEs to the queue(1MB per Message),It will get "Queue is...
  21. If I want make some Database operation in the...

    If I want make some Database operation in the same XA transaction,I must give these codes in the tt.execute{......} . Is that right??
  22. Thank you Andy. I have tried your program.it is...

    Thank you Andy.
    I have tried your program.it is no problem.The problem is :
    Is your code a XA Transaction?
    I tried my codes just from:...
  23. HELP!!! I'v Got an Error!HELP!! My config...

    HELP!!! I'v Got an Error!HELP!!

    My config file:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http&#58;//www.springframework.org/dtd/spring-beans.dtd">...
  24. I get a problem with JndiRmiServiceExporter! Please HELP

    here is my config file[bean.xml]:


    <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
    <property name="environment">
    <props>
    ...
Results 1 to 24 of 24