I have a bean whose class extends Thread that I want to start at bean creation. I've read all the documentation on Scheduling and Thread Pooling but there is no information on how to just start a...
Type: Posts; User: caskater4; Keyword(s):
I have a bean whose class extends Thread that I want to start at bean creation. I've read all the documentation on Scheduling and Thread Pooling but there is no information on how to just start a...
Hello,
I'm fairly new to JMS and am working through trying to set up Spring JMS with ActiveMQ for our system. I'm open to other JMS providers but ActiveMQ seemed to be the fastest way to set it...
Hello everyone,
I'm using JPA, Hibernate 3.3 and Spring 2.5 for Transactions. I'm seeing an issue when I pull an entity inside of a transaction and make some modifications to it (for display back...
Bump.
Does anyone know why the jars of my application are not being searched for annotations?
So I tried using a persistence.xml file once again and got it to pick the file up. My original problem is that I was putting the META-INF directory in the wrong place (I was putting it at the webapp...
Hello everyone,
Today i'm trying to add Ehcache to my current application stack of Spring+JPA+Hibernate. I'm using Spring 2.5.6, Hibernate 3.3.2 and Ehcache 1.7.2.
I've been reading a lot on...
I perfectly understood the difference between the two in that respect (but I re-read your blog anyway to double check). What your blog does not detail is how you can apply Spring's AOP aspects in...
I've read your article but it doesn't really apply to me. The issue I am having is not with Spring AOPs limitations or issues it's because the afterPropertiesSet function is being called before the...
I've actually already got the function marked with the @Transaction annotation but it seems to be ignoring it. I'm unfamiliar AspectJ, how does it differ from Spring AOP?
Hi Yaozong. I've just encountered the very same issue. Did you ever find a solution to the problem?
So I think I found it. Discovered the following post: http://forum.springsource.org/showthread.php?t=52865
I should note though that when I tried the following:
<bean id="myObject"...
Hello all,
I've got a series of classes which take a class type as a constructor argument. I'm trying to figure out the way to actually pass in the class using Spring but am not getting anywhere....
Hi everyone,
I've got an app that uses the JPA + Spring + Hibernate + MySQL stack. All our entity classes are written with pure JPA annotations and i'd highly prefer to leave it that way. For our...
Well I figured it out. I added the jboss-archive-browsing dependency and it solved the problem. I am now up and running.
...
Ok it appears I didn't properly reference the PUM and jpaVendorAdapter in the entitymanager definition. I've now fixed that and yet once again have more errors (yippee!!!). Here's my new one...
...
Of course! By JARs that I am using I assume you mean the dependencies. Here is my pom.xml.
<dependencies>
<!-- Restlet -->
<dependency>
<groupId>com.noelios.restlet</groupId>
...
Ok I got rid of the error message above by including the hibernate-entitymanager dependency but now i'm getting the error:
org.springframework.beans.factory.BeanCreationException: Error...
Hi all,
I'm getting an error when my app starts up that I can't quite figure out. This is the error I am getting.
org.springframework.beans.factory.BeanCreationException: Error creating...
Hi all,
I have a web app that i'm building using the RESTlet 1.1 framework where my DAO layer is built using Spring-JPA and my persistence tech is to be Hibernate. I should note ahead of time that...
I had already found both of these links but in the interest of being thorough i've re-read them anyway. They still don't really help me with my situation.
I realize maybe I wasn't all that clear...
Hello everyone,
Here's my situation. I'm building an application to be run under Tomcat 6. I use MySQL as my db engine. All of my data bean classes are fully annotated with JPA for the database...