Search:

Type: Posts; User: ykovelman; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    1,607

    Great !!! Thanks for the update, keep up great...

    Great !!! Thanks for the update, keep up great work !!!
  2. Replies
    7
    Views
    1,607

    Optimistic locking is what I don't want. I do...

    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.
  3. Replies
    7
    Views
    1,607

    Pessimistic locking

    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...
  4. Replies
    8
    Views
    1,926

    The code you provided works, however this is more...

    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...
  5. You could try defining a Spring initializing bean...

    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.
  6. Replies
    8
    Views
    1,926

    Thanks for the tip, I'll give this a shot...

    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...
  7. Replies
    8
    Views
    1,926

    Ben, Actually I apologize, I am not doing by...

    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. ...
  8. Replies
    8
    Views
    1,926

    checking if entity with id exists

    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.
    ...
  9. Replies
    2
    Views
    558

    Just looked back at the cxf config, looks like I...

    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"...
  10. Replies
    2
    Views
    558

    Null dependencies

    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...
  11. Replies
    5
    Views
    2,974

    Ramnivas, thanks !! that was it. I submitted...

    Ramnivas, thanks !! that was it. I submitted additional info on item 2, but waiting for approval. Second pair of eyes always helps.
  12. Replies
    5
    Views
    2,974

    Ramnivas, Great catch, its one of those I've...

    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,...
  13. Replies
    5
    Views
    2,974

    Ramnivas, Here is the aspect code, I'll...

    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...
  14. Replies
    5
    Views
    2,974

    Apache CXF, AOP, and dependency injection

    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...
Results 1 to 14 of 14