Bugs item #533237, was opened at 2002-03-21 18:42
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=533237&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Neale Swinnerton (neales)
Assigned to: Nobody/Anonymous (nobody)
Summary: jbosscmp-jdbc.xml defs un-overideable

Initial Comment:
 Around line 235 of 
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplication
MetaData, there is an instantiation of 
JDBCEntityMetaData something like this...

// create the new metadata with the defaults applied
entityMetaData = new JDBCEntityMetaData(this, 
defaults, entityMetaData);

However if you look at the declaration of the 
constructor in JDBCEntityMetaData it looks like...

   public JDBCEntityMetaData(
         JDBCApplicationMetaData jdbcApplication, 
         Element element, 
         JDBCEntityMetaData defaultValues) 

Note that the data and the default values are the 
wrong way round in JDBCApplicationMetaData. 

What this boils down to is that the defaults override 
the values supplied in jbosscmp-jdbc.xml, rather than
the other way round.

This happens for a few other bits of MetaData too.

I think the code will need to be restructured a bit, 
to handle the override of things like createTable. I'm 
happy to do this, but I am stuck behind a firewall 
blocking SSH access until early May...so it'll be a 
while, I think this may be more urgent than that ;-)





----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=533237&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to