[JBoss-user] Bug about statefull session bean

2003-03-13 Thread sebastien . petrucci
tp://users.skynet.be/sebastien.petrucci/jboss.html -------- Sebastien Petrucci Java Technology Consultant - Altran Europe Philips Remote Control Systems Interleuvenlaan 74-76, B-3001 Leuven

Re : [JBoss-user] create methods of statefull session beans

2003-03-11 Thread sebastien . petrucci
I runned my application on JBoss 3.0.6 and it worked perfectly. Any idea on why it's not working on 3.2.x ? >From Heiko : > It could be that 3.2 is more strict wrt. method signatures. > E.g. with CMP finders, you always need to specify the complete > class even of 'basic' objects like String. Th

[JBoss-user] create methods of statefull session beans

2003-03-10 Thread sebastien . petrucci
problems with statefull session beans ? Regards, ---- Sebastien Petrucci Java Technology Consultant - Altran Europe Philips Remote Control Syst

[JBoss-user] login-config.xml

2003-02-25 Thread sebastien . petrucci
hap. 8) as a SAR archive ? Should I just put my file in server/default/conf ? Regards, ---- Sebastien Petrucci Java Technology Consultant - Altran Europe Philips Remote Control Systems Interleuvenlaan 74-76, B-3001 Leuven (

Re: [JBoss-user] Auto PK Generation? (JBoss3.2RC3, xdoclet 1.2b3)

2003-02-20 Thread sebastien . petrucci
Certainly, you then have many solutions : - try to find a JDBC 3.0 compliant driver for PostgreSQL. You can then use to retrieve the generated pk. (JDK 1.4) - find the SQL query than can be executed juste after an insert to retrieve the the generated pk. Usually this is something like 'select las

Re: [JBoss-user] Auto PK Generation? (JBoss3.2RC3, xdoclet 1.2b3)

2003-02-20 Thread sebastien . petrucci
Hi, I'm using it for some time now. If you want to use the auto-increment with an unknown PK, check here : http://www.kylev.com/projects/jboss/cmpauto.html If you want to use auto-generated field with normal PK, you can do the following : ... User users

[JBoss-user] -service.xml VS -ds.xml

2003-02-19 Thread sebastien . petrucci
Hi, I recently discovered that it was possible to define a datasource by deploying a 'XXX-ds.xml' (...) instead of a 'XXX-service.xml'. Although it looks much simpler, the datasource file seems to be much more limited. What's the recommended format to use ? Is there a DTD for the datasource f

Re: [JBoss-user] Re : Maybe it is me

2003-02-18 Thread sebastien . petrucci
Valter, Good luck for your future developements and don't hesitate to come back if you need help ! Seb ;-) --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___

[JBoss-user] Re : Maybe it is me

2003-02-18 Thread sebastien . petrucci
Hi, Just a few questions ... Are you familiar with Java ? Are you familiar with J2EE ? If your answer is 'no' to both questions, then you should reconsider your technological choices. J2EE is a powerfull system, but it's not a trivial API that you can understand in 30 minutes. Starting with J

RE: [JBoss-user] Bug when setting a CMR in ejbPostCreate()

2003-02-05 Thread sebastien . petrucci
Sacha Labourey : > Are you using a transaction for your home.create call? I'm using CMT, and yes ... As the transaction covers ejbCreate() and ejbPostCreate() my DB is still ok. In fact, after playing with that I noticed that the create method throws a EJBException instead a CreateException in t

[JBoss-user] Bug when setting a CMR in ejbPostCreate()

2003-02-05 Thread sebastien . petrucci
Hi all, I'm using JBoss 3.2 RC1 / MySQL 4.0.9 and I found a bug in the CMP engine. When you want to set a CMR field during an EJB's creation, you have to do it during ejbPostCreate(). The problem is that if an SQLException is thrown in this ejbPostCreate() while setting a CMR field, no CreateExc