Hi Ifernigrini,
I suggest the following solution:
1. Create a class stereotype called "temp table".
2. Create the "Oracle" language in the customized code generation templates (Settings -> Code generation templates). Take a look at an existing language template (for example, the C++ templates), so you can understand the basics for your Oracle templates.
Your will only need a File template that lists your classes...
-- DDL / PL/SQL
-- File: %fileName%
-- %eaDateTime%
%list="Class" @separator="\n"%
--
-- End of gen'd code
--
... a simple class template...
-- Version: %classVersion%
%WRAP_COMMENT(classNotes,genOptWrapComment,"","--
")%
-- %ClassBody%
... and a stereotype override for "temp table" at the Class Body level. Here's my stereo override for the "view" class stereotype:
CREATE OR REPLACE VIEW %className%
AS
%opBehaviour%
;
You will probably not need the opBehaviour for what your want.
3. In the diagram, do a Ctrl + G in the temp table class, fill in the file you want to generate, and be sure to specify Oracle as the language.
As stated in previous forum contributions, there is a learning curve involved in using customized templates, but this is the way to unleash EA's power. And it certainly has helped me to model, document and maintain hundreds of objects that are not currently supported (views, stereotypes, START scripts...).
Hope it helps,
Jaime