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
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
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.
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(
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
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
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
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
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
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
|
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.
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
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
13 matches
Mail list logo