thanks,
But I still don't understand how the Datamodel is basically "wiped", if it was
initially populated. This doesn't happen if the factory method is also
annotated with @Create. The factory method does the find() for the initial
population, and when I call the save() method in the same clas
Hi,
I am experiencing some slight problem, when I persist an entity that consists
of other entites, it does not cascade down. I also haven't discovered a
@Cascade tag anywhere... What can I do to avoid having to manually persist each
contained entity?
Thanks!
View the original post :
http://
Thanks for the input.
The problem is that the amount of data to be loaded might be large, so I would
have to keep that in memory the whole time. Could I not just leave the
conversation open until the user logs out just like the
SessionConversationPattern often used in Hibernate? That would allo
Hi,
Are there any problems if a method has a @Factory AND a @Create annotation? I
need to first populate the datamodel but if I remove the @Create it "resizes"
the list of the Datamodel and only has the most recent element in it, once I
add another element.
Could someone explain me in detail
Thanks Gavin,
I changed the scope to @Scope(CONVERSATION) for now on the login and ensured
that the Person has a @In & @Out tag.
This got rid of LIE, is that a bad approach? If so, can you point me to the doc
for eager fetching?
Thanks!!!
View the original post :
http://www.jboss.com/index.
mhm... it seems like there is still something wrong... getting the LIE again...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954535#3954535
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954535
Using Tomcat but need
Hi,
when I have jstl-core tags like in my view, they are outputted
without being processed, i.e. I actually find the tag in the
rendered page, however the test-case is evaluated (i.e. it says false or true).
I ensured that the jstl-tags are "registered" in the ui:composition.
I know that t
Mhm,
I modified the LoginAction to be of Scope "CONVERSATION", that got rid of the
LIE. Is there anything wrong with this approach?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954522#3954522
Reply to the post :
http://www.jboss.com/index.html?mod
To further explain what i want to do:
I have the LoginAction (taken from the booking example) which is stateless, but
I need to access at a later point in time, some collections (the Relationships)
of the user that had logged in through the LoginAction, so I figured this would
work if I use the
I forgot the stack:
|
| org.hibernate.LazyInitializationException: failed to lazily initialize a
collection of role: de.myties.core.nodes.Person.relationships, no session or
session was closed
| at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(
Hi,
thanks for the answer:
The BackingBean
@Stateful
| @Scope(CONVERSATION)
| @Name("relationshipManager")
| @LoggedIn
| public class RelationshipManagerAction implements RelationshipManager {
|
| @In(create=true)
| private EntityManager em;
|
| @DataModel
|
Hi,
thanks for the link.
I configured it just as the tutorial proposes. However, I am still getting
those LIE exceptions, even though I initialize all of my EntityManagers via
@In(create=true)
Any clues to that?
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=vie
Hi,
I have a question regarding the sample LoginAction I find in the examples. They
are always Stateless, why is this the case? I have problems with lazy loading,
because I need to access a collection from the User that logs in at a later
point in time and thus I always get a lazy loading excep
s/con\./msg/
thanks,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954226#3954226
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954226
Using Tomcat but need to do more? Need to support web services, security?
Get stu
Hi,
I was wondering if nested Datatables ( one inside another, the inner one using
the "var" tag of the outer one) work with seam. I have messages and each
message has variable numbers of "information"-tags, and i want to display first
the outer properties and then the "variable-length" inner
Thanks,
I forgot the @In tag for an attribute...
Flo
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954224#3954224
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954224
Using Tomcat but need to do more? Need to suppo
Hi is there a way to output any sort of errors that might occur during the
initialization of a seam component? I setup an application based on the
booking-example, but when I hit "Register" nothing happens, which I cannot
understand since I have a navigation rule for the register action and didn
I forgot to mention that I tried using the "JBossEntityResolver" however, it
doesn't seem as if it recognized my beans...
What am I doing wrong???
Thanks...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953306#3953306
Reply to the post :
http://www.jboss.
Hi There,
I looked around trying to find out more about the EntityResolver that I need
when using Annotated Entites (so no hbm files) but couldn't find anything.
What's the name of the entity resolver? Where can I find it? I activate the
checkbox "Enable hibernate ejb/annotation..." but I cann
Hi,
I have an abstract base class and would like to use some of its properties in
for persistance, but I can only find the annotation MappedSuperclass - which
doesn't seem to work for an abstract class - and if I don't specify the
abstract class at all, all it's properties aren't known to Seam,
Ok ok... cleared.
"read" is a reserved word in MySQL and it is used as a variable in the
application. Just changed that, it did it.
Thanks anyways.
F
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953138#3953138
Reply to the post :
http://www.jboss.com/ind
Hi,
I tried to deploy the Messages Application (from the seam-examples / tutorial)
but failed to do so, since the schema cannot be exported. Now, I tried Booking
and Registration, both work fine after changing the Persistance.xml. I also
modified the Persistance.xml for the the Messages Applica
Argh... somebody had the same errors. Sorry, I saw it too late. The answer is
of course:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84871
Adios,
Flo
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953133#3953133
Reply to the post :
http://www
Hi,
I am currently running JBoss 4.0.4 GA (installed with EJB 3.0 Profile), and
JBoss Seam 1.0.1 GA, with MySQL 4.1.20 (tried also 5.1). I wanted to exchange
the default HQSQL database for a MySQL, and removed the hqsqldb-jdbc2-service
file, put the mysql-jdbc-service file in place (like the ar
24 matches
Mail list logo