Comments on: ADF 11g : Log Data Manipulation https://technology.amis.nl/2011/01/06/adf-11g-log-data-manipulation/ Friends of Oracle and Java Wed, 24 Jun 2015 09:59:44 +0000 hourly 1 http://wordpress.org/?v=4.2.2 By: gb https://technology.amis.nl/2011/01/06/adf-11g-log-data-manipulation/#comment-6481 Fri, 10 Feb 2012 16:24:45 +0000 http://technology.amis.nl/blog/?p=10146#comment-6481 Hi,
getEntityDef().getSource() should give the dbobject name

]]>
By: Erdenebayar Erdenebileg https://technology.amis.nl/2011/01/06/adf-11g-log-data-manipulation/#comment-6480 Tue, 01 Nov 2011 11:21:48 +0000 http://technology.amis.nl/blog/?p=10146#comment-6480 Hello,
Thank you providing good article. I have question. How can i get Table Name from entity definition? [code]like : getEntityDef().getTableName()[/code]
I think, Entity object have DBObjectName attribute.
Thank you,
Erdenebayar

]]>
By: Aino Andriessen https://technology.amis.nl/2011/01/06/adf-11g-log-data-manipulation/#comment-6479 Sun, 09 Jan 2011 15:40:26 +0000 http://technology.amis.nl/blog/?p=10146#comment-6479 Hi,
 
ODL handles logmessages done by java.util.logging (jul).. Use JUL, or even better use a wrapper like SLF4J. Configuration is done via the console (or in the logging.xml file on the server) and has immediate effect, no restart required  :-).
 
Ciao
Aino

]]>
By: Lucas Jellema https://technology.amis.nl/2011/01/06/adf-11g-log-data-manipulation/#comment-6478 Fri, 07 Jan 2011 15:50:33 +0000 http://technology.amis.nl/blog/?p=10146#comment-6478 OK, you are right of course. It was just a first investigation into how to tap into the DML operations. Well, you know me. I always want more…

I am looking forward to the next step that you are hinting at.

Lucas

]]>
By: Luc Bors https://technology.amis.nl/2011/01/06/adf-11g-log-data-manipulation/#comment-6477 Fri, 07 Jan 2011 11:32:37 +0000 http://technology.amis.nl/blog/?p=10146#comment-6477 Lucas, What I describe here is a way to gather information about the DML. What you do with that info is totally up to you 😉 I will look into (maybe together with Michel) how we can hook up with Diagnostics Framework. I can use Log4J, or better, I should use Log4J for configuration, and writing log lines. One other thing I’ve been thinking of is to use a properties file for configuring what entities need logging. So, this is a start and there’s a lot more to look into. Maybe a new post within the next month

]]>
By: Lucas Jellema https://technology.amis.nl/2011/01/06/adf-11g-log-data-manipulation/#comment-6476 Fri, 07 Jan 2011 11:25:20 +0000 http://technology.amis.nl/blog/?p=10146#comment-6476 Hi Luc,

Thanks for your article. I was wondering: can you easily hook the logging information into the logging facilities (Diagnostics Framework) of WebLogic Server? Instead of writing to the console? And I suppose it would be convenient to be able to dynamically switch on or off this fine grained logging. Would you use Log4j or similar for that? Would it make sense to disinguish different sessions in the logging? (otherwise, logging from different threads would mix and clash).

Lucas

]]>