You can always use an ad-hoc query from Java and call xdmp:sql. -Danny
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, August 18, 2014 1:54 AM To: Discussion Subject: Re: [MarkLogic Dev General] sql interface for java I have set up the odbc server and have run queries in the mlsql client. But I want ask can I run query in java other than in mlsql? Thanks evil ________________________________ [email protected]<mailto:[email protected]> From: Joe Bryan<mailto:[email protected]> Date: 2014-08-18 16:40 To: MarkLogic Developer Discussion<mailto:[email protected]> Subject: Re: [MarkLogic Dev General] sql interface for java Hi, You can setup an ODBC server, and run SQL queries with the bundled mlsql client, or any ODBC driver: http://docs.marklogic.com/guide/sql/setup#chapter. Thanks. -jb From: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Monday, August 18, 2014 at 4:31 AM To: Discussion <[email protected]<mailto:[email protected]>> Subject: Re: [MarkLogic Dev General] sql interface for java It seems that I do not express my idea clearly. What I want to express is that can I use sql to query by sql interface using java other than in the query console? ________________________________ [email protected]<mailto:[email protected]> From: [email protected]<mailto:[email protected]> Date: 2014-08-18 15:05 To: Discussion<mailto:[email protected]> Subject: sql interface for java Hi All, Could the sql interface of marklogic be used by java? The databases of marklogic support the existence of sql interface and rest interface at the same time. So I think can I use the sql interface by java directly in order to not use the seach querymanager. Best regards evil ________________________________ [email protected]<mailto:[email protected]>
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
