Another option may be to create a "fixed-name" view or alias over your
existing table and then use that fixed-name within your JPA app.  For
example, to create an alias with DB2:

CREATE ALIAS JPATBLALIAS FOR * <<CONSTANT>> appended by <<YYYY_MM_DD>>*;

Depending on how your new table gets created each day, you may be able
to modify your process to automatically drop the old and create a new
alias.

-Jeremy

Reply via email to