<?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: How to setup a mysql data source for Persevere</title>
	<atom:link href="http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/feed/" rel="self" type="application/rss+xml" />
	<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/</link>
	<description>projects, programming, blogging...</description>
	<lastBuildDate>Tue, 27 Dec 2011 00:01:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Antonio Fentanes</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-283</link>
		<dc:creator>Antonio Fentanes</dc:creator>
		<pubDate>Mon, 11 Oct 2010 06:37:56 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-283</guid>
		<description>Hi, i have a question.

Any idea to avoid this exception?
java.lang.RuntimeException: No new unique key was generated from creating a new object
i have a my sql table with primary  non incremental key
i hope you can helpme
thanks</description>
		<content:encoded><![CDATA[<p>Hi, i have a question.</p>
<p>Any idea to avoid this exception?<br />
java.lang.RuntimeException: No new unique key was generated from creating a new object<br />
i have a my sql table with primary  non incremental key<br />
i hope you can helpme<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yww</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-99</link>
		<dc:creator>yww</dc:creator>
		<pubDate>Thu, 15 Apr 2010 11:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-99</guid>
		<description>hi , neyric

Thanks!
Can I add a new column in the web(explorer.html) without modify the config or database?

This can be?
Persevere support to add new column  ?

Persevere whether support to add new column in the web?explorer.html??</description>
		<content:encoded><![CDATA[<p>hi , neyric</p>
<p>Thanks!<br />
Can I add a new column in the web(explorer.html) without modify the config or database?</p>
<p>This can be?<br />
Persevere support to add new column  ?</p>
<p>Persevere whether support to add new column in the web?explorer.html??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neyric</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-98</link>
		<dc:creator>neyric</dc:creator>
		<pubDate>Thu, 15 Apr 2010 09:27:17 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-98</guid>
		<description>@yww : you either don&#039;t have this column in the database or in the &quot;datacolumns&quot; of your config...</description>
		<content:encoded><![CDATA[<p>@yww : you either don&#8217;t have this column in the database or in the &#8220;datacolumns&#8221; of your config&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yww</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-97</link>
		<dc:creator>yww</dc:creator>
		<pubDate>Thu, 15 Apr 2010 08:55:03 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-97</guid>
		<description>Hi , neyric

i use mysql. success! but ,Have a  wrong When I set column!

my error:
Error: Unable to load /persevere1.0/userstest123/1 status:500

??: java.lang.RuntimeException: java.lang.RuntimeException: The column sex is
not registered as a valid column in this table

help me ! Thanks!!</description>
		<content:encoded><![CDATA[<p>Hi , neyric</p>
<p>i use mysql. success! but ,Have a  wrong When I set column!</p>
<p>my error:<br />
Error: Unable to load /persevere1.0/userstest123/1 status:500</p>
<p>??: java.lang.RuntimeException: java.lang.RuntimeException: The column sex is<br />
not registered as a valid column in this table</p>
<p>help me ! Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yww</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-96</link>
		<dc:creator>yww</dc:creator>
		<pubDate>Wed, 14 Apr 2010 07:29:29 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-96</guid>
		<description>hi, my error :

2010-4-14 15:26:19 org.persvr.remote.PersevereFilter$DefaultHandler call waring: org.mozilla.javascript.EcmaError: AccessError: Writing to Customer/1 is not permitted, you do not have write permission

Why?   Thanks!!</description>
		<content:encoded><![CDATA[<p>hi, my error :</p>
<p>2010-4-14 15:26:19 org.persvr.remote.PersevereFilter$DefaultHandler call waring: org.mozilla.javascript.EcmaError: AccessError: Writing to Customer/1 is not permitted, you do not have write permission</p>
<p>Why?   Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronan</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-95</link>
		<dc:creator>Ronan</dc:creator>
		<pubDate>Sat, 20 Feb 2010 13:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-95</guid>
		<description>Hi.

I was wondering if there is a way to avoid the redundant &quot;sourceClass&quot; &quot;driver&quot; and &quot;connection&quot; info for each table.

Is there any way to inherit those properties ?

Thanks !</description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I was wondering if there is a way to avoid the redundant &#8220;sourceClass&#8221; &#8220;driver&#8221; and &#8220;connection&#8221; info for each table.</p>
<p>Is there any way to inherit those properties ?</p>
<p>Thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juri Urbainczyk</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-93</link>
		<dc:creator>Juri Urbainczyk</dc:creator>
		<pubDate>Fri, 15 Jan 2010 10:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-93</guid>
		<description>Hi,
the MySql JDBJ database driver file
has to be in the persevere/WEB-INF/lib directory and
*not* in persevere/lib
Cheers</description>
		<content:encoded><![CDATA[<p>Hi,<br />
the MySql JDBJ database driver file<br />
has to be in the persevere/WEB-INF/lib directory and<br />
*not* in persevere/lib<br />
Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-92</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Thu, 03 Dec 2009 07:58:18 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-92</guid>
		<description>It seems I can answer the second question myself:

dataColumns:[
...
],
&quot;schema&quot;:{
properties: {
nameOfObjectColumn: {lazy: false}
}
}</description>
		<content:encoded><![CDATA[<p>It seems I can answer the second question myself:</p>
<p>dataColumns:[<br />
...<br />
],<br />
&#8220;schema&#8221;:{<br />
properties: {<br />
nameOfObjectColumn: {lazy: false}<br />
}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-91</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Wed, 02 Dec 2009 10:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-91</guid>
		<description>This looks very promising, especially the binding of foreign keys:

sources: [
{
...
dataColumns: [
...
{
foreignSource:&quot;Name of foreign database data source&quot;,
databaseColumn:&quot;Name of foreign key column&quot;,
relationshipType:&quot;many-to-one&quot;,
objectColumn:&quot;Name of object property to map to&quot;
}
]
...
}]

Two question though:
- Is it possible to use inheritance with SQL sources, i.e. Table B inherits from Table A (Table B contains all fields of Table A plus its own)

- Is it possible to specify which references (to foreign rows) that should be automatically resolved (i.e. not lazy loaded)</description>
		<content:encoded><![CDATA[<p>This looks very promising, especially the binding of foreign keys:</p>
<p>sources: [<br />
{<br />
...<br />
dataColumns: [<br />
...<br />
{<br />
foreignSource:"Name of foreign database data source",<br />
databaseColumn:"Name of foreign key column",<br />
relationshipType:"many-to-one",<br />
objectColumn:"Name of object property to map to"<br />
}<br />
]<br />
&#8230;<br />
}]</p>
<p>Two question though:<br />
- Is it possible to use inheritance with SQL sources, i.e. Table B inherits from Table A (Table B contains all fields of Table A plus its own)</p>
<p>- Is it possible to specify which references (to foreign rows) that should be automatically resolved (i.e. not lazy loaded)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jamie</title>
		<link>http://neyric.com/2008/07/31/how-to-setup-a-mysql-data-source-for-persevere/#comment-90</link>
		<dc:creator>jamie</dc:creator>
		<pubDate>Wed, 02 Sep 2009 23:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://javascript.neyric.com/blog/?p=75#comment-90</guid>
		<description>I don&#039;t know if the driver has been changed recently but I got an error...decided not to read the jdbc documentation --- what a bad idea --- it took me ages to figure out i was getting no where

my error

Access denied for user ‘root’@&#039;localhost’ (using password: NO)

fixed line - change pass to password

“jdbc:mysql://localhost/myDatabase?user=myDbUser&amp;password=yourPasswordHere”</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if the driver has been changed recently but I got an error&#8230;decided not to read the jdbc documentation &#8212; what a bad idea &#8212; it took me ages to figure out i was getting no where</p>
<p>my error</p>
<p>Access denied for user ‘root’@&#8217;localhost’ (using password: NO)</p>
<p>fixed line &#8211; change pass to password</p>
<p>“jdbc:mysql://localhost/myDatabase?user=myDbUser&amp;password=yourPasswordHere”</p>
]]></content:encoded>
	</item>
</channel>
</rss>

