Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Hi Marten, Could you please elaborate your...

    Hi Marten,
    Could you please elaborate your suggestion....
  2. How to execute SQL Script at server startup?

    Hi,

    Currently i am working on a project which uses Struts, Spring, IBatis and MySQL.

    We have SQL Scripts which contains tables creation, foreign key constraints, seed data insertion statements....
  3. hI, Earlier me also got the same error because...

    hI,
    Earlier me also got the same error because of XSD problem.

    Put the XSD as it is in the Spring.jar file.

    If you open up the spring.jar, there is a spring.schemas file in META-INF folder....
  4. Well suited platform for Form-Centric applications

    Hi ,

    Recently i googled to get a list of open source shopping cart and forum/blog applications. For these kind of Form-Centric applications PHP is used heavily rather than J2EE.

    Of course...
  5. Replies
    4
    Views
    1,382

    Are we in a right direction with RIA?

    Hi All,
    Recently the word 'RIA' becomes a buzz word in the java community.
    To my understanding RIA means the applications with the unified User Interface which is will be the gateway for several...
  6. Try using persist() method instead of save()

    Hi,
    When you create an object and set the primary key value which is already exists in the database, and then call save() method passing that object results in the DataIntegrityViolationException.
    ...
  7. how to inject dependencies to StartupServlet

    Hi,
    I am using Struts, Spring and IBatis for my project. Now i want to have a StartupServlet which loads the static data from the database at the startup time of the application.

    For that i have...
  8. Thanks for your valuable suggestion.....

    Thanks for your valuable suggestion.....
  9. Replies
    2
    Views
    2,461

    Hi, The above said configuration is not working...

    Hi,
    The above said configuration is not working saying that..

    Could not find a getter for user in class com.hibernatesample.part1.Address

    Please see the code and configuration below:
  10. Replies
    17
    Views
    2,684

    Hi, Suppose your Service class is as follows: ...

    Hi,
    Suppose your Service class is as follows:



    public class ServiceFacadeImpl implements ServiceFacade
    {
    private UserDAO userDAO = null;
    private AddressDAO addressDAO = null;
    ...
  11. Replies
    17
    Views
    2,684

    Hi, Thanks for ur help. Its working fine for me.

    Hi,
    Thanks for ur help.
    Its working fine for me.
  12. Replies
    17
    Views
    2,684

    Hi, What u said is correct. I am throwing...

    Hi,
    What u said is correct. I am throwing checked exception, thats the problem.

    Thank you very much.
  13. Replies
    17
    Views
    2,684

    Transaction Handling across DAOs

    I am using the following configuration.


    <tx:advice id="txAdvice" transaction-manager="transactionManager">
    <tx:attributes>
    <tx:method name="get*" read-only="true"/>
    <tx:method name="*"/>...
  14. Replies
    2
    Views
    2,461

    Hibernate one-to-one mapping

    Hi ,
    Can anybody help me out how to do the OR Mapping for the following with Hibernate.

    Table Users:
    Users(int user_id, varchar username)
    user_id is primary key and auto increment column.

    ...
  15. Replies
    17
    Views
    2,684

    Hi, I am not using Annotations for Transaction...

    Hi,
    I am not using Annotations for Transaction Management. I am trying to do it with xml configuration. I Think it is possible to handle transaction management with XML configuration alone.
  16. Why AbstractTransactionalSpringContextTests are not rollbacking without super.setUp()

    Hi,
    Can anyone explain me why my AbstractTransactionalSpringContextTests are not rollbacking unless i called super.onSetup() method in onSetUp()?

    I am instantiating my service class in onSetUp()...
  17. Replies
    17
    Views
    2,684

    Transaction Handling across DAOs

    Hi,
    Thanks for your reply.
    So can i handle the transactions with the following configuration?

    <tx:advice id="txAdvice" transaction-manager="transactionManager">
    <tx:attributes>...
  18. Replies
    17
    Views
    2,684

    Transaction Handling across DAOs

    Hi All,

    In my application, i have a DAO, say UserDAO, has a createUser() method which insert one row into users_master table and one row in user_addresses table in the same method. In this...
  19. Replies
    2
    Views
    856

    JPA Performance

    Hi All,

    All the ORM frameworks use JDBC internally. So If i am going to use Hibernate, hibernate translates the HQL queries into JDBC queries and then it will execute them. So one level of...
  20. Case sensitive comparision with Hibernate and MySQL

    Hi,
    I want to compare the user credentials against the database values in case sensitive manner. I am using MySQL database which performs where clause condition evaluation in case insensitive way.
    ...
  21. The following is the testcase. I haven't called...

    The following is the testcase. I haven't called any transaction committing methods.

    public class CustomerAccountDaoTests extends AbstractTransactionalSpringContextTests
    {
    private...
  22. Problem in running tests with AbstractTransactionalSpringContextTests, IBatis and DB2

    Hi,
    I am using Spring, IBatis and DB2 for my project. Now I am writing test cases for testing my persistence layer using AbstractTransactionalSpringContextTests. But when i called the insert...
  23. Replies
    2
    Views
    741

    Hi, May be the problem is with...

    Hi,
    May be the problem is with cascade="all-delete-orphan".

    Try cascade="all".
  24. Thanks for your reply. It works fine.

    Thanks for your reply.
    It works fine.
  25. Why formBackingObject() method is being called when submitting form?

    Hi,
    When using SimpleFormController, the formBackingObject() method is called to prepare the Command object which contains the data to be displayed in the form.
    But once i modified the values in...
Results 1 to 25 of 27
Page 1 of 2 1 2