Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    764

    Log for Hibernate

    Hi friends!!!

    I'm working with Spring+Hibernate. When I provoke a rollback in my application, it works, but i can't see any information about it in my Tomcat's log. I want to know if there are any...
  2. Replies
    15
    Views
    2,426

    Umm....it doesn't run at all...If i do two...

    Umm....it doesn't run at all...If i do two "createProducto", and cause and exception on the second, the rollback only affect to the last one.
    I have been reading about...
  3. Replies
    15
    Views
    2,426

    Uagggg, what stupid error. Thanks!!!

    Uagggg, what stupid error. Thanks!!!
  4. Replies
    15
    Views
    2,426

    This is my...

    This is my springHibernateTransactions-servlet.xml:


    <?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSPY v5 U &#40;http&#58;//www.xmlspy.com&#41; by Registred &#40;Registred&#41; -->
    <!DOCTYPE beans...
  5. Replies
    15
    Views
    2,426

    public class AltaProductoFormController extends...

    public class AltaProductoFormController extends SimpleFormController&#123;

    protected final Log logger = LogFactory.getLog&#40;getClass&#40;&#41;&#41;;
    /**
    * Valor del campo <code>PM</code> que...
  6. Replies
    15
    Views
    2,426

    And PM is created on the...

    And PM is created on the "applicationContext-hibernate.xml":


    <bean id="blankTarget" class="com.acotelsa.transactions.hibernate.HibernateProductoManager">
    <property name="sessionFactory"><ref...
  7. Replies
    15
    Views
    2,426

    Actually my "createProducto" is like: public...

    Actually my "createProducto" is like:


    public Integer createProducto&#40;Producto producto&#41;
    &#123;
    Integer id= &#40;Integer&#41; getHibernateTemplate&#40;&#41;.save&#40;producto&#41;;
    if &#40;true&#41;
    ...
  8. Replies
    15
    Views
    2,426

    Ok. I had tried to insert a "throw new...

    Ok. I had tried to insert a "throw new RuntimeException" on the "createProducto" method, and i doesn't do the rollback. I don't know if my configuration is wrong or i've i testing it with wrong...
  9. Replies
    15
    Views
    2,426

    Because i believe that my application isn't...

    Because i believe that my application isn't looking at my TransactionProxyFactoryBean: it still insert the fisrt record on database. So i put the "readonly" property to prove that maybe it give me an...
  10. Replies
    15
    Views
    2,426

    Declarative transaction management in Spring

    Hi friends!!
    I'm trying to use the declarative transaction management with Hibernate in Spring. But i can't obtain a rollback at my wrong actions on BBDD.

    This is my...
  11. Replies
    4
    Views
    4,585

    ok,and how i can prove that rollback runs??

    ok,and how i can prove that rollback runs??
  12. Replies
    4
    Views
    4,585

    Declarative transaction management in Spring

    Hi friends!!
    I'm trying to use the declarative transaction management with Hibernate in Spring. But i can't obtain a rollback at my wrong actions on BBDD.

    This is my...
  13. Replies
    1
    Views
    2,949

    Workflow of SimpleFormController

    Hi friends!!!
    I need to know what is the workflow of SimpleFormController, before and after of submit action. This is because i've to check user's session, and i don't know how to do it.
    I think...
  14. Replies
    6
    Views
    2,808

    :D

    :D
  15. Replies
    6
    Views
    2,808

    Ok!! It works now!! My errors were that: -...

    Ok!! It works now!! My errors were that:
    - weren't putting ".htm" on the success view tag at ...-servlet.xml
    - using new RedirectView on the Controller side and "redirect:" on the xml side. I've...
  16. Replies
    6
    Views
    2,808

    Thanks dhainlin I've tried to do what you say....

    Thanks dhainlin

    I've tried to do what you say. My ...-servlet.xml now is like that:


    <!-- Validador y Controlador del formulario para la edicion de Contactos" -->
    <bean...
  17. Replies
    3
    Views
    1,093

    Ufff, i find the problem. Yeah, thanks for your...

    Ufff, i find the problem. Yeah, thanks for your answer because it's true: i need the setter method, and I've to call the property with the same name that in the "xml" file; it was obvious, but i...
  18. Replies
    3
    Views
    1,093

    Ok, I've put getter and setter methods for the...

    Ok,
    I've put getter and setter methods for the too Managers in my class, but i'm still having the problem:

    Error creating bean with name 'listadoCanales' defined in ServletContext resource...
  19. Replies
    6
    Views
    2,808

    Call from a Form to another Form

    Hi friends!!!

    I've to do a call from a SimpleFormController to another SimpleFormController, but I don't know how i can do it, because i want to call to the controller of the second form, not to...
  20. Replies
    3
    Views
    1,093

    NotWritablePropertyException

    Hi friends!!
    I'm trying to use to DataSource on my application, that seems like that:


    <!-- JNDI DataSource para entornos J2EE para el esquema ARS-->
    <bean id="dataSourceArs"...
Results 1 to 20 of 20