<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Automatically Populating Audit Columns in Hibernate</title>
	<atom:link href="http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 03:57:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: nix</title>
		<link>http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate/comment-page-1#comment-58570</link>
		<dc:creator>nix</dc:creator>
		<pubDate>Wed, 06 Aug 2008 10:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate#comment-58570</guid>
		<description>This seems like a really great advantage. Can you please post a simple demo application demonstrating the above example? Doing this would greatly help a novice like me. Thank you very much in advance.</description>
		<content:encoded><![CDATA[<p>This seems like a really great advantage. Can you please post a simple demo application demonstrating the above example? Doing this would greatly help a novice like me. Thank you very much in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Basil Vandegriend</title>
		<link>http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate/comment-page-1#comment-49473</link>
		<dc:creator>Basil Vandegriend</dc:creator>
		<pubDate>Sat, 19 Apr 2008 20:41:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate#comment-49473</guid>
		<description>I&#039;m going to assume that you have a EJB Session Bean representing some service that a client application on a user&#039;s desktop is communicating with.

At the initiation of processing within the session bean, you can store the user&#039;s identity within the ThreadLocal and then the AuditInterceptor will do its magic.

The hard question is how do you obtain the user&#039;s identity within the EJB Session Bean? This question applies equally, however, to the scenario where you manually set the audit columns instead of using AuditInterceptor - you still need to have the user&#039;s identity. You can either manage security manually and pass in the user&#039;s identity to the session bean method, or use the security provided by the application server.</description>
		<content:encoded><![CDATA[<p>I&#8217;m going to assume that you have a EJB Session Bean representing some service that a client application on a user&#8217;s desktop is communicating with.</p>
<p>At the initiation of processing within the session bean, you can store the user&#8217;s identity within the ThreadLocal and then the AuditInterceptor will do its magic.</p>
<p>The hard question is how do you obtain the user&#8217;s identity within the EJB Session Bean? This question applies equally, however, to the scenario where you manually set the audit columns instead of using AuditInterceptor &#8211; you still need to have the user&#8217;s identity. You can either manage security manually and pass in the user&#8217;s identity to the session bean method, or use the security provided by the application server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate/comment-page-1#comment-49406</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Fri, 18 Apr 2008 15:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.basilv.com/psd/blog/2008/automatically-populating-audit-columns-in-hibernate#comment-49406</guid>
		<description>Great tip. What would you suggest when you are updating some entity that was handed to you remotely through the remote interface of an EJB?

I&#039;d love to use this style of interceptor, but I can&#039;t use a ThreadLocal when the user is in a JVM on a desktop client somewhere far away.</description>
		<content:encoded><![CDATA[<p>Great tip. What would you suggest when you are updating some entity that was handed to you remotely through the remote interface of an EJB?</p>
<p>I&#8217;d love to use this style of interceptor, but I can&#8217;t use a ThreadLocal when the user is in a JVM on a desktop client somewhere far away.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

