> > "The jdbc-type attribute declares the type of the column in the > > database. This type is defaulted based on the type of the field > > being mapped." > > > > Does this mean, that an implementation may choose for an default? > > That was not the intent. The intent was that the JDBC type would be > obvious. ;-) And the "obvious" jdbc-type for char and Character is > CHAR. I'll raise this issue with the JDO experts to be sure.
Well in the case of a char it is, but in the case of a java double for example ? It all depends on the RDBMS. Some RDBMS support DOUBLE, some DECIMAL, some NUMERIC, some have other types ... -- Andy Java Persistent Objects - JPOX
