<?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: Play Framework + Oracle = EASY!</title>
	<atom:link href="http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/feed/" rel="self" type="application/rss+xml" />
	<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/</link>
	<description>&#34;When two men in business always agree, one of them is unnecessary.&#34; - William Wrigley Jr.</description>
	<lastBuildDate>Sun, 26 Feb 2012 16:43:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Hugo Monteiro</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-188</link>
		<dc:creator>Hugo Monteiro</dc:creator>
		<pubDate>Mon, 14 Nov 2011 16:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-188</guid>
		<description>Did you created the mybd db?

Changed the configuration:

# If you need a full JDBC configuration use the following :
&lt;del datetime=&quot;2011-11-14T16:29:10+00:00&quot;&gt;db.url=jdbc:oracle:thin@//localhost:1521:mybd&lt;/del&gt;
db.url=jdbc:oracle:thin@localhost:1521:mybd
db.driver=oracle.jdbc.driver.OracleDriver
db.user=myusername
db.pass=mypassword

# Specify the custom JPA dialect to use here (default to guess):
jpa.dialect=org.hibernate.dialect.OracleDialect


Let me know if you solve it.
Thanks.</description>
		<content:encoded><![CDATA[<p>Did you created the mybd db?</p>
<p>Changed the configuration:</p>
<p># If you need a full JDBC configuration use the following :<br />
<del datetime="2011-11-14T16:29:10+00:00">db.url=jdbc:oracle:thin@//localhost:1521:mybd</del><br />
db.url=jdbc:oracle:thin@localhost:1521:mybd<br />
db.driver=oracle.jdbc.driver.OracleDriver<br />
db.user=myusername<br />
db.pass=mypassword</p>
<p># Specify the custom JPA dialect to use here (default to guess):<br />
jpa.dialect=org.hibernate.dialect.OracleDialect</p>
<p>Let me know if you solve it.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-178</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Sun, 06 Nov 2011 10:43:38 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-178</guid>
		<description>I can&#039;t resolved ... Uhmmm, should not set something in the dependencies.yml ?? is correct, the driver I&#039;m using? 
Thanks!</description>
		<content:encoded><![CDATA[<p>I can&#8217;t resolved &#8230; Uhmmm, should not set something in the dependencies.yml ?? is correct, the driver I&#8217;m using?<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Monteiro</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-177</link>
		<dc:creator>Hugo Monteiro</dc:creator>
		<pubDate>Sun, 06 Nov 2011 03:09:41 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-177</guid>
		<description>Remove the // on the localhost word. It should work.</description>
		<content:encoded><![CDATA[<p>Remove the // on the localhost word. It should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-176</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Sun, 06 Nov 2011 03:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-176</guid>
		<description>Hello, I&#039;m tryng connect Play! with Oracle 11g ... i&#039;m used the jdbc driver ojdbc6dms.jar and these are conection parameters in application.conf:

# If you need a full JDBC configuration use the following :
db.url=jdbc:oracle:thin@//localhost:1521:mybd
db.driver=oracle.jdbc.driver.OracleDriver
db.user=myusername
db.pass=mypassword

# Specify the custom JPA dialect to use here (default to guess):
jpa.dialect=org.hibernate.dialect.OracleDialect

But, show me this error:

Database error
A database error occured : Cannot connected to the database, La dirección URL de Oracle especificada no es válida</description>
		<content:encoded><![CDATA[<p>Hello, I&#8217;m tryng connect Play! with Oracle 11g &#8230; i&#8217;m used the jdbc driver ojdbc6dms.jar and these are conection parameters in application.conf:</p>
<p># If you need a full JDBC configuration use the following :<br />
db.url=jdbc:oracle:thin@//localhost:1521:mybd<br />
db.driver=oracle.jdbc.driver.OracleDriver<br />
db.user=myusername<br />
db.pass=mypassword</p>
<p># Specify the custom JPA dialect to use here (default to guess):<br />
jpa.dialect=org.hibernate.dialect.OracleDialect</p>
<p>But, show me this error:</p>
<p>Database error<br />
A database error occured : Cannot connected to the database, La dirección URL de Oracle especificada no es válida</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Mendes</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-161</link>
		<dc:creator>Pedro Mendes</dc:creator>
		<pubDate>Sun, 02 Oct 2011 13:01:24 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-161</guid>
		<description>&quot;You have to take into account that play! uses a forked version of hibernate.&quot;

Well putted.. Thanks Hugo!</description>
		<content:encoded><![CDATA[<p>&#8220;You have to take into account that play! uses a forked version of hibernate.&#8221;</p>
<p>Well putted.. Thanks Hugo!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Monteiro</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-160</link>
		<dc:creator>Hugo Monteiro</dc:creator>
		<pubDate>Sun, 02 Oct 2011 11:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-160</guid>
		<description>Hello Pedro,

I have never used Hibernate-Spatial, there are a few posts in play! &lt;a href=&quot;http://groups.google.com/group/play-framework/search?group=play-framework&amp;q=hibernate+spatial&amp;qt_g=Search+this+group&quot; rel=&quot;nofollow&quot;&gt;google groups: &lt;/a&gt; about it. Just give it a quick read :-)

You have to take into account that play! uses a forked version of hibernate. 

Good luck and thanks!</description>
		<content:encoded><![CDATA[<p>Hello Pedro,</p>
<p>I have never used Hibernate-Spatial, there are a few posts in play! <a href="http://groups.google.com/group/play-framework/search?group=play-framework&amp;q=hibernate+spatial&amp;qt_g=Search+this+group" rel="nofollow">google groups: </a> about it. Just give it a quick read <img src='http://hugomonteiro.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>You have to take into account that play! uses a forked version of hibernate. </p>
<p>Good luck and thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Mendes</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-159</link>
		<dc:creator>Pedro Mendes</dc:creator>
		<pubDate>Sun, 02 Oct 2011 11:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-159</guid>
		<description>Hi Hugo, 

Thanks for the fast reply! Immediately after I submitted my doubt to you, I had a second look at my app conf and I spotted the bottom of the file the in-memory db declared for testing purposes.. I forgot to mention that I was testing the connection to the oracle db through the app&#039;s Test Runner.. so the use of the in-memory db made sense!

I can know connect successfully to my oracle db! :)

Thanks for the tips anyway and it would be really nice that you continue to post here your experiences with Play! Framework! _filipera (Filipe Oliveira) explained once why he was in love with Play!... I understand know!

Well, I must continue my &quot;fight&quot; with Play! + Hibernate + Oracle, but now adding a variation to it: Hibernate Spatial... The HBSpatial&#039;s ConnectionFinder needs the OracleConnection from the current Connection but it&#039;s not getting it... Already tried several versions of the Oracle JDBC driver, but with no luck. 

Any thoughts about this? =)

Stay fit &amp; well!


By the way</description>
		<content:encoded><![CDATA[<p>Hi Hugo, </p>
<p>Thanks for the fast reply! Immediately after I submitted my doubt to you, I had a second look at my app conf and I spotted the bottom of the file the in-memory db declared for testing purposes.. I forgot to mention that I was testing the connection to the oracle db through the app&#8217;s Test Runner.. so the use of the in-memory db made sense!</p>
<p>I can know connect successfully to my oracle db! <img src='http://hugomonteiro.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks for the tips anyway and it would be really nice that you continue to post here your experiences with Play! Framework! _filipera (Filipe Oliveira) explained once why he was in love with Play!&#8230; I understand know!</p>
<p>Well, I must continue my &#8220;fight&#8221; with Play! + Hibernate + Oracle, but now adding a variation to it: Hibernate Spatial&#8230; The HBSpatial&#8217;s ConnectionFinder needs the OracleConnection from the current Connection but it&#8217;s not getting it&#8230; Already tried several versions of the Oracle JDBC driver, but with no luck. </p>
<p>Any thoughts about this? =)</p>
<p>Stay fit &amp; well!</p>
<p>By the way</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Monteiro</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-158</link>
		<dc:creator>Hugo Monteiro</dc:creator>
		<pubDate>Sun, 02 Oct 2011 10:37:51 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-158</guid>
		<description>Hmmm, it should have worked. 

Let&#039;s try to create another configuration. On my projects, I use in-memory database when my framework id is dev. 
This is good for testing experimental features where the structure of the database is changed.
Let&#039;s create a configuration &quot;test&quot;:

# Database configuration
%test.db.url=jdbc:oracle:thin:@:1521:
%test.db.driver=oracle.jdbc.driver.OracleDriver
%test.db.user=cadrede
db.pass=admdev

# JPA Configuration (Hibernate)
%test.jpa.dialect=org.hibernate.dialect.Oracle10gDialect

I just added &quot;%test&quot; in all of your configurations :-)

Now, when you start the play server just do the command: &quot;play run snet --%test&quot;
My goal with creating another id is to create a clean configuration of another environment to see if everything is well configured.

If you want to more about the framework ids, just visit: &lt;a href=&quot;http://www.playframework.org/documentation/1.2/ids&quot; rel=&quot;nofollow&quot;&gt;http://www.playframework.org/documentation/1.2/ids&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hmmm, it should have worked. </p>
<p>Let&#8217;s try to create another configuration. On my projects, I use in-memory database when my framework id is dev.<br />
This is good for testing experimental features where the structure of the database is changed.<br />
Let&#8217;s create a configuration &#8220;test&#8221;:</p>
<p># Database configuration<br />
%test.db.url=jdbc:oracle:thin:@:1521:<br />
%test.db.driver=oracle.jdbc.driver.OracleDriver<br />
%test.db.user=cadrede<br />
db.pass=admdev</p>
<p># JPA Configuration (Hibernate)<br />
%test.jpa.dialect=org.hibernate.dialect.Oracle10gDialect</p>
<p>I just added &#8220;%test&#8221; in all of your configurations <img src='http://hugomonteiro.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Now, when you start the play server just do the command: &#8220;play run snet &#8211;%test&#8221;<br />
My goal with creating another id is to create a clean configuration of another environment to see if everything is well configured.</p>
<p>If you want to more about the framework ids, just visit: <a href="http://www.playframework.org/documentation/1.2/ids" rel="nofollow">http://www.playframework.org/documentation/1.2/ids</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro Mendes</title>
		<link>http://hugomonteiro.net/2010/01/28/oracle-play-framework-easy/comment-page-1/#comment-157</link>
		<dc:creator>Pedro Mendes</dc:creator>
		<pubDate>Sun, 02 Oct 2011 09:55:19 +0000</pubDate>
		<guid isPermaLink="false">http://hugomonteiro.net/?p=277#comment-157</guid>
		<description>Hi Hugo,

Thanks for this useful post!

I&#039;m facing some problems connecting my oracle db using this configuration. It seems the default H2 db is always used even the &quot;db=mem&quot; is comment out.

I&#039;m getting the following output when accessing my Play!&#039;s app

&lt;i&gt;
0:43:12,923 INFO  ~ Listening for HTTP on port 9000 (Waiting a first request to start) ...
10:43:33,368 INFO  ~ Connected to jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0
10:43:35,589 INFO  ~ Application &#039;snet&#039; is now started !
&lt;/i&gt;

I think I should be seen some like &quot;Connected tojdbc:oracle:thin:@:1521:&quot;, right?

In my application.conf, in the lines regarding the Database and JPA configuration, I havee:
&lt;i&gt;
# Database configuration

# db=mem
db.url=jdbc:oracle:thin:@:1521:
db.driver=oracle.jdbc.driver.OracleDriver
db.user=cadrede
db.pass=admdev

# JPA Configuration (Hibernate)
jpa.dialect=org.hibernate.dialect.Oracle10gDialect
&lt;/i&gt;

What am I missing out?

Thanks, in advance!</description>
		<content:encoded><![CDATA[<p>Hi Hugo,</p>
<p>Thanks for this useful post!</p>
<p>I&#8217;m facing some problems connecting my oracle db using this configuration. It seems the default H2 db is always used even the &#8220;db=mem&#8221; is comment out.</p>
<p>I&#8217;m getting the following output when accessing my Play!&#8217;s app</p>
<p><i><br />
0:43:12,923 INFO  ~ Listening for HTTP on port 9000 (Waiting a first request to start) &#8230;<br />
10:43:33,368 INFO  ~ Connected to jdbc:h2:mem:play;MODE=MYSQL;LOCK_MODE=0<br />
10:43:35,589 INFO  ~ Application &#8216;snet&#8217; is now started !<br />
</i></p>
<p>I think I should be seen some like &#8220;Connected tojdbc:oracle:thin:@:1521:&#8221;, right?</p>
<p>In my application.conf, in the lines regarding the Database and JPA configuration, I havee:<br />
<i><br />
# Database configuration</p>
<p># db=mem<br />
db.url=jdbc:oracle:thin:@:1521:<br />
db.driver=oracle.jdbc.driver.OracleDriver<br />
db.user=cadrede<br />
db.pass=admdev</p>
<p># JPA Configuration (Hibernate)<br />
jpa.dialect=org.hibernate.dialect.Oracle10gDialect<br />
</i></p>
<p>What am I missing out?</p>
<p>Thanks, in advance!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

