Search:

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

Search: Search took 0.03 seconds.

  1. Yes, I tried that too. It didnt work. ie, my...

    Yes, I tried that too. It didnt work.

    ie, my command object was not properly populated with field values.

    My form looks like below:

    <form>
    <input type=text name="subject" value="2020">
    ...
  2. How to pass Array of Command Object to Controller

    Hi,
    I want to pass array of Command objects to controller. Has anyone passed array of command objects (say set of Subjects that are sent to controller in a single form submission for a...
  3. Yes friend. It is:

    Yes friend.

    It is:

    <!-- Message resource declaration -->
    <bean id="messageResource" class="org.springframework.context.support.ResourceBundleMessageSource">
    <property name="basename">...
  4. Message Bundle - No Message Found exception

    Hi friends,
    I m getting following exception when trying to use message bundle. I dont know if spring is able to find my message, which is in class folder of app.

    EXCEPTION:
    ===========...
  5. Friend, Ignore TransacitonFactoryProxyBean....

    Friend,
    Ignore TransacitonFactoryProxyBean. Just use Auto-proxy feature as I have mentioned in my file.

    If you are not sure of how to use it, just go through docs. It is very easy.

    Below...
  6. Hi friend, it is actually very simple. Just...

    Hi friend,
    it is actually very simple. Just apply Spring Transaction over your business method. How to do this? Again simple. Declare hibernateTransaction. Then declare an advisor which would have...
  7. SOLVED

    Hi Friend(s),
    I have solved the problem by using Transaciton Manager to commit transactions. It was actually very easy in Spring. I made it look very hard.

    Regards,
    Aru K
  8. Friend, I corrected my log4j configuration...

    Friend,
    I corrected my log4j configuration and now the log reads as follows.


    LOG
    ===
    16:21:15,751 DEBUG SessionImpl:560 - opened session
    16:21:15,751 DEBUG SessionImpl:789 - generated...
  9. Hi, When application is loaded, I only see...

    Hi,
    When application is loaded, I only see the below mesgs.

    Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@9403a3 [ connectionPoolDataSource ->...
  10. Hi friend, I dont use Transaction Manager....

    Hi friend,

    I dont use Transaction Manager. Below are my config for spring and log4j. I have to inform you that log4j doesnt give me details as it does normally under debug mode when building a...
  11. Costin, Thanks for your reply. As a new user,...

    Costin,
    Thanks for your reply. As a new user, I dont know about OpenSessionInViewFilter/Interceptor patterns. I just use Spring MVC as explained in Spring In Action book/documentation available in...
  12. Replies
    2
    Views
    1,000

    Better rely on DB specific auto-generated keys...

    Better rely on DB specific auto-generated keys (like seq in Oracle).

    When Hibernate saves ur object (unsaved, transient) it will automatically update its identifier field. So, as soon as object is...
  13. Spring + Hibernate -> Cannot commit transaction

    Hi,
    How can I make changes made using Hibernate (hibernateTemplate's save) permanant? If I call save method, I see expected SQL from Hibernate in console but it doesnt update the database. Even...
  14. Friend, I think I have solved it. From the...

    Friend,
    I think I have solved it. From the trace, I was able to identify what was reason for error. It was looking for net.sf...... which is available only in Hibernate 2.x. Im currently using...
  15. Yes friend, it is there. But I dont know why it...

    Yes friend, it is there. But I dont know why it cannot find the class from the Jar.

    I actually have tried odmg.jar, db-ojb-1.0.0.jar etc. But no use. (I didnt try by putting these jars into lib at...
  16. Spring + Hibernate SessionFactory Problem

    Hi,
    When I try to create sessionFactory using following code, I get exception. Please let me know if you have any idea to solve.


    sms-servlet.xml
    ===========


    <bean id="sessionFactory"...
  17. Costin, Still I get the same error when...

    Costin,
    Still I get the same error when Factory is being built. I have copied odmg.jar file into my lib folder and restarted the server. When it was coming up, it threw the same error.

    ...
  18. Cannot Configure SessionFactory using Spring

    Hi friends,
    Im getting following error though I have put correct jar file (db-ojb-1.0.3.jar) in lib folder. Please help to resolve this simple but frustrating issue.

    Or let me know how I...
Results 1 to 18 of 18