embedded-database

Which embedded database has maximum SQL compliance, and concurrency support?

北战南征 提交于 2019-11-30 08:29:12
My application at present uses Microsoft Access, but now may be hosted on Linux boxes. Additionally while being accessed from multiple computers, one of these may update the records (when its being read by other users). I also require that the embedded database should support complex SQL queries - like inner SQL, Joins, etc. I tried SQLite , but many of the existing queries fail, or need to be fixed (like in a simple query using inner join the brackets after FROM was not acceptable to SQLite, and had to be removed). Right join too is not supported. I came to know about Apache Derby and H2 ,

How to do “select current_timestamp” in hsqldb?

笑着哭i 提交于 2019-11-30 08:23:54
Oracle: select systimestamp from dual MySQL: select current_timestamp SQL Server: select current_timestamp PostgreSQL: select current_timestamp The question is, how can I get the current timestamp in HSQLDB ? I use version 1.8.0.10 You can write select current_timestamp from tablename where tablename is a real table in your database. The result of the query is only the current timestamp. In a select I use SELECT CURRENT_DATE AS today, CURRENT_TIME AS now FROM (VALUES(0)) pilcrow @alexdown's answer is quite right -- under 1.8 you need a one-row relation to do this, like Oracle's DUAL or the

Embedded Database for .net that can run off a network

我的梦境 提交于 2019-11-30 04:43:55
I was (and still am) looking for an embedded database to be used in a .net (c#) application. The caveat: The Application (or at least the database) is stored on a Network drive, but only used by 1 user at a time. Now, my first idea was SQL Server Compact edition . That is really nicely integreated, but it can not run off a network. Firebird seems to have the same issue, but the .net Integration seems to be not really first-class and is largely undocumented. Blackfish SQL looks interesting, but there is no trial of the .net Version. Pricing is also OK. Any other suggestions of something that

Good embedded database solution (like SQLite) for .Net

大憨熊 提交于 2019-11-29 19:51:35
问题 I am looking for file based storage solutions that I can use with a .Net project. THey need to have a sql-like interface for storing and retrieving data. They need to have relatively little overhead and must not require any additional components installed by the end user. I am hopping for a .dll that I can reference and use. Cool points awarded if it is closely tied to an ORM. My current favourite is SQLite, are there any better ones out there that I should know about? I have a (health?) bias

Saving in-memory H2 database to disk

佐手、 提交于 2019-11-29 16:58:37
问题 How can I save/load full embedded h2 in-memory database to some file or directory in binary mode for faster loading. I want to use this for caching data so I don't have to run all the lines of create table/insert clauses every time. 回答1: Instead of using an in-memory database, you could use a regular (persisted) database. You can still use in-memory tables even then (create memory table). The easiest way to persist a completely in-memory database to disk is to use the SCRIPT TO 'fileName' SQL

How to do “select current_timestamp” in hsqldb?

牧云@^-^@ 提交于 2019-11-29 12:17:05
问题 Oracle: select systimestamp from dual MySQL: select current_timestamp SQL Server: select current_timestamp PostgreSQL: select current_timestamp The question is, how can I get the current timestamp in HSQLDB? I use version 1.8.0.10 回答1: You can write select current_timestamp from tablename where tablename is a real table in your database. The result of the query is only the current timestamp. 回答2: In a select I use SELECT CURRENT_DATE AS today, CURRENT_TIME AS now FROM (VALUES(0)) 回答3:

Am I crazy? Switching an established product from HSQLDB to Apache Derby

[亡魂溺海] 提交于 2019-11-29 06:35:31
问题 I have an established software product that uses HSQLDB as its internal settings database. Customer projects are stored in this database. Over the years, HSQLDB has served us reasonably well, but it has some stability/corruption issues that we've had to code circles around, and even then, we can't seem to protect ourselves from them completely. I'm considering changing internal databases. Doing this would be fairly painful from a development perspective, but corrupted databases (and lost data

Embedded (pure Java) database for Clojure

北慕城南 提交于 2019-11-28 19:28:45
I'm in need for an embedded database for a Clojure application. Maybe it's the same criteria as for any other Java application but I rather get some other people's opinion anyway. I'm not picking SQLite because that's not pure Java so distribution of a standalone application gets much more complex. It seems the way to go is Apache Derby. Anything else I should consider? Without a doubt, H2 Here are the settings, (def demo-settings { :classname "org.h2.Driver" :subprotocol "h2:file" :subname (str (System/getProperty "user.dir") "/" "demo") :user "sa" :password "" } ) And then the usual Clojure

Embedded non-relational (nosql) data store [closed]

一笑奈何 提交于 2019-11-28 17:34:46
I'm thinking about using/implementing some kind of an embedded key-value (or document) store for my Windows desktop application. I want to be able to store various types of data (GPS tracks would be one example) and of course be able to query this data. The amount of data would be such that it couldn't all be loaded into memory at the same time. I'm thinking about using sqlite as a storage engine for a key-value store, something like y-serial , but written in .NET. I've also read about FriendFeed's usage of MySQL to store schema-less data , which is a good pointer on how to use RDBMS for non

Embedded PostgreSQL for Java JUnit tests

那年仲夏 提交于 2019-11-28 16:59:24
Is there an embedded PostgreSql so that we could unit test our PostgreSql driven application? Since PostgreSql has some dialects, it's better to use embedded PostgreSql itself than other embedded databases. Embedded does not necessarily mean it must be embedded in the JVM process. It also does not necessarily need to use in-memory persistence. It should be loaded automatically by the dependency management (Maven, Gradle), so that Unit tests can run on every machine without having to install and configure a local PostgreSQL server. No, there is no embedded PostgreSQL, in the sense of an in