 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Luis Bontempo Guest
|
Posted: Thu Sep 04, 2003 2:43 pm Post subject: JBuilder wipes out extra EJB XML deployment data ! |
|
|
Hi,
I'm using JBuilder 8 & JBoss and I need to put in JBOSSCMP-JDBC.XML some
extra data specified below :
....
<entity>
<ejb-name>name</ejb-name>
<table-name>table</table-name>
<ejb-designer-id>name</ejb-designer-id>
<cmp-field>
<field-name>id</field-name>
<column-name>ID</column-name>
</cmp-field>
THIS CODE HERE --->
<entity-command
name = "get-generated-keys"
class
="org.jboss.ejb.plugins.cmp.jdbc.oracle.JDBCOracleCreateCommand"/>
<--- ENDED
....
But when i go to EJB Designer JBuilder completly wipes out the data I've
entered...
Is there any way to tell JBuilder not to wipe some part of code ?
THANKS
Luis Bontempo
|
|
| Back to top |
|
 |
Luis Bontempo Guest
|
Posted: Thu Sep 04, 2003 2:52 pm Post subject: Re: JBuilder wipes out extra EJB XML deployment data ! |
|
|
OK Found the solution !
In EJB Designer selected DD for the bean and in tab Properties just added a
property with name
entity-command name="get-generated-keys"
class="org.jboss.ejb.plugins.cmp.jdbc.oracle.JDBCOracleCreateCommand"
And it works ;)
"Luis Bontempo" <bontempo (AT) mail (DOT) telepac.pt> wrote
| Quote: | Hi,
I'm using JBuilder 8 & JBoss and I need to put in JBOSSCMP-JDBC.XML some
extra data specified below :
....
entity
ejb-name>name</ejb-name
table-name>table</table-name
ejb-designer-id>name</ejb-designer-id
cmp-field
field-name>id</field-name
column-name>ID
/cmp-field
THIS CODE HERE ---
entity-command
name = "get-generated-keys"
class
="org.jboss.ejb.plugins.cmp.jdbc.oracle.JDBCOracleCreateCommand"/
--- ENDED
/entity
....
But when i go to EJB Designer JBuilder completly wipes out the data I've
entered...
Is there any way to tell JBuilder not to wipe some part of code ?
THANKS
Luis Bontempo
|
|
|
| Back to top |
|
 |
Powered by phpBB © 2001, 2006 phpBB Group .
|