Search:

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

Page 1 of 7 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    5,704

    If an interceptor returns false (which is the...

    If an interceptor returns false (which is the case for the PayloadValidatingInterceptor in the case of a validation error) not further interceptor will be executed. So you have to add the...
  2. Also note, that...

    Also note, that http://jira.springframework.org/browse/SWS-372 could be related.
  3. Cross Context communication without 'real remoting'

    Hello,

    does anyone know, how to do cross context communication without 'real remoting'?

    I have two separate .war files deployed in my tomcat, a 'backend.war' and a 'frontend.war'. The...
  4. Well, using an EntityManager(Factory) makes your...

    Well, using an EntityManager(Factory) makes your DAOs independend of Spring (they could also run in a non-spring JEE server). Using JpaTemplate you are bound to spring which is currently not a...
  5. If you don't want to use these annotations, you...

    If you don't want to use these annotations, you have (AFAIK) to inject the EntityManagerFactory and obtain the entityManager from it everytime you need it, manually.
  6. I have a GenericDAO interface: public...

    I have a GenericDAO interface:



    public interface GenericDAO<T, PK extends Serializable>
    {
    void create(T newInstance);
    T read(PK id);
    List<T> readAll();
    T update(T...
  7. I don't use a JpaTemplate because it's somewhat...

    I don't use a JpaTemplate because it's somewhat 'deprecated' (not in the sense of the java term). See the note at http://www.springframework.org/docs/api/org/springframework/orm/jpa/JpaTemplate.html...
  8. I use EntityManager's (JPA) merge() method, which...

    I use EntityManager's (JPA) merge() method, which seems to be the only way. Maybe that's the problem?
  9. Why doesn't hibernate update the identifier of my entities?

    Hello!

    I don't understand this behaviour:



    Parent parent = getParentById(x);
    Childs childs = parent.getChilds();

    LOG.debug("# of Childs: " + childs.size());
  10. Replies
    6
    Views
    1,268

    Yeah, I think that's the case. Yes, based...

    Yeah, I think that's the case.



    Yes, based on an UUID.



    Well, the service is bound via Spring HTTP Invoker, so remote.
  11. Replies
    6
    Views
    1,268

    Thank's a lot for trying to help me! Ok, here are...

    Thank's a lot for trying to help me! Ok, here are my mappings:



    @Entity
    @Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
    public class Parent
    {

    private Set<Child> childs;
  12. Replies
    6
    Views
    1,268

    Yes, i set both sides of the relationship before...

    Yes, i set both sides of the relationship before saving the child.
  13. Replies
    6
    Views
    1,268

    Problems with Hibernate's second level cache

    I currently have a problem with hibernate's second level cache and hope to find some help here. Let me describe my problem based on an example to keep things easy understandable.

    There are two...
  14. Replies
    3
    Views
    1,540

    disabled="" makes no sense. Do either...

    disabled="" makes no sense. Do either disabled="disabled" or no disabled-attribute at all.



    I haven't worked much with BigDecimal, but what you're doing is, comparing a BigDecimal with a...
  15. Replies
    5
    Views
    3,489

    Well, there's already an issue at...

    Well, there's already an issue at http://opensource.atlassian.com/projects/spring/browse/MOD-185 :-)
  16. Replies
    5
    Views
    3,489

    Who is maintaining the .pom files for...

    Who is maintaining the .pom files for spring-modules? The current dependencies of the cache module causes much work (excluding all the unused cache providers). Someone should mark most of the...
  17. Replies
    3
    Views
    1,540

    The html disabled attribute has no true/false...

    The html disabled attribute has no true/false value. This is for compatibility with non-xhtml. Example:


    Valid Non-XHTML use:
    <input type="text" name="foo" value="bar" disabled>

    XHTML...
  18. What you can try is: - Do a 'mvn clean...

    What you can try is:

    - Do a 'mvn clean packate' without acegi
    - Check your target directory for added .jar files
    - Redo the 'mvn clean packate' with acegi
    - Recheck your target directory for...
  19. Replies
    11
    Views
    1,636

    Poll: I disabled it, because I'd like to know what and...

    I disabled it, because I'd like to know what and when things happens to our database. If I need more data, I join it explicitly.


    Best

    Oliver
  20. Hello, the form:password tag in spring 2.0.2...

    Hello,

    the form:password tag in spring 2.0.2 doesn't redisplay the password. Version 2.0.3 even makes this configurable.

    To work around this problem, you can place your code (to set the...
  21. Replies
    14
    Views
    7,405

    So, it should be perfectly safe to grant access...

    So, it should be perfectly safe to grant access to everything starting with /k/ - right? Somebody would have to guess two UUIDs, which should be hard enough :-)


    Best

    Oliver
  22. Replies
    14
    Views
    7,405

    I'd like to have only one flow controller. What...

    I'd like to have only one flow controller. What is the format of the URL, SWF redirects to? Currently my http://domain/flow/myFlowId is redirected to http://domain/flow/k/[UUIDs].

    Is /k/ always...
  23. Replies
    14
    Views
    7,405

    Thank's for this great article! One thing I'm...

    Thank's for this great article! One thing I'm missing a bit is how to handle security in a redirectOnPause world. I'm using REST-style URLs (by using the RequestPathFlowExecutorArgumentHandler as the...
  24. Replies
    7
    Views
    1,161

    When I said that the statement would get...

    When I said that the statement would get prepared, I didn't mean a PreparedStatement in the sense of a database PREPARE. I'm using Hibernate EntityManager for JPA support - all statements in my...
  25. Replies
    7
    Views
    1,161

    I need this only for cosmetics :-) I have a...

    I need this only for cosmetics :-)

    I have a GenericDAO that builds some JQL statements for later execution. I'd like to bind them to a name to be able to get the statement by name.

    Another...
Results 1 to 25 of 153
Page 1 of 7 1 2 3 4