Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    496

    Corrections... i am using it like- ...

    Corrections... i am using it like-

    criteria.getTasks().clear();
    criteriaDao.flush();
    criteria.getTasks().addAll(tasks);

    My bad for ignoring that comment...
  2. Replies
    4
    Views
    496

    I could get this fixed by adding a line between:...

    I could get this fixed by adding a line between:
    for (Task task : existingTasks) {
    task.setCriteria(null);
    }
    => session.flush();
    criteria.setTasks(tasks);

    This makes...
  3. Replies
    4
    Views
    496

    Error updating @OneToMany mapping

    Hi All,
    I am stuck at a point where i am trying to update a @OneToMany mapping.

    Problem:
    I have 2 entities: Criteria and Tasks. A criteria can contain multiple tasks.



    class Criteria {
    ...
  4. Issue while using EmbeddedDatabaseFactoryBean

    I am using spring/hibernate and trying to setup junit using HSQL DB. I ran into an issue when some of the oracle specific syntax are not recognized in HSQL. I know the solution is to set property...
  5. Replies
    4
    Views
    34,333

    See the post:...

    See the post: http://springwstemplatejax2bxmlrootmissing.blogspot.com/
  6. Replies
    4
    Views
    34,333

    SpringWebServiceTemplate @XmlRootElement missing problem

    If you are using SpringWebService template and getting error "missing an @XmlRootElement annotation" from the generated JAXB objects. Please check out here how I could fix it:...
  7. I doubt if you are using classes of hibernate2...

    I doubt if you are using classes of hibernate2 and hibernate2. Can you plz verify in your hibernate configurations that you did not use *hibernate.* as it looks like you intend to use hibernate3. If...
  8. Replies
    17
    Views
    1,382

    Can you please post your web.xml, my guess is...

    Can you please post your web.xml, my guess is probably the applicationContext is not initialized before IndexController is initialized.
    Do you initialize ContextLoaderListener through your web.xml.?
  9. Please make sure you have jta.jar in your...

    Please make sure you have jta.jar in your classpath.
  10. Replies
    3
    Views
    637

    Thanks for the reply. I just read it, earlier i...

    Thanks for the reply. I just read it, earlier i didnt understand spring transaction management properly.
  11. Replies
    3
    Views
    637

    Any help is appreciated.!

    Any help is appreciated.!
  12. Replies
    7
    Views
    2,892

    Hi, There is no direct recommendation for using...

    Hi,
    There is no direct recommendation for using hibernate bottom-up or top-down, it all depends and varies according to the project. If you have an existing Db schema, you would always like to...
  13. Replies
    3
    Views
    637

    Spring Hibernate Transaction

    Hi,
    I need a help regarding managing transaction. I am using spring/hibernate. I have following layers-
    * Web Service Endpoint
    * Business Service
    * DAO

    I extend HibernateDaoSupport in my...
Results 1 to 13 of 13