[jboss-user] [EJB 3.0] - @NamedNativeQuery and collection loading

2008-07-24 Thread koatto
I'm using a parametrized named native query to initialize a collection property. Everything seems to work fine except for the fact that hibernate passes just one parameter to the query which is the bean's id. Looking at the hibernate's NamedQueryCollectionInitializer sources i found that :

[jboss-user] [Clustering/JBoss] - http session after hot deployment

2008-01-16 Thread koatto
Hi, what happens to an active sticky http session when the webapp is hot deplyed on the /farm of any cluster node? Does it ends forcing the user to login again? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120391#4120391 Reply to the post :

[jboss-user] [JBoss Seam] - Entity bean hot deploymeny

2008-01-07 Thread koatto
Is there any way to hot deploy an entity bean with seam/jboss? If not yet supported, any plan to allow it? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4117557#4117557 Reply to the post :

[jboss-user] [JBoss Tools (users)] - jpa facet not show

2007-11-22 Thread koatto
when i create a new seam project i don't find the JPA Facet among the project's facets list. I use jboss 4.2.2.GA and the last version of jboss tools got by eclipse update. Any idea? Thanks, Ale. [/img] View the original post :

[jboss-user] [JBoss Tools (users)] - Re: jpa facet not show

2007-11-22 Thread koatto
i've tried to follow the Getting Started with Red Hat Developer Studio tutorial, expecting to get all the wizard screens described, but the jpa facet selection form was missing. I refer to figure 3.4 :

[jboss-user] [EJB 3.0] - generating an entity bean at runtime.

2007-11-13 Thread koatto
Is there a way to generate an entity bean at runtime and to have the underlying persistence manager (hibernate) to manage all the related stuff such as schema generation and mapping? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103976#4103976 Reply

[jboss-user] [JBoss Seam] - s:selectDate slowing page rendering

2007-05-25 Thread koatto
I have a page with several date fields and pickers. The pages loads slowly and blocks a little on every picker. Removing all the s:selectDate everything comes out immediately. Looking at the generated html i've noticed that for every picker stuff like this is repeated : //![CDATA[ | var

[jboss-user] [JBoss Seam] - Re: adding permissions to user

2007-03-16 Thread koatto
Does this Identity overwrite the seam's RuleBasedIdentity? Any way to get them cohexisting? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4028696#4028696 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4028696

[jboss-user] [JBoss Seam] - adding permissions to user

2007-03-15 Thread koatto
how can i assign permissions to an an identity? Is there a way other than using drools rules to implement permission checks? Should i extend the Identity class? how can i have the Identity.instance() method to return my class? Is there a way to have more the one identity component? I'd like to

[jboss-user] [JBoss Seam] - custom component's decode method

2007-03-07 Thread koatto
i don't know why the decode method of my custom componed is never called by myfaces environment. All the rest works fine, encode gets called and the custom component renders, but values are obviously not applied. Any idea? Thanks. View the original post :

[jboss-user] [JBoss Seam] - Re: custom component's decode method

2007-03-07 Thread koatto
thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4026001#4026001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026001 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - h:dataTable feeded by an action method with params

2007-03-02 Thread koatto
is there a way to do something like : h:dataTable value=#{aComponent.getItems('param1','param2')} Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024691#4024691 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024691

[jboss-user] [JBoss Seam] - slow queries using lobs in entities

2007-02-16 Thread koatto
I have a problem querying an entity with a lob property, thats my entity's definition : | @Entity | public class File{ | @Id @GeneratedValue(strategy=GenerationType.AUTO) | longcode; | @ManyToOne | Person person = null; | Datetimestamp

[jboss-user] [JBoss Seam] - Re: slow queries using lobs in entities

2007-02-16 Thread koatto
i modified the code as you suggested but nothing new happened. The problem is that i cannot have hibernate to skip the blob column in the generated sql. mmm. it seems a so easy issue to solve... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017737#4017737

[jboss-user] [JBoss Seam] - Re: slow queries using lobs in entities

2007-02-16 Thread koatto
thank you very much, it helped me a lot for the moment. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017950#4017950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017950 ___

[jboss-user] [JBoss Seam] - asynchronous invokations

2007-02-14 Thread koatto
i tryied to make a synchronous calls to ejb methods following the doc guidelines and after i reverted my code, removing dispatcher and all the stuff i continue to get events every 10 seconds, that's the debug log: 16:19:34,656 DEBUG [SessionBeanInterceptor] post construct phase for component

[jboss-user] [JBoss Seam] - selectOneMenu and processValidation

2007-02-08 Thread koatto
I'm using a selectOneMenu with a custom converter, feeded by a f:selectItems which returns selectItems containing my custom objects. It seems that the jsf lifecycle stops at the processValidation phase, without upating my model, event if my page does not define any validator : | 16:43:57,593

[jboss-user] [JBoss Seam] - exceptions.xml

