Hi,
we have an entity which has a many-to-one property that references a
polymorphic entity.
| @ManyToOne(cascade = {CascadeType.MERGE}, fetch = FetchType.EAGER) //
EAGER
| @JoinColumn(name = "wle_mbtid", unique = false, nullable = true,
insertable = true, updatable = true)
|
Gavin,
When you say Seam does not handle concurrent request, you mean concurrent
request within the same session (from the same user)?
thanks
Stefan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946533#3946533
Reply to the post :
http://www.jboss.com/inde
The same happen when you click a s:link more than once while the first click is
still being processed.
|
|
|
|
This all happens on SEAM CR3 with JBoss 4.0.4.GA.
Thanks
Stefan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946510#3946510
Reply
Hi,
we are trying to start a new Conversation in a new window throu a Javascript
function that is attached to an h:commandButton. When the button is clicked
Seam throws a NullPointException in the new window. The window that executes
the Javascript code is not part of any Seam conversation.
H
>From what I understand the effect is the same, but the EJB3 engine generates
>different SQL-code. When you eager-load all the data is fetched in one big
>SQL-JOIN query. A lazily fetched relation is queried in a separate SQL query.
>If you always need the related entities it should be faster to
Tom,
the format of the persistence.xml changed. The persistence unit is no longer
automatically stored in JNDI. The following file works for me:
|
|
| java:jdbc/WebappSample
|
|
|
|
|
|
|
|
Hi,
is there a standard way to force fetching of lazy initialized related entities?
We need to detach an object with lazyly loaded relations and access the related
objects on the detached object.
I found that when I access an non-id property of a ...toone relation object
within the transaction
Gavin,
is this by design or will it be fixed in later versions?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932131#3932131
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932131
---
Hi,
we are trying to bind a faces UI component to a conversation.scope Java bean
with SEAM 1.0B2 and myFaces 1.1.1/facelets.
Whenever the form is postet SEAM complains that "no conversation is active" and
throws an exception.
|
|
Question: Am I doing something wrong? Is there a workarou