BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JBuilder wipes out extra EJB XML deployment data !

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise
View previous topic :: View next topic  
Author Message
Luis Bontempo
Guest





PostPosted: Thu Sep 04, 2003 2:43 pm    Post subject: JBuilder wipes out extra EJB XML deployment data ! Reply with 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</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





PostPosted: Thu Sep 04, 2003 2:52 pm    Post subject: Re: JBuilder wipes out extra EJB XML deployment data ! Reply with quote



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
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise All times are GMT
Page 1 of 1

 
 


Powered by phpBB © 2001, 2006 phpBB Group
.