2007-02-05 Thread koatto
i configured redirect on exception with exceptions.xml but my app is always redirected to the seam's debug page, it seems everything is working fine : | 23:07:44,312 ERROR [AbstractSeamPhaseListener] Swallowing exception thrown by page action but the right page never appears. That's the

[jboss-user] [JBoss Seam] - Re: exceptions.xml

2007-02-05 Thread koatto
After the exception has redirected the response, how can i have access the the exception at page level? I just need to print the exception's message... thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4011662#4011662 Reply to the post :

[jboss-user] [JBoss Seam] - ending a session

2007-01-30 Thread koatto
How can i end a session, represented by a user logged in, and have all statefull beans clean up? Should i use a converstation instead? thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008249#4008249 Reply to the post :

[jboss-user] [JBoss Seam] - Re: EntityManager and manual flush mode

2007-01-30 Thread koatto
allowing seam to control the persistence context means having a pc for each converstaion, correct? Then calling the flush within one of the objects tied to that conversation causes the synchronization with db modifications occurred only inside that conv, correct? thanks. View the original

[jboss-user] [JBoss Seam] - EntityManager and manual flush mode

2007-01-29 Thread koatto
How can i setup the EM config to have it start with manual flush mode? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007750#4007750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4007750

[jboss-user] [JBoss Seam] - Re: EntityManager and manual flush mode

2007-01-29 Thread koatto
what i mean is to set some option via persistence.xml or components.xml to enable manual flushmode everywhere. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007784#4007784 Reply to the post :

[jboss-user] [JBoss Seam] - Re: EntityManager and manual flush mode

2007-01-29 Thread koatto
I just need a full control over flushes, but i think i'm not completely understanding what such a setting could involve :) Why is a so bad idea? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4007797#4007797 Reply to the post :

[jboss-user] [JBoss Seam] - start and kill a conversation

2007-01-05 Thread koatto
?xml version=1.0? | html | xmlns:h=http://java.sun.com/jsf/html; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:t=http://myfaces.apache.org/tomahawk; | xmlns=http://www.w3.org/1999/xhtml; version=2.0 | head

[jboss-user] [JBoss Seam] - Re: start and kill a conversation

2007-01-05 Thread koatto
Thanks, it clarifies a lot. So the only way to implement what i need is to explicitly create a new onversation within the method body, is it correct? does the following link code begin a conversation before the select method of searchResults component is called? s:link

[jboss-user] [JBoss Seam] - h:commandButton vs s:button

2006-12-29 Thread koatto
i'd need help understanding the behaviour of my application cause it seems that when i use a s:button component the backing components are not updated. If i use h:commandButton everything goes fine. I'm sure everything runs within the scope of a conversation. That's the code : h:commandButton

[jboss-user] [JBoss Seam] - explorer page rendering

2006-12-21 Thread koatto
accessing seam's pages from explorer i get the xml markup instead of the rendered html, while mozilla correctly renders the pages. What's wrong? ?xml version=1.0 ? | - jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; xmlns:t=http://myfaces.apache.org/tomahawk;

[jboss-user] [JBoss Seam] - components.xml

2006-12-20 Thread koatto
is it possible to include another external fiile containing component definitions inside the components.xml file? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995284#3995284 Reply to the post :

[jboss-user] [JBoss Seam] - action=

2006-12-17 Thread koatto
i'm trying to set the id of a framework's entityhome object direcly from a link action, but i'm actually getting a wrong EL error. That's my code: h1List of people/h1 | h:dataTable value=#{people.resultList} var=p | h:column | s:link action=#{personHome.setId(p.id)}

[jboss-user] [JBoss Seam] - Re: action=

2006-12-17 Thread koatto
this is my faces-config : faces-config | | application | view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler | /application | | application | message-bundlemessages/message-bundle |

[jboss-user] [JBoss Seam] - DataModel - DataModelSelection

2006-12-05 Thread koatto
Is there a way to wire together a Datamodel and a datamodelselection programmatically, without using any annotation I've collections persisted through hibernate i'd like to use in h:datatable in conjunction with row selection listeners. Guidelines and patterns widely accepted. Thanks. View the

[jboss-user] [JBoss Seam] - seam fileupload

2006-12-01 Thread koatto
the fileupload solution proposed by the seam wiki gives me the following error, what's wrong? /upload.jspx @11,67 value=#{uploadBean.file}: Exception setting property file of base with class test.seam.UploadBackingBean$$EnhancerByCGLIB$$957e2ee1, Bean:

[jboss-user] [JBoss Seam] - persistence layer

2006-11-27 Thread koatto
i've an old hibernate+jsf app and i want to move to seam. I'm planning to setup one or more session beans accessing hibernate and implementing crud for my persistent objects. Should be better to convert all my data object to ejb3? what could be the best advantage of having ejb3 instead of