Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,921

    Thanks for the info. I had a look at the...

    Thanks for the info.

    I had a look at the Spring code and it does try to inject fields that are annotated with @EJB.
    Normally it is possible to use the @EJB annotation in your web container and...
  2. Replies
    2
    Views
    1,921

    Introduction of Spring broke @EJB usage

    Hi

    I have a project that consists of EJB3, JSF and now Spring. I use to access the EJBs from the JSF beans using the @EJB annotation for injection. Since I introduced Spring into the mix to manage...
  3. thanks for the help

    thanks for the help
  4. Thanks that solved the problem, it does however...

    Thanks that solved the problem, it does however leave me a bit confused. From what I understand the thread value for that property gives you session per transaction behaviour, but this is also the...
  5. The hibernateConfigurationCreator implementation...

    The hibernateConfigurationCreator implementation just calls
    new Configuration();. We then set the entityResolver on the configuration, that is the only modification to the stock standard...
  6. We have extended the LocalSessionFactoryBean and...

    We have extended the LocalSessionFactoryBean and configured it as below.



    <bean id="hibernateSessionFactoryAbstract"...
  7. Hi, Here is the config as requested. I must...

    Hi,

    Here is the config as requested. I must admit, I recently inherited the code, so I am still trying to make heads or tails of what it all means. Can you maybe point me to some reading material...
  8. Thanks for your reply, I will check it out...

    Thanks for your reply, I will check it out tomorrow.

    Can you maybe explain to me why the config would work with 2.0.6 and not with 2.5.2?
  9. Jencks, Hibernate, Geronimo and Spring 2.0.6 -> 2.5.2 upgrade problem

    Hi,

    I am trying to upgrade to spring 2.5.2 with the above mentioned packages in use. Code that used to work throws the follow exception with 2.5.2.



    javax.naming.NoInitialContextException:...
  10. i am currently using onSetUpBeforeTransaction,...

    i am currently using onSetUpBeforeTransaction, onSetUpInTransaction or onTearDownInTransaction, onTearDownAfterTransaction. The problem is that they are run before, in and after each test method and...
  11. which version of swing are you using? did it...

    which version of swing are you using? did it maybe change at some point, because the onSetup and onTearDown is definately final in version 2.0.2.
    ...
  12. Thank you very much for the info. I always...

    Thank you very much for the info.

    I always though onSetUp or onTearDown was final? or at least it used to be.

    I will try the suggestions.
  13. Populating db with data to test with - AbstractTransactionalDataSourceSpringContextTe

    Hi,

    Can anyone tell me how to populate the db with data used by the various tests in my test case extending AbstractTransactionalDataSourceSpringContextTests?

    I am looking to do this once for...
  14. Replies
    4
    Views
    1,228

    Yip, that helped alot. thanks.

    Yip, that helped alot.

    thanks.
  15. Replies
    4
    Views
    1,228

    I did look at that options. But that causes two...

    I did look at that options. But that causes two problems for me.

    How do I get it to span 2 cells?
    This bypasses the binding concept for the component.


    The second point means no validation...
  16. Replies
    4
    Views
    1,228

    Adding Component with no label

    Hi,

    I am trying to add a component to a form with no label. I tried


    setLabelAttributes("colSpec=0:n")

    but this causes all the labels to be removed on the tab.
    I also tries setting the...
  17. Thread: Using Rules

    by driftwood
    Replies
    4
    Views
    1,190

    thanks, I eventually got round the problem by...

    thanks,

    I eventually got round the problem by doing this:

    rules.add((CompoundConstraint) or(new PropertiesConstraint("password", EqualTo.instance(), "oldPassword"), new...
  18. Thread: Using Rules

    by driftwood
    Replies
    4
    Views
    1,190

    Hi, It actually fails in a unit test. ...

    Hi,

    It actually fails in a unit test.

    Here is the unit test code.

    ...
    UserDTO userDTO = new UserDTO();

    userDTO.setPassword("pass");
  19. Thread: Using Rules

    by driftwood
    Replies
    4
    Views
    1,190

    Using Rules

    Hi,

    I am having problems implementing an or rule. What I am trying is to create a rule that checks that property1 must be equal to property2 or property3.

    so this i what I have.

    Rules rule =...
Results 1 to 19 of 19