Documentation corrected.
Thanks, Patrik
Steffen Stundzig wrote:
>
> hi,
>
> i've solved it. The correct syntax to inject repos is
>
> Repository MediaRepository {
>> @MediaCharacterRepository
> }
>
> Take care for the @ in front of the repository name. Otherwise the name
> after the >
hi,
i've solved it. The correct syntax to inject repos is
Repository MediaRepository {
> @MediaCharacterRepository
}
Take care for the @ in front of the repository name. Otherwise the name
after the > is only parsed as string name.
Patrick, could you fix the docu please?
regards
Patrik N
Hi all,
is there a possibility for accessing a repository from within another? e.g.,
public class RepoNo1 {
public void oneMethod() {
RepoNo2 r2 = getRepoNo2();
r2.doSomeThing();
}
If I take the way via JNDI lookup I always get a new session, what I don't
want. Any ideas?
TIA,
Ralf.
--
Hi patrick,
i working also on these solution. If i inject one repository into
another, the generator generates correct spring xml files. But I miss
the setXYZRepository in my MediaRepository.
I'm using the current 1.5.0-SNAPSHOT.
I've debug it a little bit. In the spring-template the generator
It is possible to inject another repository like this:
Repository MediaRepository {
> MediaCharacterRepository
List<@Media> findMediaByCharacter(Long libraryId, String characterName);
...
}
See:
http://fornax-platform.org/cp/display/fornax/3.+Advanced+Tutorial+%28CSC%29#3.AdvancedTutorial%