What do you think about this idea:
> I want to register the actions (SQL statements) that a client makes on a DBMS (a
> sort of Log file).
> I have read that a bean cannot access file and directory via java.io package so I
> cannot register these actions
> in a file. A chance could be to declare a class SQLStatement
>
> public class SQLStatement {
>     public String SELECT;
>     public String FROM;
>     public String WHERE;
>  ...
> }
>
> or something of similar.
> The session bean could maintain a Vector of SQL statement, so when the client makes
> a DB call, the session bean does:
>
> Vector stat = new Vector();
> ....
> SQLStatement sqlstat = new SQLStatement (......);
> stat.add(sqlstat);
>
> In such a way the information about the actions of the client is serialized when it
> occurs. A question: serialized = persistent???
>
> If I want to register the sequence of action performad (SQL stat) in DB what
> structure can I use?
>
> I hope I'm not annoying you.
> I will be very grateful if you will answer me, it's very important for my studies.
> Thank you very much!
> Domenico

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to