<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog de Xapiens &#187; postgresql</title>
	<atom:link href="http://blogs.xendra.org/xapiens/category/postgresql/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.xendra.org/xapiens</link>
	<description>blog sobre software libre y otras vainas</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:49:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Xalos  &#8211; utilidades de conexion a PostgreSQL</title>
		<link>http://blogs.xendra.org/xapiens/2012/02/01/xalos-utilidades-de-conexion-a-postgresql/</link>
		<comments>http://blogs.xendra.org/xapiens/2012/02/01/xalos-utilidades-de-conexion-a-postgresql/#comments</comments>
		<pubDate>Thu, 02 Feb 2012 03:42:31 +0000</pubDate>
		<dc:creator>xapiens</dc:creator>
				<category><![CDATA[postgresql]]></category>
		<category><![CDATA[xalos]]></category>
		<category><![CDATA[xalos LibreOffice OpenOffice]]></category>

		<guid isPermaLink="false">http://blogs.xendra.org/xapiens/?p=232</guid>
		<description><![CDATA[ahora ando full exportando desde jasper, la idea es hacer un plugin que permita hacerlo de forma transparente, lidiando con java y C y los xml forms veo que la unica forma viable de hacer cosas en LibreOffice es mediante su star basic script. a continuacion lo que desarrolle y encontre con respecto a conectarme [...]]]></description>
			<content:encoded><![CDATA[<p>ahora ando full exportando desde jasper, la idea es hacer un plugin que permita hacerlo de forma transparente, lidiando con java y C y los xml forms veo que la unica forma viable de hacer cosas en LibreOffice es mediante su star basic script.</p>
<p>a continuacion lo que desarrolle y encontre con respecto a conectarme a PostgreSQL</p>
<p><code><br />
Dim sURL 		 as String<br />
Public SQLKeywords  as String<br />
Dim InfoProperties(6) as New com.sun.star.beans.PropertyValue<br />
Public oConnection  as Object</code></p>
<p><code>Function Connect() as Boolean<br />
if isnull (oConnection) then<br />
Dim driverManager As Object<br />
driverManager = CreateUnoService("com.sun.star.sdbc.DriverManager")<br />
'Fill the Info-Array of the DataSource with extra Values<br />
sURL = "jdbc:postgresql://" &amp; dbserver &amp; ":" &amp; dbport &amp; "/" &amp; dbname<br />
InfoProperties(0).Name = "AutoIncrementCreation"<br />
InfoProperties(0).Value = ""<br />
InfoProperties(1).Name = "AutoRetrievingStatement"<br />
InfoProperties(1).Value = ""<br />
InfoProperties(2).Name = "EnableSQL92Check"<br />
InfoProperties(2).Value = False<br />
InfoProperties(3).Name = "IsAutoRetrievingEnabled"<br />
InfoProperties(3).Value = False<br />
InfoProperties(4).Name = "JavaDriverClass"<br />
InfoProperties(4).Value = "org.postgresql.Driver"<br />
InfoProperties(5).Name = "user"<br />
InfoProperties(5).Value = dbuser<br />
InfoProperties(6).Name = "password"<br />
InfoProperties(6).Value = dbpwd<br />
oConnection = driverManager.getConnectionWithInfo( sURL, InfoProperties() )<br />
SQLKeywords = oConnection.getMetaData().getSQLKeywords()<br />
else<br />
rem oConnection.dispose<br />
End if<br />
Connect = true<br />
End Function</p>
<p></code></p>
<p><code>Function getDBValueString (oSql as String) as String<br />
Dim oRowSet as Object<br />
Dim qcount<br />
Connect()<br />
oRowSet = createUnoService("com.sun.star.sdb.RowSet")<br />
oRowSet.activeConnection = oConnection<br />
oRowSet.Command = oSql<br />
oRowSet.execute<br />
qcount = oRowSet.getPropertyValue("RowCount")<br />
if oRowSet.next() then<br />
getDBValueString = oRowSet.getString(1)<br />
else<br />
getDBValueString = ""<br />
end if<br />
oRowSet.close<br />
End Function<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.xendra.org/xapiens/2012/02/01/xalos-utilidades-de-conexion-a-postgresql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PodCast 01 con Jean Paul Argudo</title>
		<link>http://blogs.xendra.org/xapiens/2008/07/23/podcast-01-con-jean-paul-argudo/</link>
		<comments>http://blogs.xendra.org/xapiens/2008/07/23/podcast-01-con-jean-paul-argudo/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 11:05:25 +0000</pubDate>
		<dc:creator>xapiens</dc:creator>
				<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://blog.xendra.org/?p=3</guid>
		<description><![CDATA[Entrevista con Jean Paul Argudo sobre Postgresql para la comunidad de Postgresql Peru. Jean Paul Argudo es uno de los fundadores de la comunidad de Postgresql en Francia, y conversamos sobre temas diversos, como hacer negocios con codigo libre, la comunidad. como se inicio la comunidad en Francia y opiniones sobre IBM y su inversion [...]]]></description>
			<content:encoded><![CDATA[<p>Entrevista con Jean Paul Argudo sobre Postgresql para la comunidad de Postgresql Peru.</p>
<p>Jean Paul Argudo es uno de los fundadores de la comunidad de Postgresql en Francia, y conversamos sobre temas diversos, como hacer negocios con codigo libre, la comunidad. como se inicio la comunidad en Francia y opiniones sobre IBM y su inversion en Postgresql.</p>
<p><a href="http://www.mypodcast.com/fsaudio/postgresqlpe_20080520_0008-232814.mp3" rel="shadowbox[post-20];player=flv;width=500;height=0;">podcast</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.xendra.org/xapiens/2008/07/23/podcast-01-con-jean-paul-argudo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

