Hi again:
My first try with SDo wasn't encoraging. This very simple example
das = DASImpl.FACTORY.createDAS(getConnection());
Command readCustomers = das.createCommand("select * from PERSON");
DataObject root = readCustomers.executeQuery();
gives a error on this last line. The connection is ok because the same
sql statement works using jdbc directly.
The error is as follows:
Exception in thread "main" java.lang.AbstractMethodError:
com.microsoft.jdbc.sqlserver.SQLServerConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;
at
org.apache.tuscany.das.rdb.impl.ConnectionImpl.prepareStatement(ConnectionImpl.java:98)
at
org.apache.tuscany.das.rdb.impl.Statement.getPreparedStatement(Statement.java:199)
at
org.apache.tuscany.das.rdb.impl.Statement.executeQuery(Statement.java:53)
at
org.apache.tuscany.das.rdb.impl.ReadCommandImpl.executeQuery(ReadCommandImpl.java:61)
Help, anyone?
--
Melhores cumprimentos / Best regards
António Santos Mota
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]