Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    5,939

    I am faced with the exact same situation. I...

    I am faced with the exact same situation. I would like the AJAX application running in the browser on one particular page to detect a session timeout error thrown from ACEGI and redirect to the...
  2. Replies
    5
    Views
    3,573

    Yes, the inheritance type is JOINED. But I am...

    Yes, the inheritance type is JOINED. But I am specifying the targetEntity type for listOfAs so I would expect only the targetEntity type to be retrieved. Instead, I see both type A and type B in...
  3. Replies
    5
    Views
    3,573

    Hibernate polymorphic collectio repost

    I am reposting with the appropriate code tags. I only use annotations, no hbm mapping files, so all information regarding entities is in the code.

    I have two classes:



    @Entity(polymorphism...
  4. Replies
    5
    Views
    3,573

    Hibernate polymorphic collection problem

    I have two classes:

    <code>
    @Entity(polymorphism = PolymorphismType.EXPLICIT)
    @Inheritance(strategy = InheritanceType.JOINED)
    public class A{}

    @Entity
    public class B extends A{}
    </code>
  5. Passing ids around is pretty much the solution I...

    Passing ids around is pretty much the solution I was leaning towards. The trouble is that I have a User object that has a OneToMany collection of another entity. The User object is returned from an...
  6. Asynchronous operation and Hibernate Best Practice

    Reposted from the Web forum because this is a more appropriate forum.

    I have the following architecture: Spring MVC in the web layer with Open Session In View, Hibernate managed data layer, and a...
  7. Asynchronous operation with Hibernate best practice

    I have the following architecture: Spring MVC in the web layer with Open Session In View, Hibernate managed data layer, and a middle tier with some asynchronous operations.

    Users can choose...
  8. Replies
    6
    Views
    1,348

    Yes, I did try a simple example and it worked. I...

    Yes, I did try a simple example and it worked. I had the following property:

    private Pattern testPattern = null;

    public Pattern getTestPattern() {
    return testPattern;
    }

    public void...
  9. Replies
    6
    Views
    1,348

    I believe that...

    I believe that org.springframework.beans.propertyeditors.PatternEditor is the appropriate PropertyEditor for java.util.regex.Pattern. I thought that it was registered by default. Even when I tried...
  10. Replies
    6
    Views
    1,348

    Injecting a Map of Lists

    I have a class with the following property:

    public class MyClass extends OrderedAspect {

    private Map<String, List<Pattern>> methodIgnorePatterns = new HashMap<String, List<Pattern>>();

    ...
  11. The new behavior is that the...

    The new behavior is that the checkLoggedInPointcut pointcut is applied to the class ClassThatExtendsBaseClass when it should not be. Sorry, I should have mentioned that.

    Thanks,
    Anthony
  12. Upgrading to Spring 2.0.1 changed application of pointcut

    After I upgraded to Spring 2.0.1, a pointcut that I had defined and working in Spring 2.0 changed behavior. I had the following pointcut:

    <pointcut id="checkLoggedInPointcut"...
  13. Replies
    3
    Views
    1,067

    Found the problem

    It turns out that I had a cycle in my bean dependencies. This was causing issues when mapping aspects as some of the aspects were not fully initialized and would be ignored for certain beans.
  14. Replies
    3
    Views
    1,067

    A little more info

    I debugged the initialization in spring and determined that in

    org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors()

    the call to
    ...
  15. Replies
    3
    Views
    1,067

    Some debug output

    Here is some debug output when I start up spring. Notice that the same pointcut gets rejected and accepted for class C. The initialization procedure seems to be ignoring the first pointcut when...
  16. Replies
    3
    Views
    1,067

    Multiple advisors not all matching

    I have 3 advisors and 2 pointcuts as follows:

    Pointcut 1: execute(public * com.mycompany.product.A+.*(..)
    Pointcut 2: execute(public * com.mycompany.product.A+.*(..) AND !execute(public *...
  17. Replies
    3
    Views
    1,142

    Yes, I should have mentioned that I have tried...

    Yes, I should have mentioned that I have tried that and get the following exception:

    Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor': Cannot create inner...
  18. Replies
    3
    Views
    1,142

    pointcut for all subclasses of a type

    I need some help on how to write a particular pointcut.

    I have a superclass A and multiple subclasses of A that in turn define their own methods. I want to write a pointcut that will match all...
  19. Replies
    2
    Views
    3,199

    I forgot to mention that my jsp uses a spring tag...

    I forgot to mention that my jsp uses a spring tag library to bind the form in the view.

    <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
    <form:form method="post"...
  20. Replies
    2
    Views
    3,199

    Spring portlet MVC and exception handling

    I am new to Spring Portlet MVC and Spring MVC in general. I am having trouble setting up an exception handler to handle uncaught exceptions in the handler chain. I have the following exception...
  21. Replies
    4
    Views
    5,411

    Spring + Axis + Ant

    I am trying to automate the process of generating Axis proxies that expose Spring beans as webservices as part of my build process. Since the Axis proxies delegate to Spring beans, they are all very...
Results 1 to 21 of 21