EJB programming & troubleshooting: How to Map Entity Bean to dynamic table name?
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.
- Posted by: Apollo Yang
- Posted on: August 15 2008 11:44 EDT
with CMP it is not possible. A BMP will help in this situation.