Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    600

    Found the answer Needed to turn on...

    Found the answer

    Needed to turn on weaveDependencies in my pom.xml

    http://mojo.codehaus.org/aspectj-maven-plugin/weaveJars.html
  2. Replies
    1
    Views
    600

    Spring AOP, Web apps with a Services Jar

    Hi

    Is it possible to use AOP to create aspects for code that resides in a dependency of your web application

    e.g.

    I have a webapp which contains controllers/jsp/and so on, and it has a...
  3. Replies
    1
    Views
    1,584

    Spring Batch / Hibernate Batching

    I’m using spring batch/spring data jpa and hibernate for a batch process and have an issue regarding batching, Batching isn’t working as expected when the service
    reads an entity, updates the...
  4. Spring Batch processing batches of JMS messages from a queue

    Is it possible to process messages from a queue in a batch fashion using spring batch

    I have a requirement to process a very large amount of messages on a queue, each message equates to a database...
  5. Thread: Query Caching

    by mappy
    Replies
    5
    Views
    2,153

    Query Caching

    Thanks Oliver, I will raise a JIRA
    What's the easiest way to get involved in Developing Spring Data?


    Thanks
    Mappy
  6. Replies
    1
    Views
    285

    Spring Data JPA Query Creation Bug

    Im getting the following issue using Spring Data JPA, It only seems to appear under a certain amount of concurrent load, are their any thread safety issues with Spring Data?


    ...
  7. Thread: Query Caching

    by mappy
    Replies
    5
    Views
    2,153

    More detail for Query Caching

    So I'd like to cache the results from findAll and findOne, but it seems to ignore the cache

    @Query("from People")
    @QueryHints({ @QueryHint(name = "org.hibernate.cacheable", value ="true") })
    ...
  8. Thread: Query Caching

    by mappy
    Replies
    5
    Views
    2,153

    Query Caching

    Is query caching possible with Spring Data JPA



    @Query("select p from Person p order by personNumber ASC")
    List<Branch> findAllPersonsOrderByPersonNumberAsc();


    - can I apply some...
  9. Fixed

    Changed in the app context

    From

    <bean id="entityManagerFactory"
    class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
    p:dataSource-ref="dataSource" />


    To
  10. You cannot use Pageable as method parameter if your persistence provider cannot extra

    Hi Im trying use the Paging feature of Spring Data and I get the following exception when I create a methods such as

    Page<User> findByLastName(String lastName, Pageable pageable);

    I have other...
  11. Hi Luke, yes we are not disagreeing there is a...

    Hi Luke, yes we are not disagreeing there is a synch issue and also ultimately we wont be storing the password locally - just the role based information.

    I could change the user details service to...
  12. Hi Luke, An SSO solution would fit better but Im...

    Hi Luke, An SSO solution would fit better but Im not able to push that kind of thing and have to make do with what's exposed to me.

    To make it a little more clear
    heres the flow

    1. user...
  13. Spring Security - local and remote authentication

    Hi I'm using spring security to secure a Web application using role based security and a user details service where the users are stored in a db.

    All ok so far - however I need now to authenticate...
  14. Replies
    2
    Views
    8,552

    Spring MVC + JSON + EXTJS

    Got it working in the end, by using some code from this site

    http://loianegroner.com/tag/json-lib-ext-spring/

    Updated my code to look like this


    @RequestMapping(value = "getUsers.json")...
  15. Replies
    2
    Views
    8,552

    Spring MVC + JSON + EXTJS

    Hi I'm trying to get a basic extjs grid working with the json outputted by spring

    My controller code looks like this

    @RequestMapping(value = "getUsers.json", method = RequestMethod.GET)...
  16. Images result in 404 returned - No media type found for ServletContext resource

    Im trying to get the spring samples for spring mvc working in Websphere 6.1, applications deploys and runs fine but I dont seem to get any images - I get 404 for all the image resources


    The...
Results 1 to 16 of 16