For reference, mfirry has posted this question at StackOverflow: http://stackoverflow.com/q/13799393/923560 . I'd be happy if anyone could post a solution.
Type: Posts; User: Eduard; Keyword(s):
For reference, mfirry has posted this question at StackOverflow: http://stackoverflow.com/q/13799393/923560 . I'd be happy if anyone could post a solution.
JIRA issue for this: https://jira.springsource.org/browse/SOCIALFB-70
Thanks Vaijesh! But in my particular case, eager-loading won't help: My data has a graph structure (think of my @Entity class representing a social network). By recursion, eagerly loading could...
I have a Spring Data Jpa "JpaRepository" for my @Entity. Using it in a single-threaded environment works great (e.g. using the JpaRepository singleton in a simple JUnit test; e.g. using the...
What is the default lock mode when using Spring Data JPA?
With respect to Spring Data JPA's 1.3.0.RELEASE locking documentation:
What is the default lock mode of...
Do you mean something like this:
class UserRepositoryImpl implements UserRepositoryCustom {
@Inject
private UserRepository userRepository;
@Inject
public...
I'm using Spring Data 1.2.0.RELEASE. I'm using Spring Data's "custom implementation repository" functionality, as it is described here:...
What is the rationale behind JdbcTemplate and Spring Data's JpaRepository queries to return List<T> instead of the more general Collection<T>?
From a set-theoretic view, with many database tables...
How can I have the "backend developer" gain control over the OAuth authorization scope for some social provider?
For example, in the "Spring Social Showcase" sample webapp, it is inside JSPs (e.g....
Oliver, thank you for your competent answer! I just realized that Spring Data's class SimpleJpaRepository<T, ID extends Serializable> is annotated with @org.springframework.stereotype.Repository,...
Related: https://jira.springsource.org/browse/SEC-1953
Spring Context provides an annotation org.springframework.stereotype.Repository .
From the Javadoc:
On the other hand, Spring Data provides an interface...
You can now use the annotation @EnableJpaRepositories("some.root.package") .
For example:
@Configuration
@EnableTransactionManagement(proxyTargetClass = true)...
In the meantime, I found some more documentation mistakes. Could someone clarify to which Jira project one should post "bugs" to?
I think I spotted a mistake in Spring's documentation. Is there a formalized way of reporting document errors, e.g. via JIRA?
The mistake is located in "13.4.3 Batch operations with multiple...
I'm still wondering about this one... especially because the @interface "Bean" (that is, org.springframework.context.annotation.Bean) has a method
Autowire autowire() default Autowire.NO;,...
I've just successfully installed Spring Tool Suite (STS) for Eclipse Juno (4.2) Version: 3.0.0.201208090952-RELEASE from the Eclipse Marketplace.
Is it just me, or is the Eclipse Marketplace...
Thank you for reacting so quickly and competently!
I checked out the new spring-social-showcase version. At first I got new problems/regression bugs, which I were able to fix the following way...
I'm using Eclipse / SpringSource Tool Suite with m2e (Maven plugin). It turns out to be nearly impossible to have m2e use other artifacts than the ones m2e deems to be right, as per the...
The "Spring Social Facebook Web" artifact folder description in the Spring Maven Snapshot Repository at ...
The spring-social-showcase has an @Configuration class named org.springframework.social.showcase.config.SocialConfig . Inside this class, there is an @Bean method similar to
@Bean
public...
I stumbled upon several bean name constants in the Spring Framework Javadoc's constant field values list. These constants can be identified by the "_BEAN_NAME" suffix, for instance...
I just came across another bean-out-of-the-box (at least when used in conjunction with Spring Security?):
"springSecurityFilterChain"
As the documentation points out:
Now I'm curious to...
I'd like to file a request. The problem is I only have a vague understanding about STS' features and views. That is, I didn't find any documation explaining what the different Spring views (e.g....
Hi Martin,
I too came across the problem that the "Spring Explorer" doesn't show me beans for my purely annotation-driven Spring project (... I'm currently playing around with the...