How to Map Entity Bean to dynamic table name?

Discussions

EJB programming & troubleshooting: How to Map Entity Bean to dynamic table name?

  1. How to Map Entity Bean to dynamic table name? (2 messages)

    I want to map the entity bean to different table in different time. For example, I want to map the log entity to table 'Log20080815' today, and map to table 'Log20080816' tomorrow. The new table will be created automatically. How to do it in EJB3? I have googled it, but didn't find any solution.
  2. with CMP it is not possible. A BMP will help in this situation.
  3. check this http://bill.burkecentral.com/2008/01/14/scanning-java-annotations-at-runtime/