You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Blake Williams <bd...@earthlink.net> on 2009/08/07 22:20:52 UTC
Example of getting data from non-JDBC datasource?
Does anyone have an example of how to get data from a non-JDBC data
source, or some docs/instructions/etc. of how this can be done?
Re: Example of getting data from non-JDBC datasource?
Posted by Andrus Adamchik <an...@objectstyle.org>.
Actually DbAdapter does not abstract all JDBC interaction. You will
have to re-implement the DataNode.performQuery() method at the minimum.
Andrus
On Aug 7, 2009, at 11:46 PM, Mike Kienenberger wrote:
> No non-jdbc examples that I know of, but I'd say you needed to create
> your own implementation of Interface DbAdapter.
>
> http://cayenne.apache.org/doc/api/org/apache/cayenne/dba/
> DbAdapter.html
>
>
> You could use the JdbcAdaptor as an example:
>
> http://cayenne.apache.org/doc/api/org/apache/cayenne/dba/JdbcAdapter.html
>
> On Fri, Aug 7, 2009 at 4:20 PM, Blake Williams<bd...@earthlink.net>
> wrote:
>> Does anyone have an example of how to get data from a non-JDBC data
>> source,
>> or some docs/instructions/etc. of how this can be done?
>>
>
Re: Example of getting data from non-JDBC datasource?
Posted by Mike Kienenberger <mk...@gmail.com>.
No non-jdbc examples that I know of, but I'd say you needed to create
your own implementation of Interface DbAdapter.
http://cayenne.apache.org/doc/api/org/apache/cayenne/dba/DbAdapter.html
You could use the JdbcAdaptor as an example:
http://cayenne.apache.org/doc/api/org/apache/cayenne/dba/JdbcAdapter.html
On Fri, Aug 7, 2009 at 4:20 PM, Blake Williams<bd...@earthlink.net> wrote:
> Does anyone have an example of how to get data from a non-JDBC data source,
> or some docs/instructions/etc. of how this can be done?
>