[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-07-01 Thread Frank Lemke
Thank you! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840588#3840588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840588 --- This SF.Net email sponsored by Bla

[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-06-29 Thread Frank Lemke
Hi, sorry, in my first posting I changed the field-names in the query into english, in order to ease understanding. The realy used query with ger- man field-names ist this one: | | /** | * @ejb.select query = "select object(o) from Brief o where o.nameAkteurPK=?1 and o.nameAktien

[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-06-29 Thread Frank Lemke
Hi, sorry, in my first posting I changed the field-names in the query into english, in order to ease understanding. The realy used query with ger- man field-names ist this one: | | /** | * @ejb.select query = "select object(o) from Brief o where o.nameAkteurPK=?1 and o.nameAktien

[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-06-28 Thread Frank Lemke
Primary key for SkrontoEintrag. | * @author Frank Lemke | */ | public class SkrontoEintragPK |extends java.lang.Object |implements java.io.Serializable | { |private int _hashCode = 0; |private StringBuffer _toStringValue = null; | |public java.lang.String nameAkteurPK

[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-06-27 Thread Frank Lemke
Hi, here is a link to the class-diagram: http://www.frank-dienst.de/Klassen.bmp The PK-class: | /* | * Generated by XDoclet - Do not edit! | */ | package bp.ejb.entityBeans.pk; | | /** | * Primary key for Brief. | * @author Frank Lemke | */ | public class

[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-06-24 Thread Frank Lemke
Okay: Output from Console: | 18:18:05,223 DEBUG [Akteur#findByPrimaryKey] Executing SQL: SELECT namePK FROM Akteur WHERE namePK=? | 18:18:05,312 DEBUG [Akteur] Executing SQL: SELECT passwort, rolle, gruppe FROM Akteur WHERE (namePK=?) | 18:18:05,339 INFO [STDOUT] TryRemote -> : ejbS

[JBoss-user] [Persistence & CMP/JBoss] - Re: composed primkey, ejbSelect ... where, condition faills

2004-06-23 Thread Frank Lemke
No, it is 3.2.2. I Post you some more details, which are not 100% compatible to my first posting, since I changed and tried a lot The phenomen is: 1.) When I deploy the beans and run the client, the bean Akteur returns allways the Brief-bean, which the client wants first (see bold p

[JBoss-user] [Persistence & CMP/JBoss] - composed primkey, ejbSelect ... where, condition faills

2004-06-22 Thread Frank Lemke
Hi! 2 Entity-Beans: -Brief [ actorPK, societyPK, skrontoNrPK, price ] -Actor [namePK] PK means Primary Key, so Brief has got a composed PK. Actor wants to get the Briefs of him belonging to a certain society and a certain skronto. Actor executes this ejbSelect: | /** | * @ejb.select quer

[JBoss-user] [Security & JAAS/JBoss] - Re: 2 Apps, but just 1 wants security-manager on clientside

2004-04-16 Thread Frank Lemke
Hi Scot, you're right. That was the problem. Thank you very much! Frank View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830914#3830914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830914 ---

[JBoss-user] [Security & JAAS/JBoss] - 2 Apps, but just 1 wants security-manager on clientside

2004-04-15 Thread Frank Lemke
Hi, my problem: On the same server, there a 2 different apps. I use just one client, that I change to get a reference to a Bean of application 1 or application 2. When the client wants to get the ref of a bean of the first app (Object object = initialContext.lookup("spielkonfiguration")) it t

[JBoss-user] [Security & JAAS/JBoss] - Re: login-config.xml's

2004-04-15 Thread Frank Lemke
That's interesting. I have two applications, one can be accessed remote (get an EJBHomeReference) without securityManager, the other needs it. I wonder: Where the hell is the difference between the 2 deploymentDescriptors? I attache the ejb-jar.xml and jboss.xml of the non-secured application an

[JBoss-user] [Beginners Corner] - Re: Do you know documentation abaut:

2004-04-13 Thread Frank Lemke
The application was build with jbuilder and I have just an *.exe-file. The application throws no exception at all - they are all catched I think. I have now tried to learn with a little self-made application to test it. It goes. Yes, I have set the .properties correctly. But if I try to get the

[JBoss-user] [Beginners Corner] - Re: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.mys

2004-04-09 Thread Frank Lemke
The documentations was not up-to-date. The needed class is now org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829939#3829939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[JBoss-user] [Beginners Corner] - Could not load class: org.jboss.ejb.plugins.cmp.jdbc.mysql.J

2004-04-09 Thread Frank Lemke
Hi, I want the MySQL-DB to autoincrement the primary-key-field. Therefore it ist nessecarry to inform JBoss to use the MySQLCreateCommand. It's located in the class-file org.jboss.ejb.plugins.cmp.jdbc.mysql.JDBCMySQLCreateCommand JBoss throws this Exception. Could not load class: org.jboss.ej

[JBoss-user] [Beginners Corner] - Do you know documentation abaut: "How to configure JBoss for

2004-04-09 Thread Frank Lemke
Hi, maybe someone can point me to the right documentation... I have a Client, that whants to get remoteinterfaces of some EJB on a remote JBoss-Server, but it doesn't work. The Network is working correctly and I have seen the packets transferred between the 2 machines by using tcpdump. The rol

[JBoss-user] [Persistence & CMP/JBoss] - one to many relationship and XDoclet

2004-03-24 Thread Frank Lemke
I wondered what this errormessage would mean: "Atleast one role of a foreign-key mapped relationship must have key fields" my ejb-jar.xml deploymentdesriptor is: branche-gruppe gruppeRelationshipRole Many gruppe