Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Hi Navdeep, the transaction is defined if...

    Hi Navdeep,
    the transaction is defined if Exception is thrown from saveUser method, but in your code the catch only do a e.printStackTrace() and no exception is thrown by that method.

    Adjust your...
  2. Replies
    4
    Views
    392

    Maybe this:

    Maybe this:

    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
    <property name = "connectionInitSqls">
    <list><value>PRAGMA foreign_keys = ON</value></list>
    ...
  3. Replies
    4
    Views
    392

    Can you try adding

    Can you try adding <property name="enforceForeignKeys" value="true"/> ?

    I hope this work.
  4. Replies
    4
    Views
    9,494

    Thank you eradan.

    Thank you eradan.
  5. Replies
    3
    Views
    979

    Take a look at Spring Documentation at chapter...

    Take a look at Spring Documentation at chapter 18.

    It's very easy using portlet, more easiest with Spring :-)
  6. Replies
    4
    Views
    563

    I hope ... and I'm trying to make it All...

    I hope ... and I'm trying to make it

    All suggestion is good
  7. Replies
    4
    Views
    563

    Hi maheshguruswamy, now I have only 5 prefix to...

    Hi maheshguruswamy,
    now I have only 5 prefix to handle but they will be variable in number and value, so I like to put this "prefix -> new value" to a configuration file or table, because I think...
  8. Replies
    4
    Views
    563

    How Proxy Servlet with a Spring solution

    Hi to all,

    I have to redirect the request with certain prefix arrived at my web app to another web server/application/servlet.

    This, obviously, with data in request and showing the html page...
  9. Replies
    4
    Views
    1,686

    Thank you, it's is clear for me, I can present...

    Thank you, it's is clear for me, I can present you the software architect we have :)
  10. Replies
    4
    Views
    1,686

    Thank you Marten for your reply. I need EJB?...

    Thank you Marten for your reply.

    I need EJB? EBJ is a requirement ...


    I wrote also @Autowired to point out that a spring bean use an ejb that use a spring service
    :) ... i need ejb ? :(
  11. Replies
    4
    Views
    1,686

    Is possibile EJB 3.0 without annotation?

    Hi,
    is possible to use and declare an EJB 3.0 without annotation?

    I like not to use @EJB @Remote @Local @Stateless @Autowire annotation.

    I'm using Spring 2.5.6 on JBoss Portal 2.7.2, and I'd...
  12. Hi Christian, I'm not english native talking and...

    Hi Christian,
    I'm not english native talking and I don't understand very well what irkanash wrote ...
    but perhaps it is better :)

    However, I have described my experience in an application...
  13. Hello Christian, I think the problem is that the...

    Hello Christian,
    I think the problem is that the difference between Render phase and Action phase of portlet isn't clear for you.

    Maybe...
  14. hi Christian, in "my" portlet application, I...

    hi Christian,
    in "my" portlet application, I have simple jsp with tiles integration in the view layer and it works fine.

    What is your matter? Try to ask and we try to help :)

    What is your...
  15. Replies
    5
    Views
    5,939

    Try to change your bean dataSource-metadata...

    Try to change your bean dataSource-metadata defintion as:



    <bean id="dataSource-metadata" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName"...
  16. Replies
    15
    Views
    2,438

    Rename messages_en.properties in...

    Rename messages_en.properties in messages_en_US.properties.
  17. Replies
    8
    Views
    1,033

    Yes, I have read it, but in your configuration...

    Yes, I have read it, but in your configuration you have:



    <value>com.myapp.deployment.service.DeploymentService.parse=PROPAGATION_REQUIRED
    </value>


    and the method parse in...
  18. Replies
    8
    Views
    1,033

    I can see that in your configuration of...

    I can see that in your configuration of transactionAttributeSource of transactionInterceptor you have posted, is not specified what type of exception must be rolled back or commited.



    <bean...
  19. Replies
    3
    Views
    678

    Your queries return the same resultset but the...

    Your queries return the same resultset but the FROM and WHERE clause are a bit different:



    Query 1.

    "... from Person where name = ? ..."


    and
  20. Hi Olimpiu, the problem is your Add button: ...

    Hi Olimpiu,
    the problem is your Add button:


    <input type="submit" value="add" onclick="this.form.submit();" />


    It's already a submit button ! When you click the javascript...
  21. Replies
    3
    Views
    8,523

    Good, this is a trick not to forget.

    Good, this is a trick not to forget.
  22. Replies
    3
    Views
    8,523

    Try to add in your dispatcher-servlet.xml, at...

    Try to add in your dispatcher-servlet.xml, at viewResolver bean definition a contentType definition like this:



    ...
    <property name="contentType" value="text/html; charset=UTF-8" />
    ...
  23. Replies
    6
    Views
    2,324

    Hi Khushwinder, in your sqlMapConfig there is in...

    Hi Khushwinder,
    in your sqlMapConfig there is in settings section the property useStatementNamespaces="true"?
    For example:



    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE sqlMapConfig...
  24. What type of data are returning this method: ...

    What type of data are returning this method:
    1. UUID.randomUUID()
    2. marketOrderDataBO.getClOrderId()
    3. marketOrderDataBO.getForeignOrderId() ?

    In Database table I think...
  25. What is the matter? An exception is thrown? or...

    What is the matter? An exception is thrown? or what?

    Post some of code and describe what is happening.
Results 1 to 25 of 46
Page 1 of 2 1 2