i have generally problems to insert datas into my mysql-table at ejbCreate or
ejbPostCreate. For example:
| public Integer ejbCreate(Integer idcompanyuser, Integer companyid,
| String username) throws CreateException {
| setIdcompany(companyid); // -> works
| return null;
| }
|
| public void ejbPostCreate(Integer idcompanyuser, Integer companyid,
| String username) throws CreateException {
| setActivated("1"); // -> DOESN'T WORKS
| setCompanyusername(username); // -> works
| setConfirmed("0"); // -> works
| }
The columns 'activated' and 'confirmed' have the type CHAR(1).
I use the newest J-Connector of MySQL.
(Nochwas: Für die vielen Views bin ich NICHT verantwortlich.)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883579#3883579
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883579
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user