facebook

Update persistence.xml

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #284369 Reply

    wymgaz
    Member

    When ‘Generating Entities & DAOs’ (JPA Reverse Engineering), I would like to be able to request the generated persistence.xml file be created with a jndi datasource and also be able to specify particular properties for the Persistence Provider I am using (whether it be Hibernate or Toplink).

    Currently this choice is not offered when reverse engineering within from a Web Project and if I am to deploy my web project to an application server and I want it to use a datasource, I need to modify the persistence.xml manually adding a jta-data-dource or non-jta-data-source and any persistence provider properties manually.

    Alternatively, I would like a better interface for modifying the persistence.xml after it has been created. So it shows the possible Persistence Providers and the properties which can be set for them. Allowing the user to update those details, and jta datasource details as well.

    Regards

    Matt Gaunt

    #284386 Reply

    Loyal Water
    Member

    Matt.
    I’ll make a note of this. Thank you for your feedback.

    #293006 Reply

    guyr
    Member

    This message has not been recovered.

    #316635 Reply

    Glenn Puckett
    Participant

    I see that this feature request has been on the list since 2008. Here it is 2011 and still the reverse engineering does not support JTA. I reverse engineered a fairly complex database structure and was able to develop and test my application. Now that it is time to put it into production I have to change to JTA and DataSource to enable connection pooling and I find there is no support for that. I have tried to do it manually and all I get is errors. I have been researching the problem both in the manuals and on message boards for days and cannot find a solution.

    Why is this so difficult and why has such an obvious functionality been left out of MyEclipse for so many years?

    #316636 Reply

    Glenn Puckett
    Participant

    I see that this feature request has been on the list since 2008. Here it is 2011 and still the reverse engineering does not support JTA. I reverse engineered a fairly complex database structure and was able to develop and test my application. Now that it is time to put it into production I have to change to JTA and DataSource to enable connection pooling and I find there is no support for that. I have tried to do it manually and all I get is errors. I have been researching the problem both in the manuals and on message boards for days and cannot find a solution.

    Why is this so difficult and why has such an obvious functionality been left out of MyEclipse for so many years?

    #316637 Reply

    Glenn Puckett
    Participant

    I see that this feature request has been on the list since 2008. Here it is 2011 and still the reverse engineering does not support JTA. I reverse engineered a fairly complex database structure and was able to develop and test my application. Now that it is time to put it into production I have to change to JTA and DataSource to enable connection pooling and I find there is no support for that. I have tried to do it manually and all I get is errors. I have been researching the problem both in the manuals and on message boards for days and cannot find a solution.

    Why is this so difficult and why has such an obvious functionality been left out of MyEclipse for so many years?

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Update persistence.xml

You must be logged in to post in the forum log in