[basex-talk] Item to string in java

2017-12-13 Thread Tushar Deshmukh
Namaste, Sorry it might be documented but I m unable to find it. Please please point in correct direction. How can we convert item from restxq to string in java. My restxq is as below import tallyfunction:"tdd.Tfunctions" %rest:post("{$data}") Function checkInJava($data as item()) { tallyfunctio

[basex-talk] Using Basex-GUI in Java

2017-10-29 Thread Tushar Deshmukh
Namaste All, I wants to use Tableview of basex for reporting purpose in my java application. But unable to instantiate. Please help. Bellow is the tried code. public static void main(String[] args) { TableView t = new TableView( ) ; } Can I use this for RDBMS applications also. Regards, Tu

[basex-talk] Basex with JSmooth

2017-04-09 Thread Tushar Deshmukh
Namaste, I want to start Basex HTTP server using Jsmooth (I want to make .exe file from BasexHTTP.jar.) I am not able to do so because which class is to be instantiate. Any link/Help is appreciated. Mangal Bhavna Sahit, Tushar

[basex-talk] and operator in Multiple Predicates

2017-03-23 Thread Tushar Deshmukh
ST/UDF:MaheshCIFlag.LIST/UDF:MaheshCIFlag/text()= $pledger_status] return $allitems/MasterId Expected 2 records/nodes instead 4. Tushar Deshmukh,  Import Data Vouchers Sunder Shewak Sabha -1 20170228 59b24a88-b1b6-4462

[basex-talk] Index on specific node

2017-03-19 Thread Tushar Deshmukh
Namaste All, Can we index the database only on one/few specific node. I am not able to find out the help or might be putting different text for search. Thanks Tushar Deshmukh

[basex-talk] converting xq to java classes

2017-01-02 Thread Tushar Deshmukh
Namaste, I have a xq files which is working well. But now I want to convert it to java class. Is there any easy way to do so ? Please help. Regards, Tushar Deshmukh

Re: [basex-talk] using basex locally

2016-09-22 Thread Tushar Deshmukh
On 23-Sep-2016 11:23 am, "Tushar Deshmukh" wrote: Namaste All, I want to use basex locally in Java swing project. I wanted to create database in the executable jar file's directory. Suppose my directory is on c:\tdd My code is as below public static void createdatabase() th

[basex-talk] (no subject)

2016-09-22 Thread Tushar Deshmukh
w Set(StaticOptions.DBPATH,"c:\\tdd ). execute(cts); new CreateDB("collection"). execute(cts); cts.close(); } I am getting an error Global option ' DBPATH' cannot be set. Please guide As user input from GUI is getting saved in local database. Thanks Tushar Deshmukh.

[basex-talk] Java

2016-08-14 Thread Tushar Deshmukh
Namaste all, I have embedded jetty in my application. I am creating basex database. But this database is created on users/public folder in Windows. I wanted to create it under my application folder. For this I have executed context to set dbpath. But it's returning error. Please help how to set db