[JBoss-user] [EJB/JBoss] - Re: Recursive. Recursive. Recursive. Exception.

2004-06-30 Thread KarstenTS
No, do I have to? I don't call them... yet. It sure makes sense to work with these, but not til now. Can I make the Transaktion wait a bit longer before throwing Exceptions? And, above all, how do I do that? Thaks for the quick reply, Karsten View the original post : http://www.jboss.org/index

[JBoss-user] [EJB/JBoss] - Recursive. Recursive. Recursive. Exception.

2004-06-30 Thread KarstenTS
Hey All! I am trying to write a scheduling tool. The deal is the assignment of employees to shifts. So, there is a SessionBean that walks throught employees and shifts to find the perfect plan. However, this is a SessionBean, called by a MessageDrivvenBean, that has a recursive method. As ther

[JBoss-user] [Performance Tuning] - SessionBean-Timeout and/or Slow-JavaClass

2004-06-28 Thread KarstenTS
Hey All! I'm trying to write a scheduling Tool, where a MessageDriven Bean gets a hit to start scheduling, because it takes some time. This MDB passes the call to either a Session Bean or a standard JavaClass, where the logic is implemented. The deal to assign 25 Employees recursive to about 50

[JBoss-user] [Installation & Configuration] - Order of deployment

2004-06-09 Thread KarstenTS
Aloha! When starting JBoss, there is always a looong ExceptionStack shown, where the entity Beans should be deployed. The problem is the connection to the database, because the J/Connector (of MySQL) is deployed later. How can I define, that JBoss have to deploy the MySQL jar first and the enti

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-PK Problems...

2004-04-13 Thread KarstenTS
Well... what can I say... this works perfectly as well... thank you very much! Being within the EJB spec is a bit more sedative. ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830279#3830279 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-PK Problems...

2004-04-13 Thread KarstenTS
That are good points. In fact, now that you tell it, I remember to have read the object things and am now wondering, why this works. Well, it does. Even though the ejbCreate is Integer. Strange... I had an error, with not declaring a pk-field, or having a pk-field declared, which is no cmp-fiel

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-PK Problems...

2004-04-12 Thread KarstenTS
Yes, it works perfect by now. Well, in fact, I do have some ForeignKey Problems, but that's a different story... ;) This is the solution: ejb-jar.xml | | | EB_DataBase - Employee: Employee | Employee | medsched.entity.employee.EmployeeLocalHo

[JBoss-user] [Persistence & CMP/JBoss] - Wrong SQL Statement... (MySQL)

2004-04-01 Thread KarstenTS
Hi folks! I thought I get, those UNKNOWN-PKs running, but now MySQL screams. There's a wrong statement created...CREATE TABLE EMPLOYEE | (firstname VARCHAR(250), |lastname VARCHAR(250), |employeeid INTEGER(11) NOT NULL IDENTITY, |CONSTRAINT PK_EMPLOYEE PRIMARY KEY (employ

[JBoss-user] [Persistence & CMP/JBoss] - Unknown-PK Problems...

2004-03-31 Thread KarstenTS
Hi folks, I'm trying to get an CMP EntityBean startet that should have an auto-generated primary-key, an auto-incremented Integer. After searching quite a long time for information about this, I found only little. And it's not working. I'd strongly apreciate some help, or maybe even some links/