[JBoss-user] [JBoss Seam] - Interceptors sort order

2006-05-17 Thread denis-karpov
Hi I have found that order of seam interceptors sometimes violates constraints, defined by @Within and @Around annotations. You can see it if You look at two beans in "booking" example, one with @LoggedIn interceptor another without. The relative position of ConversationInterceptor, BijectionIn

[JBoss-user] [JBoss Seam] - Re: Interceptors sort order

2006-05-18 Thread denis-karpov
Gavin, jira issue JBSEAM-235 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944552#3944552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944552 --- Using Tomcat but

[JBoss-user] [JBoss Seam] - Database connection initialization

2006-05-19 Thread denis-karpov
Hi. TASK: Before any use of any database connection that was acquired, I need to initialize a connection for every user by executing the stored procedure with parameters. PROBLEM: I really stuck in finding appropriate place where to do this. Could someone give me a clue. Any help appreciated.

[JBoss-user] [JBoss Seam] - Re: Lame question about form posting and command links

2006-05-19 Thread denis-karpov
Hi. First, for h:inputText you do not need injection. This code should work. Read more carefully about h:inputText in JSF documentation. | | | | @Name("wsTest") | public class FooAction implements Foo { | | String command; | public String getCommand(

[JBoss-user] [JBoss Seam] - Re: Lame question about form posting and command links

2006-05-19 Thread denis-karpov
anonymous wrote : How to make 'command' property visible? (I have added getters/setters in seam action class). Try to define getter and setter inside Foo interface too. anonymous wrote : | For example, my Action class has 'user' attribute of custom type User. It has, for example, 'name' prop

[JBoss-user] [JBoss Seam] - Re: [LazyInitializationException] could not initialize proxy

2006-05-30 Thread denis-karpov
Drapierwim, thank you for the very precise answer. It solves my problems too. I just want to add. That you can simplify that was said in documentation (7.4.2): @PersistenceContext(type=EXTENDED) |private EntityManager em; | Denis. View the original post : http://www.jboss.com/ind

[JBoss-user] [EJB 3.0] - Custom SQL statements for create, update, and delete operati

2006-03-30 Thread denis-karpov
Is there any way in EJB3 to specify the different sql for create, update and delete? In Hibernate it is something like: | | | | | {call createPerson (?, ?)} | DELETE FROM PERSON WHERE ID=? | {? = call updatePerson (?, ?)} | Thank you. View t

[JBoss-user] [JBoss Seam] - Auto flushing

2006-06-20 Thread denis-karpov
Hello. I have conversation. And at the end of this conversation i need to apply or reject changes. But after each post the flushing occurs. And all temporary changes persist to database. How can i switch off auto flushing? Or may be i misunderstand samething? Thanks. Denis. View the original

[JBoss-user] [JBoss Seam] - Re: Auto flushing

2006-06-20 Thread denis-karpov
Thanks for you answer. Yes Ido. I need exactly what you have described. I think it is quite common scenario. And how to be now? With EntityManager.setFlushMode() we can set only javax.persistence.FlushModeType.COMMIT or javax.persistence.FlushModeType.AUTO I tried this: | private Entity

[JBoss-user] [Installation, Configuration & Deployment] - OracleConnectionPoolDataSource

2006-06-21 Thread denis-karpov
Hello. How can i configure *-ds.xml with OracleConnectionPoolDataSource? I did not find any information about this. All samples uses drivers. I tried to replace driver-class, but get the Exception | | | | | OracleDS | jdbc:oracle:thin:@1.1.1.20:1521:RETHEAD |

[JBoss-user] [Installation, Configuration & Deployment] - Re: OracleConnectionPoolDataSource

2006-06-21 Thread denis-karpov
Thanks. Yes. I understand it. The main question, is it possible to configure jBoss data source with DataSource class? Or it works only with Driver classes? Denis. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952551#3952551 Reply to the post : http://www.

[JBoss-user] [JBoss Seam] - Resuming parent conversation

2006-07-05 Thread denis-karpov
Hello. Situation: - There is Conversation #1 controlled by PageFlow #1. - From this Conversation we start nested Conversation #2 controlled by PageFlow #2. - At the end of Conversation #2 we need to resume the Conversation #1 at the point where we leave it (at the PageFlow #1). I did not find t

[JBoss-user] [JBoss Seam] - Implementation question. ConversationContext.

2006-07-10 Thread denis-karpov
Hello. May I ask here about implementation details? Gavin, why do you keep conversation scope variables directly in the session context map? Why do we need so complicated scheme with ?additions? and ?removals? in the ServerConversationContext? What if we have just a simple Map inside Conversat