Thank you very much, that worked wonderful. Unfortunately I ran into another
problem.
I have two EJBs and two facelets. Both EJBs have a collection (named
inventoryObjects) which are annoted as DataModels (@DataModel). Both EJBs are
Stateful with a SESSION scope.
When I now open a facelet whic
Hi
I have a problem with sessions and JBoss Seam. I have a facelet which displays
a collection of objects. In the EJB3 bean related to the facelet, I have a the
@Factory() annotation which initalizes the collection with the apropriate
objects. So far so good.
The objects from the collection ge
Hi
Sorry for the confusing question.
My questsions are:
- Is this correct, that the field annotated with @In needs to have the same
name as the entity is annoted with @Name?
- And yes how is polymorphism done over @In
Sorry again and thanks for your answer!
Thierry
View the original post :
h
Hi all
I have a problem with injection.
I have an interface called SearchCriteria and three classes (Entities) which
implement this interface. Additional I have an EJB which saves the entities in
the database. The search criteria gets injected into the bean from the facelet.
Therefor I have th
Hi all
I try to get part of a collection over eql (or whatever the ejb query language
is called). In the Hibernate tutorial it is suggested to use the criterias to
get the data from a collection. As we are using JBoss Seam framework we would
like to solve this problem directly over eql.
| @
Hi all
I try to get part of a collection over hql. In the Hibernate tutorial it is
sugested to use the criterias to get the data from a collection. As we are
using JBoss Seam framework we rely on EJB.
| @Entity
| // ...
| class SoftwareInventoryObject {
| // other code
| String n
Now I got it. Sorry. I use now:
| class SoftwareObjectSearchBean {
| // other code
|
| @PersistenceContext(type=PersistenceContextType.EXTENDED)
| EntityManager em;
|
| // other code
| }
|
| Is that the right way?
View the original post :
http://www.jboss.com/inde
Thank you for your reply. I have read through the articel in the JBoss Seam
documentation. Unfortunately I din't fully understand it. Is there an example
of an extended persistence context in the jboss-seam examples?
Thanks again for your reply and your help,
thierry
View the original post :
Hello
I have a problem with lazy loading and need a workaround.
I have an Entity called SoftwareInventoryObject which contains a Collection of
SoftwareInventoryObjectParts.
| class SoftwareInventoryObject {
| // other fields
| List parts;
|
| // Getter & Setter
| }
|
Add
Hi all
We are using the JBoss Seam framework for a project at our university.
Unfortunately no one of the project members has used Seam before and therefor
we have some problems understanding the architecture of a JBoss Seam project.
We have created such a project with the seam-gen tool and now
10 matches
Mail list logo