anonymous wrote : 3) No support for xml mapped entities (and you're not going
to get this to work afaics)
It is possible to get it work using Hibernate API. We need access to hibernate
session object and entity.
getSession().getSessionFactory().getClassMetadata(getPersistentClass()).getIdentif
"mgrouch" wrote : Yes. Requirement to use SMPC is a problem for me.
| I load list of entities via Stateless Session EJB call (so no SMPC).
| The entities are reverse engineered from DB at build time by hibernate
tools (so no equals() method there).
Hmm. Yes, in this case s:convertEntity won't
Yes. Requirement to use SMPC is a problem for me.
I load list of entities via Stateless Session EJB call (so no SMPC).
The entities are reverse engineered from DB at build time by hibernate tools
(so no equals() method there).
Please, take a closer look at my code. Do you think solution provided
mgrouch: So your problem with the entity converter in Seam is that for it to
work seamlessly you have to use an SMPC? Or that you have to have an SMPC
configured to reload the entities? Or? I would prefer to understand your
problem and avoid forking :)
View the original post :
http://www.jboss
To be Seam managed the entity must be loaded with an SMPC (aka EntityManager
injected with @In). You don't have to use an SMPC to load the list (in either
version) but, if you don't use an SMPC and a conversation, you must implement
equals on your entities. I don't think your problem has anyth
Is it just since 1.2.1.GA that the entity has to be Seam managed? It could be
an explanation for my problem. Fortunately since I tried to update to Seam 2
and then went back to 1.2.1 the problem has gone. But I'm still interested in
recovering the reason.
Therefore could you please tell me what
I think my code is better what Seam offers.
Scope is whatever you choose to be on a subclass of EntitySelector.
You are not restricted by requirement to use SMPC.
What if your entity list is coming from stateless session EJB call with no
SMPC? My code would work. Seam would give you "Entity Manage
"mgrouch" wrote : EntityConverter and have serious
limitation in both
| Seam 2.0 and 1.2.1.GA - they require entity to be Seam managed.
I hardly think this is a "serious limitation" - you are using Seam after all,
and you'd be silly not to use a SMPC with Seam.
Anyway, the main problem with
EntityConverter and have serious limitation in both
Seam 2.0 and 1.2.1.GA - they require entity to be Seam managed.
I've solved this by not using .
Instead I've created generic class EntitySelector which returns
list of Ids and converter. I'd extend this class for each dropdown (you
probably wou
I tried it. I really did. But I had to surrender facing the list of things to
do to migrate to Seam 2.0. Sorry.
So I'm on 1.2.1.GA again. The only major change before this mibehaviour occured
was to introduce a @Startup component which is injected to the backing bean.
But I don't know why this
Hehe. OK. I'll test it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070279#4070279
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070279
___
jboss-user mailing list
jboss-u
No, the reason to upgrade is I completely redid the way entity converter works
for seam 2
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070265#4070265
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070265
Hmm. OK. I don't want to try it since it's still beta, but I'll do it next
week. Do you have an idea what it could be?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070233#4070233
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode
Please try using Seam2
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070012#4070012
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070012
___
jboss-user mailing list
jboss-us
Seam 1.2.1.GA
ICEfaces 1.6.0
JBoss AS 4.0.5.GA
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069752#4069752
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069752
___
jboss-us
What seam version?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069722#4069722
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069722
___
jboss-user mailing list
jboss-user@l
16 matches
Mail list logo