Hi,

I certainly don't expect every possible mapping to be present, but the
point is that "PostgreSQL 7.2" IS present, and that I have that exact
database :-)

Anyway, the culprit was uml2ejb, which generated XDoclet tags, one of
them being:

@ejb.persistence
          column-name="MY_INT"
          jdbc-type="INTEGER" 
          sql-type="INTEGER(9)"

I'd never thought that, apart from the mappings, sql-types still had to
be specified, but... 
Ah well, I guess I learned something once again...

Thanks!

Hans


On Sun, 2002-12-08 at 22:55, Greg Turner wrote:
> I don't know.  All I am saying is don't be so quick to assume there is a 
> bug.  Experiment with editing the file and see if you can't make it 
> work.  Or alternatively, look at the JBoss code to see exactly how it 
> uses that file.  The file is just a set of mappings.  And you can't 
> expect the author of the file (Dain) to have come up with every possible 
> mapping for every database.
> 
> SainTiss wrote:
> 
> >Hi,
> >
> >Thanks for your reply, but I'm afraid I'm not quite following you...
> >I was looking to edit the file to fix the bug, but since "INTEGER(9)" is
> >NOT in the file, I figured I can't change it there either...
> >
> >Am I mistaken here?
> >
> >Thanks
> >
> >Hans
> >
> >On Sun, 2002-12-08 at 21:48, Greg Turner wrote:
> >  
> >
> >>True, but that does not prevent you from shutting down jboss, editing 
> >>standardjbosscmp-jdbc.xml to suit your needs and starting jboss back up.
> >>Thats why that stuff is in a config file, not hard coded in.  
> >>
> >>    
> >>
> >>>I didn't find something like "INTEGER(9)" in standardjbosscmp-jdbc.xml
> >>>for example...
> >>> 
> >>>
> >>>      
> >>>
> >>Greg Turner, JBoss Authorized Consultant
> >>
> >>Tiburon Enterprise Systems
> >>http://www.tiburon-e-systems.com
> >>Box 1171
> >>Tiburon, CA 94920
> >>415-927-2543
> >>
> >>
> >>
> >>
> >>
> >>-------------------------------------------------------
> >>This sf.net email is sponsored by:ThinkGeek
> >>Welcome to geek heaven.
> >>http://thinkgeek.com/sf
> >>_______________________________________________
> >>JBoss-user mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >>    
> >>
> >
> >  
> >
> 
> -- 
> Greg Turner, JBoss Authorized Consultant
> 
> Tiburon Enterprise Systems
> http://www.tiburon-e-systems.com
> Box 1171
> Tiburon, CA 94920
> 415-927-2543
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to