Hi everyone,

I successfully went through the fibo tutorial, got everything to run, and 
extended the tutorial with an entity bean connecting to a mySQL database. 

Currently I am trying to convince JBoss to use MY table for the bean 
persistence instead of creating it's own - without much success! Everything 
works fine, but JBoss always creates a table with the same name as the class.

My bean header is posted below.

Any help is appreciated!!!!

Maik



/**
 * @ejb.bean name="DBEntity"
 *           display-name="Name for DBEntity"
 *           description="Description for DBEntity"
 *           jndi-name="ejb/DBEntity"
 *           type="CMP"
 *           cmp-version="2.x"
 *           view-type="remote"
 *                       primkey-field = "userId"
 *                       
 * @ejb.persistance 
 *                      table-name="usertable";
 * 
 * @jboss:table-name="usertable";
 * 
 * 
 */

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867000#3867000

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867000


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to