webOS 3.0 enyo sqlite Database storage and retrieval - webos

I am creating an app for webOS in enyo. I have an sqllite database running in the browser properly but how i can find the path of this database?
And how can i retrieve this database?
Is it possible to get whole DB file?
That is very new so I can't get the solution for it.
Any suggestion or help will solve my problem.

There is a really good Enyo SQL lite wrapper class that has been developed from the Mojo version by OneCrayon...
https://github.com/onecrayon/database-webos
this is really all you will need, if you read through the code there are some very good notes on how to use it!

Its not really clear what you're attempting to do.
If you use the webSQL interface to generate a db, you can use that same interface to access it.
You cannot really access the sqllite file directly, and its not clear why you would want to.
Or are you saying you already have an sqllite database from some other source and want to be able to open it up in your application via the websql interface? Thats not currently possible.

Related

How to build a tool to enter and access data on cloud

I am a web designer with no coding experience . I was offered a project. .. the client wants a "tool to put all his data(huge employee records) on cloud and to access it as needed " .My question is
What exactly such a tool is called ?
Can it be built without coding? Websites like joomla, etc. Can they be used somehow ?
Can coding be learnt simultaneously with the project?
Sorry for the silly question.
We need a little more information. Is the employee data stored in a database? What type of database is it? When you say cloud what do you mean? AWS?
You might be able to create SQL queries without learning SQL using tools like mysqlworkbench but what you would do with that data after the query I'm not sure.

GoLang and opening MS SQL Compact files (.sdf)

As the title suggests, I'm attempting to open an SDF/MSSQL CE database in GoLang. Is this possible?
The GoLang Libraries I've found do not appear to suppot MSSQL CE database connections.
I hope this is not a duplicate, but I can not find info online
I'm afraid it would hardly be possible to work with these files directly as they merely are on-disk storage format, and note that MSSQL DBs of all flavors use .sdf as the extension of the file names of their DBs, so by itself they mean nothing.
OTOH, one direct way to approach this problem would be using
OLE DB layer.
You can also try to use
https://github.com/denisenkom/go-mssqldb
to connect to MSSQL Express instance like that:
sqlserver://sa#localhost/SQLExpress?database=master&connection+timeout=30

Pro n cons of using JavaFx with sqlite, or better option

I am creating a desktop application in JavaFx.
1.I want to save all data on client machine (data should be so big).
2.Want simple configuration with database (user friendly).
3.I search sqlite is better option for those type of application but i don't get it the advantages.So please tell me the pro n cons.
4.Is there any option for sqlite for such a application?
I am fresher with JavaFx . So I want a help .
While sql-lite is likely fine and is usable from Java, as you are writing a Java application, I think a pure java database might be preferable - for example H2.
To use H2, just include the H2 jar file on your application's class path and there is no additional setup required for use. Here is an example of using a H2 database from JavaFX over JDBC.
The H2 based example JavaFX application is from javafx connection to mysql and the answer there may provide some more basic info to get you started.
Once you start using a standard api like jdbc or jpa and have established a database connection, the great majority of database related code is pretty agnostic of the backend database system chosen.
As to canvasing detailed opinions of pros and cons of one particular database over another - a google search is probably a better resource for that than a stackoverflow question.

MS Access to Oracle database

I am developing an ASP.net application with Access database. I need to convert this Access database to Oracle. How can I do that?
I saw two options
Migrating the access database to Oracle through MIGRATION WIZARD in SQL developer
In Oracle, just creating a new connection with existing MS Access database and then converting to oracle.
Kindly let me know the best solution for this
thanks in advance,
Arjun
The two choices you proffer could be rewritten like this:
Use an automated tool written by experts
Do it the hard way and figure it out for myself
This is a personal, even philosophical, choice. Do you need to get the task done quickly? Or do you want to learn something along the way?
TRY IT and then tell us.
My experience integrating all things oracle with all things microsoft has always been complicated, and a lot of manual intervention was required.
It also depends on the complexity of your existing access database, if it's only one table, then you can grab that table sql, correct it for nvarchar -> varchar2 fields and datapump the data into oracle.
If Access has 1000+ tables I would suggest getting a professional to do it. Any reasonable dba should handle it no problem.
Please check the solution at Insert into from ms access to oracle db
You can customize the code based on your requirement. You can bundle the whole code into one class and prepare it as exe application.

Importing Data from a Microsoft Access File on a Mac

I have an MS-Access mdb file that I need to import data from into my mysql instance. I am on a mac, is there any free/OSS tools that allow me to do that? If not, is there a free/OSS JDBC driver that I can use to extract the data I need?
Thanks.
Have a look at Jackcess. Note that this doesn't support Access 97 databases, however, only 2000+.
For Access 97, the only thing I'm aware of is mdbtools, but that's a C library, so you'll have to write some JNI glue code if you want to use it from Java; also, it's not maintained anymore, to the best of my knowledge.
UCanAccess is a pure-Java JDBC driver that can read from and write to Access 2000 and newer databases. (Access 97 files are supported read-only.) It will work on any machine that runs Java.
For more details see
Manipulating an Access database from Java without ODBC
Is your Access MDB on mac?
Does the mac Access have the option of using linked tables?
If so, you can create a Linked Table from Access MDB to mySQL. Then, you could treat mysql tables as if it were part of MS-Access.
EDIT: See if this helps.
You could export the MDB file using something like this. This won't help you if you need to do it from within your app, but if you are ok exporting the data then using it, then this should help.
I do the following way to convert;
Download ACCDB MDB Explorer
http://accdb-mdb-explorer.en.softonic.com/mac
Open the MDB file
Export as SQL
Import in MySQL using MySQL Workbench.
Hope it helps..

Resources