Search:

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

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    630

    JRun ResourceURLClassLoader

    As Spring 2.0.4 has fixed the bug SPR-2598 to deal with Single PersistenceUnit in Multiple persistence.xml files.
    http://opensource.atlassian.com/projects/spring/browse/SPR-2598

    The suggested...
  2. Replies
    1
    Views
    1,178

    Spring and ActiveMQ composite destinations

    Hi,

    Does anyone know how to configure Spring MDP listen to composite destinations created by ActiveMQ !?



    <!-- message listener container -->
    <bean id="jmsListenerContainer"...
  3. Thanks, as you said, a new transaction is...

    Thanks, as you said, a new transaction is required. I tried to add "no-rollback" attribute for <tx:advice> to ignore DataIntegrityViolationException and failed.
  4. DataIntegrityViolationException and TransactionManagement

    I would like to implement something we called "soft delete". For example, a record in DB will be deleted if no child record found, else marked it as "CLOSED".

    code from service class


    public...
  5. Replies
    3
    Views
    2,143

    valang and function in error parameters

    Hi, I am trying to integrate valang validation, however, I can't make use of function in error_parameters.



    { name : ? is not blank : 'name is required' : 'errors.required' :...
  6. Just created an issue on JIRA...

    Just created an issue on JIRA
    http://opensource.atlassian.com/projects/spring/browse/SPR-2598

    Thanks.
  7. Thanks anyway, now I simply "modify" the...

    Thanks anyway, now I simply "modify" the "DefaultPersistenceUnitManager" to fit my needs, (i.e. simply adding the ManagedClasses to existing PU).
  8. Single PersistenceUnit, multiple persistence.xml

    Hi, I just upgraded to Spring 2.0RC4 and found it introduced a new mechanism for scanning persistence.xml. While in RC3, I have to override the LocalContainerEntityManagerFactoryBean to allow...
  9. Replies
    5
    Views
    6,933

    Thanks all of you :P

    Thanks all of you :P
  10. Replies
    5
    Views
    6,933

    Thanks for your reply. Is that mean, I have to...

    Thanks for your reply.

    Is that mean, I have to write a method for each combination ? for example I added a field nationality to the Person class that I need the followings ?


    ...
  11. Replies
    5
    Views
    6,933

    How to use hibernate criteria API smartly

    Hi all, I am new to Spring + Hibernate and thinking about the architecture problem when using the Hibernate Criteria.

    In my existing small project, I am using 3-layers design (web tier, services...
  12. Replies
    1
    Views
    735

    hashCode and one-to-many association

    Hi all, I have created a mapping between two classes School and Course, while School contains a set of Courses.

    The code is like this



    public class School &#123;
    private String name;
    ...
Results 1 to 12 of 12