EO_PK_TABLE not being created
Cord Sengbusch <[email protected]> Sat, 3 Sep 2011 15:38:08 -0400
| Newsgroups | gmane.comp.web.webobjects.woproject.devel |
|---|---|
| Message-ID | <CAKdLKuSUexnCrs04R1sjPZ4i=4wazALEwV=xXY5AHsmjSvyMUQ@mail.gmail.com> |
--0015176f0fc211525204ac0e9ec7 Content-Type: text/plain; charset=ISO-8859-1 Hi All - I am using Eclipse, WOLips, WebObjects 5.3.3 and MySQL for a small project. I am able to query tables in my database, but as soon as I try to insert a row using my WebObjects application, I get the following exception: *Error:*java.lang.IllegalStateException: Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@a8cf03 failed to provide new primary keys for entity 'Registration'*Reason:*Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@a8cf03 failed to provide new primary keys for entity 'Registration' In Entity Modeler I have com.webobjects.jdbcadaptor.MySQLPlugIn as the the Plugin in the config file. When viewing my database I do not see an EO_PK_TABLE. Not sure how to get my application to create/use the eo_pk_table. Thanks for the help. Cord --0015176f0fc211525204ac0e9ec7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi All -<div><br></div><div>I am using Eclipse, WOLips, WebObjects 5.3.3 an= d MySQL for a small project.</div><div><br></div><div>I am able to query ta= bles in my database, but as soon as I try to insert a row using my WebObjec= ts application, I get the following exception:</div> <div><br></div><div><span class=3D"Apple-style-span" style=3D"-webkit-borde= r-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-famil= y: Times; font-size: medium; "><table border=3D"0" width=3D"100%"><tbody><t= r><td align=3D"right" valign=3D"top" height=3D"13"> <b>Error:</b></td><td align=3D"left" valign=3D"top" height=3D"13">java.lang= .IllegalStateException: Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@a8cf= 03 failed to provide new primary keys for entity 'Registration'</td= ></tr> <tr><td align=3D"right" valign=3D"top"><b>Reason:</b></td><td align=3D"left= " valign=3D"top">Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@a8cf03 fail= ed to provide new primary keys for entity 'Registration'<br></td></= tr></tbody></table> <br></span></div><div><span class=3D"Apple-style-span" style=3D"-webkit-bor= der-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-fam= ily: Times; font-size: medium; ">In Entity Modeler I have=A0com.webobjects.= jdbcadaptor.MySQLPlugIn as the the Plugin in the config file.</span></div> <div><span class=3D"Apple-style-span" style=3D"-webkit-border-horizontal-sp= acing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Times; font-= size: medium; "><br></span></div><div><font class=3D"Apple-style-span" face= =3D"Times" size=3D"3"><span class=3D"Apple-style-span" style=3D"-webkit-bor= der-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">When vi= ewing my database I do not see an EO_PK_TABLE.</span></font></div> <div><font class=3D"Apple-style-span" face=3D"Times" size=3D"3"><span class= =3D"Apple-style-span" style=3D"-webkit-border-horizontal-spacing: 2px; -web= kit-border-vertical-spacing: 2px;"><br></span></font></div><div><span class= =3D"Apple-style-span" style=3D"-webkit-border-horizontal-spacing: 2px; -web= kit-border-vertical-spacing: 2px; font-family: Times; font-size: medium; ">= Not sure how to get my application to create/use the eo_pk_table.</span></d= iv> <div><span class=3D"Apple-style-span" style=3D"-webkit-border-horizontal-sp= acing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Times; font-= size: medium; "><br></span></div><div><span class=3D"Apple-style-span" styl= e=3D"-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacin= g: 2px; font-family: Times; font-size: medium; ">Thanks for the help.</span= ></div> <div><span class=3D"Apple-style-span" style=3D"-webkit-border-horizontal-sp= acing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Times; font-= size: medium; "><br></span></div><div><span class=3D"Apple-style-span" styl= e=3D"-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacin= g: 2px; font-family: Times; font-size: medium; ">Cord</span></div> --0015176f0fc211525204ac0e9ec7--