Hi guys, I am developing a simple application and got a doubt....

I have two Entity beans (I am using CMP):
    + Employee (id[PK], name, ...)
    + Job          (id[PK], name, ...)

The relation between this two beans are M:N so when I created a relational 
databse I gotted the three follow tables:
- Employee (id[PK], name, ...)
- Job (id[PK], name, ...)
- WorkDone(employee_id, job_id, date)

When I create a relation between employee and Job the WorkDone table receive 
the both ids, but I also need to  insert the current DATE into the table!?!? I 
need to use JDBC or are there some thing specific to do it?!?!

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892143#3892143

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892143


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to