My EntityManager is injected to my session scoped and I have 3 methods:
| @PersistenceContext(type = EXTENDED)
| private EntityManager em;
|
| public String list(){
| ...
| }
|
| public String edit(){
| ...
| }
|
| public String save(){
| ...
| }
|
In list method, I retrieve a collection of data from db. in edit(), I start to edit for a single entity. in save(), when I try to use em.persist(myentity) or em.merge(myentity). I get java.lang.IllegalArgumentException: Entity not managed.
If I change my ejb to conversation scoped, the problem would disappear. Any idea?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007218#4007218
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007218
Yes, I'm using it. The locale is not fully taken over, languages are, but the format is currently not. There are some different patches in the jira, but at least mine seems to have some problems (after a validation error the format is lost). Besides that, I think it is less usable for dates far in the past (but not as unusable as the icefaces one is, that is even less usable)
The background transparancy could be becuse you do not have the background image in the right place (look at the css)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007175#4007175
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007175
I'm trying to build jbpm from cvs HEAD and after successfully navigating around different problems i can't resolve the following. The build stops after 10 mins and displays this error message:
BUILD FAILED
| /Users/stefano/workspace2/jbpm.3/build/build.xml:55: The following error occurred while executing this line:
| java.io.FileNotFoundException: /Users/stefano/workspace2/jbpm.3/jboss/db/build.xml (No such file or directory)
I cant find this file, neither on my local drive nor in the cvs. I already set the JBPM_REPO and manualy updated the antlr library path. i'm working on os x 10.4 with eclipse 3.2.1
Any help or hint would be appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007170#4007170
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007170