May 4th, 2011, 08:04 AM
Generating DAOs Dynamically
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)
Platform : Generic
EclipseLink1.1.x --(i used this)
EclipseLink1.1.x --(choosing this)
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.