[jboss-user] [EJB 3.0] - Re: Multiple implementations of the same business interface

2009-04-07 Thread mwoelke
I see. Thanks a lot for this quick response. Regards, Milan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224017#4224017 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224017

[jboss-user] [EJB 3.0] - deploy and use own timerservice

2008-06-19 Thread mwoelke
Hello, consider the following environment: We have an app which is working on an oracle database. The application uses timers as well. By default they get serialized to the hsqldb. What we want is to switch them to the oracle datasource, which is easy configuring timers globally to use the

[jboss-user] [EJB 3.0] - Re: More than one persistent units in EJB3

2008-06-09 Thread mwoelke
what exception is it excactly, trace? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4156692#4156692 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4156692 ___ jboss-user mailing

[jboss-user] [EJB 3.0] - Re: Interceptors and AroundInvoke

2006-11-28 Thread mwoelke
try to use 4.0.4GA. this should solve it. 4.0.5GA should be ok too, if you are able to use it. Sadly thats no option for me since its buggy when redeploying the app. regards, milan wölke View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3989206#3989206 Reply to

[jboss-user] [EJB 3.0] - How to find out the jndi name of the session bean asking

2006-11-15 Thread mwoelke
Hi, does someone know how to find out the jndiname of a session bean from within one of its business methods. Or is it possible to find out what ear the session bean was deployed with? Regards, Milan Wölke View the original post :

[jboss-user] [EJB 3.0] - Re: Accessing the entitymanager outside a transaction

2006-11-13 Thread mwoelke
To answer myself, it is described in section 3.1.1 of the ejb 3 persistence spec. Regards, Milan Wölke View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985495#3985495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985495

[jboss-user] [EJB 3.0] - Re: LEFT OUTER JOIN problem

2006-11-10 Thread mwoelke
Maybe this will help... http://www.jboss.org/index.html? module=bbop=viewtopict=94272 Regards, Milan Wölke View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984868#3984868 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Composite Primary Keys - org.hibernate.AnnotationExcepti

2006-11-10 Thread mwoelke
We are using composite keys, too. But much simpler. The only difference of our code compared to the first post is that we defined getters and setters for the properties of the pk class. Regards, Milan Wölke View the original post :

[jboss-user] [EJB 3.0] - Accessing the entitymanager outside a transaction

2006-11-09 Thread mwoelke
Hi, can anybody tell me if and how it is possible to access the entitymanager outside a transaction. With no special preparations it seems to me that I can only access it inside a transaction. I know its really rare to do this, but I was wondering if it is possible at all. Any comments are

[jboss-user] [EJB 3.0] - Re: LEFT OUTER JOIN problem

2006-11-09 Thread mwoelke
Try WHERE instead of ON. Regards, Milan Wölke View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3984643#3984643 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3984643 ___ jboss-user

[jboss-user] [EJB 3.0] - Re: address CMP beans from session bean in other JAR but sam

2006-11-09 Thread mwoelke
Could it be that you have the Config entity bean in both of your jars inside the ear? Or maybe there is another deployment unit in the deploy dir containing this entity bean? We had the same exception when deploying the same entity bean twice with different ears. Regards, Milan Wölke View

[jboss-user] [EJB 3.0] - EntityManager.flush() terminated transaction on constraint v

2006-11-07 Thread mwoelke
Hi, We discovered a problem with the flush operation of the entitymanager. If you try to delete an entity, which is referenced by another, this results in a constraint violation exception at flush or commit time, which is fine. BUT, if you force the entitymanager to flush its statements to the

[jboss-user] [EJB 3.0] - Schema update has errors

2006-10-06 Thread mwoelke
Hi, we have a problem with the schema update mechanism when deploying an application to the server. But first the scenario: We are working in a team where each developer has his own oracle account with his own schema. Many of our developers have stored stored in their schemas while working

[jboss-user] [EJB 3.0] - Re: Embedded Objects set to null by entitymanager

2006-08-24 Thread mwoelke
The same happens on 4.0.4GA. If nobody objects I would enter an issue in JIRA tomorrow. Regards, Milan Wölke View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3967287#3967287 Reply to the post :

[jboss-user] [EJB 3.0] - Re: ManyToMany problem

2006-08-16 Thread mwoelke
Hi, First, you are not forced to use the JoinTable annotation. It works fine without (configure by exception - one goal of the ejb3 spec). I think the problem is what u specified with the mappedBy parameter of the manytomany. I think it should be 'students'. It should be the name of the

[jboss-user] [EJB 3.0] - How to run code on deployment?

2006-08-15 Thread mwoelke
Hi, Can anyone tell me how to run code or scripts at deployment time. For example to set up defaults in the db. Thanx in advance. Milan Wölke View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3965350#3965350 Reply to the post :

[jboss-user] [EJB 3.0] - Embedded Objects set to null by entitymanager

2006-08-14 Thread mwoelke
Hi, We've got a problem with embedded objects. Imagine the following scenario: @Entity | class A{ | int id; | B embedded; | | public A(){ | embedded = new B(); | } | | @Embedded | public B getEmbedded(){ | return embedded;

[jboss-user] [Beginners Corner] - JNLP classpath

2006-07-31 Thread mwoelke
Hi, Ive developed an ejb3 application with a swing client. i want to deploy this client via java webstart. therefore i created a war archive containing a jar with all my classes needed by the client. The problem is the client needs jbossall-client.jar as well. Can someone tell me how to include