Hi,

i haven't managed to use the auto generating primary key of jboss 3.2.x
and xdoclet 1.2b3!
is there any example of _one_ simple ejb out there? i can't find
anything on google!

i included the following lines into my entity bean:
...
 * @jboss.unknown-pk
 *    class="java.lang.Integer"
 *    column-name="id"
 *    jdbc-type="INTEGER"
 *    sql-type="INTEGER"
 * @jboss.entity-command
 *    name="pk-sql"
 * @jboss.entity-command-attribute
 *    name="pk-sql"
 *    value="SELECT max(id)+1 FROM TestEntity"
...

what to write in ejbCreate()? better: how to handle the creation
process? any links, ideas suggestions? 

thanx a lot
markus

-- 
-------------------------------------------------------------------------------
 Markus Garscha             
 Germany                           pgp-keyid: 0xEE18AF3B  
-------------------------------------------------------------------------------

Attachment: msg26313/pgp00000.pgp
Description: PGP signature

Reply via email to