Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. WebApplicationContext parent of Struts ContextLoaderPlugIn - invisible parent bean

    Spring 3.1.0.M2, Struts 1.2.8

    I have the standard String context configured in web.xml with org.springframework.web.context.ContextLoaderListener and the Struts plugin configured in...
  2. Replies
    1
    Views
    1,103

    I do not think a definitive list of all the...

    I do not think a definitive list of all the things that can go wrong with Spring deployments on WLS exists! You should post the exact version of WLS 10 you are using and the complete deployment...
  3. Replies
    8
    Views
    3,404

    It should be fairly easy to test if 'lost...

    It should be fairly easy to test if 'lost updates' occur by editing the same entity in two sessions in your app.

    Chris
  4. Replies
    8
    Views
    3,404

    The quote from the GAE guy is interesting, does...

    The quote from the GAE guy is interesting, does this mean that a transaction rejected because another user has modified the entity will cause a retry and therefore risk a "lost update" because the...
  5. Replies
    8
    Views
    3,404

    Quick work, the logging proves you have this...

    Quick work, the logging proves you have this working correctly with the retry outside the transaction.

    I think you should consider removing the transactions around the dao's (they will confuse...
  6. Replies
    8
    Views
    3,404

    Have a look at this: ...

    Have a look at this:

    http://static.springsource.org/spring/docs/2.5.x/reference/transaction.html#transaction-declarative-applying-more-than-just-tx-advice

    I have a transaction retry interceptor...
  7. Replies
    1
    Views
    3,186

    A default mbean server like this works for me...

    A default mbean server like this works for me (Spring 2.5.4, WLS 10.0, Tomcat 5.5.26):


    <bean id="defaultMbeanServer" factory-method="locateMBeanServer"
    ...
  8. Replies
    9
    Views
    1,517

    The JPA Spec (JSR220: Exterprise JavaBeans,...

    The JPA Spec (JSR220: Exterprise JavaBeans, Version 3.0 Java Persistence API):

    http://jcp.org/aboutJava/communityprocess/final/jsr220/index.html

    says (Section 9.1.9) says:



    so presumably...
  9. Replies
    9
    Views
    1,517

    So if you are not using annotations, you must...

    So if you are not using annotations, you must have declared a <generator> for each primary key column as described in the Hibernate manual:
    ...
  10. Replies
    9
    Views
    1,517

    You must have a transaction manager and configure...

    You must have a transaction manager and configure transactions on 'service' methods, have a look at the following from the Spring reference manual:
    ...
  11. Replies
    9
    Views
    1,517

    Have you declared a transaction manager,...

    Have you declared a transaction manager, something like this:



    <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
    <property...
  12. Thread: Sql Logging

    by Chris
    Replies
    2
    Views
    630

    I have the following code in my high level...

    I have the following code in my high level exception handler, which gets the SQL, but not the parameters. Note that instead of using reflection you could just use instanceof...
  13. Replies
    9
    Views
    1,517

    I do not think this has anything to do with JNDI...

    I do not think this has anything to do with JNDI or your data source. Could you be missing @Entity for the class com.blank.model.User?

    Chris
  14. Replies
    2
    Views
    4,690

    As per this Hibernate enhancement request the use...

    As per this Hibernate enhancement request the use of Oracle SQL hints is not directly supported:

    http://opensource.atlassian.com/projects/hibernate/browse/HHH-2736

    I am using a work arround by...
  15. To enable the connection cache (pool) to shrink...

    To enable the connection cache (pool) to shrink when connections are idle the connectionCacheProperties for the jdbc resource in the Tomcat server.xml should be:
    ...
  16. This is my working configuration (Tomcat 5.5.26,...

    This is my working configuration (Tomcat 5.5.26, Spring 2.5.4, Java 1.5.0_15-b04) for an 11.1.0.6 database:

    Tomcat Server.xml

    <Resource...
  17. Replies
    2
    Views
    1,172

    What about these annotations? ...

    What about these annotations?

    http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html#entity-hibspec-query

    Chris
  18. Replies
    3
    Views
    969

    See Oracle Metalink Note 269517.1 -...

    See Oracle Metalink Note 269517.1 - java.sql.setTime Behaviour Change From 9i To 10g JDBC Driver

    Chris
  19. Replies
    3
    Views
    4,647

    You may also want to configure the connection...

    You may also want to configure the connection pool size and the number of cached statements with:


    connectionCacheProperties="(InitialLimit=2,MinLimit=2,MaxLimit=10,MaxStatementsLimit=50)"

    You...
  20. Replies
    4
    Views
    2,195

    I appear to have the same problem, did you find a...

    I appear to have the same problem, did you find a solution?

    thankyou,
    Chris
  21. Replies
    2
    Views
    1,224

    For Oracle DB start here: ...

    For Oracle DB start here:

    http://www.oracle.com/technology/tech/webservices/database.html
  22. You could use one of these if an XSLT tranform...

    You could use one of these if an XSLT tranform can remove comments:
    ...
  23. I have also encounter this, is is cause by a bug...

    I have also encounter this, is is cause by a bug in Axiom, see:

    https://issues.apache.org/jira/browse/WSCOMMONS-340
  24. Replies
    13
    Views
    4,224

    As the Javadoc for...

    As the Javadoc for org.springframework.transaction.jta.OC4JJtaTransactionManager says it can only be used with OC4J 10.1.3 and higher.

    org.springframework.transaction.jta.JtaTransactionManager...
  25. Replies
    13
    Views
    4,224

    According to the OC4J 10.1.2 doco here: ...

    According to the OC4J 10.1.2 doco here:
    ...
Results 1 to 25 of 73
Page 1 of 3 1 2 3