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

>Category: JBossCMP
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Works For Me
Priority: 5
Submitted By: Neale Swinnerton (neales)
>Assigned to: Dain Sundstrom (dsundstrom)
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 ;-)





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

>Comment By: Dain Sundstrom (dsundstrom)
Date: 2002-04-15 13:30

Message:
Logged In: YES 
user_id=251431

What exactally can't be overriden?  Open a new bug report 
with exact info on the values that can't be overriden.

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

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