embedded-database

Multi-user application without need to install anything - embedded database that allows concurrent user writes? [closed]

最后都变了- 提交于 2019-12-19 12:24:10
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago . I need to create an application, that is used by multiple users concurrently does not require any installation has a centralized data storage data must be stored inside company's network i don't have access to company's internal database servers or webservers These

What embedded database with Isolated Storage support can you recommend?

两盒软妹~` 提交于 2019-12-19 04:09:21
问题 I'm looking for embedded database engine supporting isolating storage. Currently I'm aware of VistaDB. What else you can recommend? Requirements are pretty simple: xcopy deployment support for isolated storage preferably free Note that you don't know exact path to the file when using IS. 回答1: VistaDB seems to have support for isolated storage. I've been using it for nearly a year now and am very happy with it all round. It's not free but its pricing starts at $60USD for version 4 (very soon

deploying winform application with embedded sqlite

て烟熏妆下的殇ゞ 提交于 2019-12-18 13:24:49
问题 I'm deploying a winform application built with vs 2008 0n XP sp3. I created a database with empty schema which i dropped in the root folder of the project and in properties i choosed Build Action : Embedded Resources and Copy to Output directory : Copy always . Now instead of having connectionstring in the app.config connectionString section, i put an entry in appSetting : key ="database"; value ="mydb.db;Version=3". So to create my connectionString i used : SQLiteConnection con = new

Embedded Database for .net that can run off a network

不羁岁月 提交于 2019-12-18 11:42:34
问题 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

Does Spring embedded database support different SQL dialects?

倾然丶 夕夏残阳落幕 提交于 2019-12-18 02:42:06
问题 H2 has a range of compatibility modes for various other databases such as MS SQL Server, MySQL, Oracle, etc that support different SQL dialects. However, when setting up an embedded database in Spring I do not find any corresponding setting. Does this imply that I have to use "plain" SQL without any dialect specific features if I for example use Oracle in production and H2 during test? Have I overlooked something? 回答1: According to the H2 doc, the Oracle compatibility mode is quite limited.

H2 database in memory mode cannot be accessed by Console

柔情痞子 提交于 2019-12-17 15:38:34
问题 I am creating an in memory database in H2 database by the following code on servlet context startup void initDb() { try { webserver = Server.createWebServer().start(); Class.forName("org.h2.Driver"); Connection conn = DriverManager.getConnection("jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1","SA",""); InputStream in = getClass().getResourceAsStream("script.sql"); if (in == null) { System.out.println("Please add the file script.sql to the classpath, package " + getClass().getPackage().getName()); } else

How to deploy a Java Swing application with an embedded JavaDB database?

删除回忆录丶 提交于 2019-12-13 14:10:40
问题 I have implemented an Java Swing application that uses an embedded JavaDB database. The database need to be stored somewhere and the database tables need to be created at the first run. What is the preferred way to do these procedures? Should I always create the database in the local directory, and first check if the database file exist, and if it doesn't exist let the user create the tables (or at least show a message that the tables will be created). Or should I let the user choose a path?

What's the appropriate way to test code that uses MySQL-specific queries internally

*爱你&永不变心* 提交于 2019-12-13 12:04:21
问题 I am collecting data and store this data in a MySQL database using Java. Additionally, I use Maven for building the project, TestNG as a test framework, and Spring-Jdbc for accessing the database. I've implemented a DAO layer that encapsulates the access to the database. Besides adding data using the DAO classes I want to execute some queries which aggregate the data and store the results in some other tables (like materialized views). Now, I would like to write some testcases which check

Populating H2 database with Spring and jdbc DataSourceTransactionManager

和自甴很熟 提交于 2019-12-13 06:46:32
问题 I am trying to use H2 embedded database with script config to create and load database during test. It works fine but when I tried to add transaction support for my database interactions I am getting error during context initialization. Here is my spring config: <bean id="dbcpDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="org.h2.Driver" /> <property name="url" value="jdbc:h2:mem:embeddedH2Database;MODE=Oracle;DB

Good embedded database for Qt?

一个人想着一个人 提交于 2019-12-12 08:43:44
问题 I am looking for good embedded database that i can use for application developed using Qt. The applications target desktop users from various sites of a single large company. The database should be able to store data separately at each site and the data shall be merged with other sites as and when it is required. 回答1: Besides SQLite, any of the following will work with Qt as an embedded database. Qt already has drivers for most of them, and you can find drivers for others. In terms of merging