Hi,
        I developed a CMP bean and successfully be able to run it on JBoss. 
However, I noticed that eventhough JBoss created the table, it didn't
create the primary key for me. Here is the output when I run jboss.

...
[Auto deploy] Auto deploy of file:/usr/java/jboss2/deploy/ejb-jar-ic.jar
[Container factory] Deploying:file:/usr/java/jboss2/deploy/ejb-jar-ic.jar
[Container factory] Deploying UserBean
[Container factory] No configuration chosen. Using default configuration
[JAWS] Initializing JAWS plugin for UserBean
[JAWS] Remove:DELETE FROM userbean WHERE userID=?
[JAWS] Drop:DROP TABLE userbean
[JAWS] Create table:CREATE TABLE userbean (firstName VARCHAR(256),lastName VAR
CHAR(256),userID VARCHAR(256),middleName VARCHAR(256),password VARCHAR(256))
[JAWS] Insert:INSERT INTO userbean (firstName,lastName,userID,middleName,passw
ord) VALUES (?,?,?,?,?)
[JAWS] Select:SELECT firstName,lastName,userID,middleName,password FROM userbe
an WHERE userID=?
[JAWS] Table userbean exists
[Container factory] Started: UserBean
[Container factory] Bound UserBean to dsinet/User
..
        To prove, my assumption, I wrote a client to insert 2 records having
the same primary key. It works!!.
        I use J2EE RI to create my package (it works correctly on J2EE RI ),
so I am pretty sure that my xml for the bean should be correct.  Did I miss
something? Your help/suggestion will be aprreciated.

Thanks,
Apichat



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to