I think it turns out that it is looking for the persistence.xml... not 100% as still get warnings?
Database changed
mysql> show tables;
+-------------------+
| Tables_in_marktwo |
+-------------------+
| DYNAMIC_EMP |
+-------------------+
1 row in set (0.00 sec)
mysql> select * from dynamic_emp;
+-----------+--------+--------+--------+
| EMP_ID | F_NAME | L_NAME | SALARY |
+-----------+--------+--------+--------+
| 111222333 | Doug | Clarke | 0 |
+-----------+--------+--------+--------+
1 row in set (0.00 sec)
mysql>
So far i am liking Eclipselink....
i am however getting a warning when i run this test to both create the entity and persist ?
Jul 7, 2008 9:56:32 PM org.eclipse.persistence.session.file:/Users/home/workspace/yggdrasil/on_server/marktwo/marktwo-ejb/dist/marktwo-ejb.jar-marktwo-ejbPU.transaction
WARNING: PersistenceUnitInfo marktwo-ejbPU has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored
Jul 7, 2008 9:56:32 PM org.eclipse.persistence.session.file:/Users/home/workspace/yggdrasil/on_server/marktwo/marktwo-ejb/dist/marktwo-ejb.jar-marktwo-ejbPU
INFO: EclipseLink, version: Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080625)
Jul 7, 2008 9:56:32 PM org.eclipse.persistence.session.file:/Users/home/workspace/yggdrasil/on_server/marktwo/marktwo-ejb/dist/marktwo-ejb.jar-marktwo-ejbPU
INFO: Server: unknown
Jul 7, 2008 9:56:32 PM org.eclipse.persistence.session.file:/Users/home/workspace/yggdrasil/on_server/marktwo/marktwo-ejb/dist/marktwo-ejb.jar-marktwo-ejbPU
INFO: file:/Users/home/workspace/yggdrasil/on_server/marktwo/marktwo-ejb/dist/marktwo-ejb.jar-marktwo-ejbPU login successful
any ideas would be appreciated...
thanks,
-lachlan