This content has been marked as final.
Show 4 replies
-
1. Re: MySql CMP Create Table SQLException
dsundstrom Apr 25, 2002 1:53 PM (in response to sradford)Did you set the datasource mapping in your jbosscmp-jdbc.xml file of the standardjbosscmp-jdbc.xml file?
-
2. Re: MySql CMP Create Table SQLException
sradford Apr 26, 2002 5:13 AM (in response to sradford)Yes. My jbosscmp-jdbc.xml file states a type mapping of <type-mapping>mySQL</type-mapping> and I have left the standardjbosscmp-jdbc.xml file unchanged (for mySQL it contains the following:
<java-type>java.lang.Object</java-type>
<jdbc-type>JAVA_OBJECT</jdbc-type>
<sql-type>BLOB</sql-type>
).
Thanks in advance. -
3. Re: MySql CMP Create Table SQLException
dsundstrom Apr 26, 2002 10:48 AM (in response to sradford)Good, but it is nolonger called type-mapping it is called datasource-mapping. Add the doctype to your jbosscmp-jdbc.xml file so you can see the validation errors.
-
4. Re: MySql CMP Create Table SQLException
stitzl Apr 26, 2002 10:54 AM (in response to sradford)Ahh, this explains many other things as well :)
Relieved,
Lars :D