Great !!! Thanks for the update, keep up great work !!!
Type: Posts; User: ykovelman; Keyword(s):
Great !!! Thanks for the update, keep up great work !!!
Optimistic locking is what I don't want. I do mean pessimistic, meaning I need to lock a row and commit the data before any other thread can read and commit its data.
Hello,
Wondering when Roo will support JPA 2.0. I have a need for pessimistic locking and with JPA 1.0 it's not a possibility. Is there anyway to leverage underlying Hibernate implementation...
The code you provided works, however this is more of a style issue. I generally don't like using the exception handling mechanism to control my logic flow. The code above, specifically the finder...
You could try defining a Spring initializing bean and exercise the domain model in there. Basically you have to create your entities and persist them.
Thanks for the tip, I'll give this a shot tomorrow. This is silly however. Via hibernate I would simply get a null object in a similar scenario. I am not a JPA expert but is this something that...
Ben,
Actually I apologize, I am not doing by id, but the following:
QNode node = (QNode)QNode.findQNodesByAddress(address).getSingleResult();
which is by a field and that uses createQuery. ...
Hello,
I've been using Roo for the past few weeks, however have pretty long Hibernate history. I am using findById method on an entity and if the entity doesn't exist an exception is thrown.
...
Just looked back at the cxf config, looks like I was missing this part:
If you want to reference a spring managed-bean, you can write like this:
<bean id="hello"...
I have a Spring Roo project and here is what's occuring:
1. I have a Service with Autowired dependencies
2. The Service is also annotated to be a Webservice by CXF
I have a breakpoint in the...
Ramnivas, thanks !! that was it. I submitted additional info on item 2, but waiting for approval. Second pair of eyes always helps.
Ramnivas,
Great catch, its one of those I've been staring at the code for too long :) Thanks !
Regarding the second issues here is some code, its pretty much boiler plate but here goes,...
Ramnivas,
Here is the aspect code, I'll provide additional info on the second point tomorrow.
package project.pkg.framework.spring;
import org.apache.commons.logging.Log;
import...
Hello,
Not sure if this is the place to post this, here is my problem:
1. I have the following architecture (Apache CXF for webservices, service layer, spring roo, db)
2. I created a simple...