Announcement Announcement Module
Collapse
No announcement yet.
Generating DAOs Dynamically Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generating DAOs Dynamically

    Hi All,
    I need an urgent help on my project.Currently I'm trying to generate the entites and DAOs on a JPA project.But what ı succeed with JPA tools only the generation of entities.It didnt provideme the Hibernate platform.How can I make it suitable?Below are the steps I issue while creating the project.
    1.New JPA Project
    Target Runtime:SpringSource tc Server(Runtime)v6.0
    Configuration:Utility JPA project with java 5.0
    (these are default project options,i didnot change anything)
    2.JPA Facet
    Platform : Generic
    EclipseLink1.0.x
    EclipseLink1.1.x --(i used this)
    JPA implementation:
    EclipseLink1.1.x --(choosing this)
    User Library
    Disable Library Configuration
    defined the connection to the mysql datasource
    Persistance class management.
    Annotaed classes must be listed in persistence.xml
    3.with the help of the JPA Tools ı've generated the entities from tables.
    But after this point I could not figure out how can place the Hibernate choice for the platform choice.I tried to install the hibernate tools,but didnt suceed it also.
    I will be so glad if you provide me a sample link or some clue on this thread.
Working...
X