Okay. I'm not sure I'm the right coder for the task, but, I'll look into it.
--
--------- Original Message ---------
DATE: Wed, 12 May 2004 20:08:26
From: David Blevins <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc:
>On Fri, May 07, 2004 at 07:05:04PM -0400, graham king wrote:
>> I've been battling through a BMP ejb and now I'm a bit frazzled. I'm stuck at a
>> point where I begin using the
>> Connection.prepareStatement("statement",Statement.RETURN_GENERATED_KEYS);
>> Everything compiles fine, but, during runtime I'm getting the following error:
>>
>> java.sql.SQLException: method not implemented
>> at
>> org.openejb.resource.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:333)
>> at
>> com.thejanehuts.dao.agreement_feature.CmySQLAgreementFeatureDAO.insertAgreementFeature(CmySQLAgreementFeatureDAO.java:41)
>>
>> So, the prepare statement connection method which returns AUTOGENKEYS isn't
>> supported?
>
>Looks to be not supported. Here is the code:
>
> public java.sql.PreparedStatement prepareStatement(String sql, int
> autoGeneratedKeys) throws java.sql.SQLException {
> throw new SQLException("method not implemented");
> }
>
>It's a JDBC 3 set of fucntionality which are not even there. If you
>have a driver that supports JDBC 3 and are willing to fill in the
>related methods in JdbcConnection, I'm willing to check it in.
>
>-David
>
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10