6.Create a DaliDemo project:
•
Create java project in Eclipse called “DaliDemo”.
•
Switch to Java Persistence Perspective.
•
In the “Database Explorer” Dialog, right click “Connections”
“NewConnection”. Should see “New Connection” Dialog, use JDBC toconnect to your database, I give the example for MySQL: