It doesn't look like bindSelect() uses FieldConversion implementations when passing the SQL Type to PreparedStatement.setObject(). Is this by design? It causes problems when the driver does not support the conversion.
Corey -----Original Message----- From: Andrey Chernyh [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 7:54 AM To: [EMAIL PROTECTED] Subject: OQL, Criteria, Joins Hi! I'm trying to load collection using criteria. Criteria criteria = new Criteria(); >>> criteria.addEqualTo( "plan.name", "aaaa" ); Query query = QueryFactory.newQuery( Subscription.class, criteria ); Query query = new QueryByCriteria( Subscription.class, criteria ); Collection queryResult = db.getByQuery( query ); Generated SQL has join instruction with table name = null. When debugging I see, that OJB tries to manage the join, but generated sql is invalid. Is this feature working or not? Best regards, Andrey Chernyh<[EMAIL PROTECTED]> Plesk Inc. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
