<?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: Thoughts on jPersist</title>
	<atom:link href="http://www.codecommit.com/blog/java/thoughts-on-jpersist/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codecommit.com/blog/java/thoughts-on-jpersist</link>
	<description>(permanently in beta)</description>
	<lastBuildDate>Sun, 29 Aug 2010 20:01:44 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel Spiewak</title>
		<link>http://www.codecommit.com/blog/java/thoughts-on-jpersist/comment-page-1#comment-2828</link>
		<dc:creator>Daniel Spiewak</dc:creator>
		<pubDate>Sun, 03 Feb 2008 08:56:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/thoughts-on-jpersist#comment-2828</guid>
		<description>Sorry, Olivier, but I haven&#039;t really touched it since I wrote the article.  I suggest you contact the originator, David Bulmore (see preceding comment) for more assistance.</description>
		<content:encoded><![CDATA[<p>Sorry, Olivier, but I haven&#8217;t really touched it since I wrote the article.  I suggest you contact the originator, David Bulmore (see preceding comment) for more assistance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivier</title>
		<link>http://www.codecommit.com/blog/java/thoughts-on-jpersist/comment-page-1#comment-2827</link>
		<dc:creator>Olivier</dc:creator>
		<pubDate>Sun, 03 Feb 2008 08:18:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/thoughts-on-jpersist#comment-2827</guid>
		<description>Hi Daniel,

I came across jPersist very recently. From their example everything look nice and easy. But I when I tried to map tables with name different from the classes (using the interfaces TableMapping and ColumnMapping) I could&#039;nt figure out a way to make it run properly.
I was wondering if you were still playing with it or not?

By the way, carry on with the scala series...very interesting.

Olivier</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>I came across jPersist very recently. From their example everything look nice and easy. But I when I tried to map tables with name different from the classes (using the interfaces TableMapping and ColumnMapping) I could&#8217;nt figure out a way to make it run properly.<br />
I was wondering if you were still playing with it or not?</p>
<p>By the way, carry on with the scala series&#8230;very interesting.</p>
<p>Olivier</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Bulmore</title>
		<link>http://www.codecommit.com/blog/java/thoughts-on-jpersist/comment-page-1#comment-2510</link>
		<dc:creator>David Bulmore</dc:creator>
		<pubDate>Thu, 15 Nov 2007 19:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.codecommit.com/blog/java/thoughts-on-jpersist#comment-2510</guid>
		<description>Hi Daniel,

This is along the lines of the two dzone readers who down voted my article because they we friends of yours.  Of course everyone shot me down for complaining, but the reality is that it&#039;s not cool (along the same line as sportsmanship and being polite), and I would not do the same to you.

I have a few corrections for you:

o The passing items via a constructor or calling several setters is a matter of preference (I prefer constructors and less lines of code), but this is an example not real world.
o You missed the part about extending PersistentObject, which allows jPersist to track an object to a row in the database, as well as, tracking the state of persistence.
o With jPersist loading and inserting makes an object persistent (providing it extends PersistentObject), and this ties an object to a row in the database.
o I chose this implementation because I wanted to be able to work with POJOS, as well as, persistent objects.
o It’s also possible to extend jpersist.Database, in which case you are highly coupled to the database (I don’t document that).
o The internal iterator is simply a wrapper around a JDBC ResultSet that allows you to traverse the database (if you consider ResultSet an internal iterator).
o jpersist.Database wraps Connection, Statement and ResultSet functionality.  The jpersist.Database also has a clone() method which keeps the connection but uses new Statement and ResultSet objects.  This allows you to perform multiple queries with the same connection, so you’re not just limited to one query.
o I did not implement an SQL derivative.  It is not a framework-specific query language.  The only thing going on there is with “:attribute” which is replaced with the column name; the where clause is then added to the SQL statement being built and passed to a prepared statement.
o Yes I did want to support Java 1.4, because I believe there are still a lot of Java 4 users, and I am working on a Java 5+ version.
o If I am avoiding XML and annotations, does it not make sense that I would have a different scheme for handling associations?</description>
		<content:encoded><![CDATA[<p>Hi Daniel,</p>
<p>This is along the lines of the two dzone readers who down voted my article because they we friends of yours.  Of course everyone shot me down for complaining, but the reality is that it&#8217;s not cool (along the same line as sportsmanship and being polite), and I would not do the same to you.</p>
<p>I have a few corrections for you:</p>
<p>o The passing items via a constructor or calling several setters is a matter of preference (I prefer constructors and less lines of code), but this is an example not real world.<br />
o You missed the part about extending PersistentObject, which allows jPersist to track an object to a row in the database, as well as, tracking the state of persistence.<br />
o With jPersist loading and inserting makes an object persistent (providing it extends PersistentObject), and this ties an object to a row in the database.<br />
o I chose this implementation because I wanted to be able to work with POJOS, as well as, persistent objects.<br />
o It’s also possible to extend jpersist.Database, in which case you are highly coupled to the database (I don’t document that).<br />
o The internal iterator is simply a wrapper around a JDBC ResultSet that allows you to traverse the database (if you consider ResultSet an internal iterator).<br />
o jpersist.Database wraps Connection, Statement and ResultSet functionality.  The jpersist.Database also has a clone() method which keeps the connection but uses new Statement and ResultSet objects.  This allows you to perform multiple queries with the same connection, so you’re not just limited to one query.<br />
o I did not implement an SQL derivative.  It is not a framework-specific query language.  The only thing going on there is with “:attribute” which is replaced with the column name; the where clause is then added to the SQL statement being built and passed to a prepared statement.<br />
o Yes I did want to support Java 1.4, because I believe there are still a lot of Java 4 users, and I am working on a Java 5+ version.<br />
o If I am avoiding XML and annotations, does it not make sense that I would have a different scheme for handling associations?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
