Thanks for the correction. This issue is has been a major annoyance in one project of mine. Now I just have to wait that support for this is added to spring-social-linkedin :)
Type: Posts; User: Loke; Keyword(s):
Thanks for the correction. This issue is has been a major annoyance in one project of mine. Now I just have to wait that support for this is added to spring-social-linkedin :)
It is not possible to get user's email address from LinkedIn: http://developer.linkedin.com/thread/3265
The problem is that you are not sending the data in your test. Even though you want to simulate the submission of an empty form, you should send the empty form data in the body of your request. I...
Rossen,
thank you for your answer. That solved my problem!
Hi,
I have implemented a file upload controller and I need to write an integration test for that controller by using spring-test-mvc. However, I cannot get the test pass. I will explain the...
Hi,
Make the following changes to your code:
Extend the QuerydslPredicateExecutor interface in the MyGenericRepository interface.
Extend the QueryDslJpaRepository class in your...
Could you add the code of the failing test case here?
I would personally set the jpaVendorAdapter property of the LocalContainerEntityManagerFactoryBean class instead of manually specifying the used JPA dialect. The API documentation of the...
The error message describes what is wrong:
Your persistence provider does not support extracting the JPQL query from a named query thus you can't use Pageable inside your query method. Make sure...
You might want to check out his Stack Overflow question:
How to force disable JSR-303 support in Spring 3?
I created a Jira issue about this issue:
https://jira.springsource.org/browse/DATAJPA-243
I think I found the reason for this behavior. In Spring Data JPA 1.1.0.RELEASE, QueryDslJpaRepository class contains following methods:
public Page<T> findAll(Predicate predicate, Pageable...
Hi,
I have following code that is working with Spring Data JPA 1.1.0.RELEASE (My Querydsl version is 2.7.0):
@Transactional(readOnly = true)
@Override
public List<Person> search(SearchDTO...
You might want to take a look of this application context configuration class:
...
Change the configuration of your message source bean to:
@Bean
public MessageSource messageSource() {
ResourceBundleMessageSource messageSource = new ResourceBundleMessageSource();
...
The problem is in the AdminLogin.jsp page. It seems to be related to the form:form tag but the exact problem is not clear to me since I cannot speak French. Could you add the source code of the...
Spring Data JPA 1.2 introduces @EnableJpaRepositories annotation that can be used for this purpose:
...
You can use the @QueryHints annotation as long as the method is not a CRUD method. See this discussion for more details:
http://forum.springsource.org/showthread.php?113519-Query-Caching
Oops. My bad. This is a shame because this project looked really interesting. Thanks for me letting me know about the plugin. Maybe there is a way to fix its problems.
You might also want to check out a project called Swagger:
http://swagger.wordnik.com/
Has this been added to the master branch?
Good the hear that you figured out what the problem was :)
OOPS. My bad. What are the other dependencies of your project? I am wondering if this could be an dependency management issue. It is kind of desperate but I cannot figure out any other reason for...
I have no experience from ROO but it would be strange if it would be cause of this because this exception:
Caused by: java.lang.NoSuchMethodException:...
I noticed one more difference. The visibility of your GlobalRepositoryFactory is set private. In my code the visibility of the repository factory inner class is set to protected. Try this:
...