<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2406823112953375683</id><updated>2011-09-17T03:43:09.630-07:00</updated><category term='AOP'/><category term='hibernate'/><category term='JAVA_HOME'/><category term='proxy'/><category term='nexus tomcat restore'/><category term='foreignkey'/><category term='Tomcat6'/><category term='maven'/><category term='memory'/><category term='jvm'/><category term='upgrade'/><category term='org.hibernate.exception.ConstraintViolationException'/><category term='cascadetype'/><category term='jpa'/><category term='plugin'/><category term='org.springframework.dao.InvalidDataAccessApiUsageException'/><category term='transaction management'/><category term='tools.jar'/><category term='Hudson'/><category term='installation problems'/><category term='eclipse'/><category term='Spring'/><category term='ubuntu'/><category term='aws'/><category term='webapps'/><category term='no-standalone'/><title type='text'>Tech Lessons Learned while Starting my Online Business</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2406823112953375683.post-5342573674354369401</id><published>2010-12-20T17:07:00.000-08:00</published><updated>2010-12-20T17:08:30.913-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plugin'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='installation problems'/><category scheme='http://www.blogger.com/atom/ns#' term='aws'/><title type='text'>AWS Toolkit for Eclipse Note.</title><content type='html'>If you happen to stumble upon a "No contents found at given site" message (or something like that) when trying to install the AWS Toolkit in Eclipse (from &lt;a href="http://aws.amazon.com/eclipse/"&gt;update site url&lt;/a&gt;&amp;nbsp;) , make all the upgrades you can to your plugins. If I remember correctly, the last plugins I had to update before being able to install where the maven and subversion&amp;nbsp;integration&amp;nbsp;ones.&lt;br /&gt;&lt;br /&gt;Now, I'm ready to start playing with AWS from Eclipse Helios! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2406823112953375683-5342573674354369401?l=marybelarcher.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/5342573674354369401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marybelarcher.blogspot.com/2010/12/aws-toolkit-for-eclipse-note.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/5342573674354369401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/5342573674354369401'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/2010/12/aws-toolkit-for-eclipse-note.html' title='AWS Toolkit for Eclipse Note.'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2406823112953375683.post-7799333325035369563</id><published>2010-08-27T10:31:00.000-07:00</published><updated>2010-08-27T10:33:48.288-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='webapps'/><category scheme='http://www.blogger.com/atom/ns#' term='upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA_HOME'/><category scheme='http://www.blogger.com/atom/ns#' term='memory'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='Tomcat6'/><title type='text'>Sneaky Tomcat</title><content type='html'>Ubuntu's Update Manager insisted for days and days that I needed to upgrade Tomcat's manager due to security patches. I should have just ignored it (just kidding). &amp;nbsp;After I went ahead with the update, I've spent hours and hours trying to resurrect the webapps installed in Tomcat before realizing what was actually going on. Reminder for next time: check which config settings did the upgrade changed, paying particular attention to how &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;JAVA_HOME&lt;/span&gt; is being set and what are the new memory usage limits (for Tomcat6/Ubuntu this settings can be found in&amp;nbsp;&lt;span class="Apple-style-span" style="color: #333333; font-size: 14px; line-height: 17px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/etc/init.d/tomcat&lt;/span&gt;&lt;/span&gt;). More info can be found at &lt;a href="http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/"&gt;Installing Tomcat 6 in Ubuntu&lt;/a&gt;. One more tip: after the settings have being fixed, Tomcat might still have trouble bringing back "online" all the webapps at once, so the option here is to let Tomcat bring them back one by one by moving the apps folders out of &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/tomcat/webapps&lt;/span&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2406823112953375683-7799333325035369563?l=marybelarcher.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/7799333325035369563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marybelarcher.blogspot.com/2010/08/sneaky-tomcat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/7799333325035369563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/7799333325035369563'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/2010/08/sneaky-tomcat.html' title='Sneaky Tomcat'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2406823112953375683.post-1304657504234815977</id><published>2010-08-19T09:50:00.000-07:00</published><updated>2010-08-27T10:13:54.733-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='jpa'/><category scheme='http://www.blogger.com/atom/ns#' term='foreignkey'/><category scheme='http://www.blogger.com/atom/ns#' term='org.hibernate.exception.ConstraintViolationException'/><category scheme='http://www.blogger.com/atom/ns#' term='cascadetype'/><title type='text'>I used to like Cascades</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Oooch! Ooooch! Oooooch! Hibernate is being a pain to grasp for me :'( .... Actually, at least in this case, the JPA/Hibernate combo was the one kicking my rear this time. Turns out that there are two "flavors" of &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CascadeTypes&lt;/span&gt;: JPA's and Hibernate's. Oh!, and don't you dare ignoring the Hibernate ones if you are using it as your persistence "back-end'&amp;nbsp;&lt;/span&gt;:-P&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;I cannot thank&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #999999; font-weight: 300; line-height: 21px;"&gt;&lt;a href="http://www.mkyong.com/" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: blue; outline-style: none; text-decoration: underline;" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;mkyong&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&amp;nbsp;enough for saving me from spending many more hours digging around and "experimenting" to solve foreign key constraint issues with his post on&amp;nbsp;&lt;a href="http://www.mkyong.com/hibernate/cascade-jpa-hibernate-annotation-common-mistake/"&gt;Cascade – JPA &amp;amp; Hibernate annotation common mistake&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;span class="Apple-style-span" style="letter-spacing: -1px; line-height: 32px;"&gt;&lt;b&gt;.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&amp;nbsp;I have just one comment to add to what he posted: for the Hibernate CascadeType to "kick in", I still needed to specify the JPA one in my entity. Per Hibernate's documentation on &lt;a href="http://docs.jboss.org/hibernate/stable/annotations/reference/en/html/entity.html#entity-hibspec-cascade"&gt;cascading&lt;/a&gt;&amp;nbsp;this is recommended, but in my case it seems to be actually required :|&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2406823112953375683-1304657504234815977?l=marybelarcher.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/1304657504234815977/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marybelarcher.blogspot.com/2010/08/oooch-ooooch-oooooch-hibernate-is-being.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/1304657504234815977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/1304657504234815977'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/2010/08/oooch-ooooch-oooooch-hibernate-is-being.html' title='I used to like Cascades'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2406823112953375683.post-6412975395839533892</id><published>2010-07-16T16:09:00.000-07:00</published><updated>2010-08-27T10:34:48.631-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools.jar'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='jvm'/><title type='text'>End the JVM winner is...!</title><content type='html'>Tip for when Maven is unhappy with you because you don't give it enough &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;tools(.jar)&lt;/span&gt;... Check which "flavor" of Java is your system defaulting to. You can change this setting by re-linking to your&amp;nbsp;preferred&amp;nbsp;Java install by following &lt;a href="http://chadarius.com/node/112"&gt;Changing Java Versions in Ubuntu&lt;/a&gt;. I think, in my case, it got changed&amp;nbsp;inadvertently&amp;nbsp;while installing some new programs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2406823112953375683-6412975395839533892?l=marybelarcher.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/6412975395839533892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marybelarcher.blogspot.com/2010/07/end-jvm-winner-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/6412975395839533892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/6412975395839533892'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/2010/07/end-jvm-winner-is.html' title='End the JVM winner is...!'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2406823112953375683.post-6701525437985378887</id><published>2010-06-16T16:13:00.000-07:00</published><updated>2010-08-27T10:12:21.943-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='no-standalone'/><category scheme='http://www.blogger.com/atom/ns#' term='Hudson'/><category scheme='http://www.blogger.com/atom/ns#' term='Tomcat6'/><title type='text'>Tip for Installing Hudson to Running Tomcat</title><content type='html'>Keeping the development environment restoration theme, today was the turn for &lt;b&gt;Hudson&lt;/b&gt; which I don't wanted to let run standalone. Crucial point for integrating Hudson to a running Tomcat (gotten with Debian): set HUDSON_HOME to the CATALINA_OPT in the &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;tomcat&lt;/span&gt;&lt;/span&gt; file. Follow &lt;b&gt;Tomcat for Debian&lt;/b&gt; instructions in&amp;nbsp;&lt;a href="http://wiki.hudson-ci.org/display/HUDSON/Tomcat"&gt;Tomcat - Hudson Wiki&lt;/a&gt;&amp;nbsp;which apply to Tomcat6 too.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2406823112953375683-6701525437985378887?l=marybelarcher.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/6701525437985378887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marybelarcher.blogspot.com/2010/06/tip-for-installing-hudson-to-running.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/6701525437985378887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/6701525437985378887'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/2010/06/tip-for-installing-hudson-to-running.html' title='Tip for Installing Hudson to Running Tomcat'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2406823112953375683.post-215985901595484635</id><published>2010-06-15T18:47:00.000-07:00</published><updated>2010-06-15T18:51:46.427-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nexus tomcat restore'/><title type='text'>Restoring Nexus to new Ubuntu Installation</title><content type='html'>I'm enjoying a lot my just installed Ubuntu 10.04. Lucid is really pretty and it's flying but that doesn't change the fact that it is painful to recover the previous state of my development environment.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I spent at least a couple of hours working on recovering my Nexus local install. I had Nexus running standalone before but this time I'm trying to avoid having &lt;i&gt;n thousand&lt;/i&gt; tomcats running (my computer is memory max out at 8GB :( &amp;nbsp;) so Nexus is going on the Tomcat6 installed from Synaptic. I wasn't being able to login because Nexus couldn't generate the &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;timeline&lt;/span&gt;&lt;/span&gt; file. The fact that the application itself was running really didn't help to speed the discovery of the solution :|&amp;nbsp;The quick and dirty tip here is: check that the user that is running the web app has the correct privileges setup on the &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;sonatype-work&lt;/span&gt;&lt;/span&gt; (the dir containing Nexus configuration&amp;nbsp;&lt;a href="http://stackoverflow.com/questions/710596/how-do-i-backup-a-nexus-repository-manager"&gt;Check this post on backing up Nexus&lt;/a&gt;&amp;nbsp;).&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2406823112953375683-215985901595484635?l=marybelarcher.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/215985901595484635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marybelarcher.blogspot.com/2010/06/restoring-nexus-to-new-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/215985901595484635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/215985901595484635'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/2010/06/restoring-nexus-to-new-ubuntu.html' title='Restoring Nexus to new Ubuntu Installation'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2406823112953375683.post-5571662662746630432</id><published>2010-06-01T14:09:00.000-07:00</published><updated>2010-06-01T16:31:22.418-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='transaction management'/><category scheme='http://www.blogger.com/atom/ns#' term='org.springframework.dao.InvalidDataAccessApiUsageException'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='AOP'/><category scheme='http://www.blogger.com/atom/ns#' term='proxy'/><title type='text'>Battle for the right to write (to my own DB)</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I wanna shoot myself. I've been struggling trying to fix a "&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;". I know that I'm a total newbie with Spring and Hibernate (and not really experienced on the inner workings of transaction management) but this is evil if you really don't understand how Spring works. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I don't think the Spring Framework documentation emphasizes it enough: &lt;/span&gt;&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;The most important concepts to grasp with regard to the Spring Framework's declarative transaction support are that this support is enabled &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class="emphasis"&gt;&lt;em&gt;&lt;a href="http://www.blogger.com/aop.html#aop-understanding-aop-proxies" title="6.6.1. Understanding AOP proxies"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;via AOP proxies&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;" &lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;a href="http://static.springsource.org/spring/docs/2.5.x/reference/transaction.html#transaction-declarative"&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Spring's Declarative Transaction Management documentation&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;). I know, I know! It's all my fault but even when I read those lines it really didn't "click":&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;I thought that I was having issues because I've decided to use the OpenSessionInView pattern and believed that I needed to add transaction management to my newest Manager class.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt; So, I've spent more than a day trying to figuring out how to fix this issue when the functionality was there all along. The deal was that my manager wasn't being proxied because it was defined as an inner bean (which can be a good practice in some cases but totally not when you want your bean to be proxied [&lt;/span&gt;&lt;a href="http://www.mydeveloperconnection.com/html/SpringBP.htm"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Spring Best Practices&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;]) :|&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2406823112953375683-5571662662746630432?l=marybelarcher.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://marybelarcher.blogspot.com/feeds/5571662662746630432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://marybelarcher.blogspot.com/2010/06/i-wanna-shoot-myself.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/5571662662746630432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2406823112953375683/posts/default/5571662662746630432'/><link rel='alternate' type='text/html' href='http://marybelarcher.blogspot.com/2010/06/i-wanna-shoot-myself.html' title='Battle for the right to write (to my own DB)'/><author><name>marcher</name><uri>http://www.blogger.com/profile/09934946796725740256</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
