embedded-database

MySQL C API: Need example for initiating DB on *Embedded* mode

你离开我真会死。 提交于 2019-12-08 11:52:49
问题 I work on a C tool, in which I need to manipulate and query process-internal data intensively. Hence, I've decided to use the MySQL C API on Embedded mode, so I can have an embedded DB for each running process of my tool, and use all the SQL features on it. All the MySQL C API tutorials I've found over the web, deal with connecting to a running server, which is not my case. There are some examples for working with Embedded mode in Oracle's MySQL website, but they are not simple, and it's hard

Neo4j…how to get a visual representation of my data?

可紊 提交于 2019-12-08 07:59:41
问题 I have loaded an embedded instance of Neo4j with some data, and would like to know how I can now view this graph. I saw an intro video here: http://video.neo4j.org/m9FD/how-to-get-started-with-neo4j-119/. Here the guy opened an instance in his web browser via Heroku and was able not only see the data in the graph, but also enter new data and search for both nodes and relationships . How do I see the data I have entered into the graph-database? graphDb = new GraphDatabaseFactory()

How execute `schema.sql` during spring boot test without embeded datasource configuration?

烂漫一生 提交于 2019-12-08 05:04:38
问题 There is spring boot application with h2 database which is used as primary database. Also there is a resource/schema.sql wich is loaded at startup by spring boot. But during integration tests with @SpringBootTest spring boot does not load this schema.sql . Instead it requires to setup embeded database while there is h2 db already. Is there a way to execute schema.sql without embeded datasource configuration? And do it only once for all tests (e.g. using @Sql for schema creation for all test

Geospatial Indexing “No mapping found for field” with YAML

Deadly 提交于 2019-12-08 04:18:41
问题 I have a problem trying to map an embedded document for geospatial indexing using Doctrine2's OD with YAML format, and MongoDB : I would try to embed a "Coordinate" Document in the "Place" document to be able to execute some geospatial indexed queries, but got a mapping problem. As seen on the official documentation : http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/reference/indexes.html#geospatial-indexing But I work with YAML mapping format... And got this problem :

Best Embedded SQL DB for write performance?

青春壹個敷衍的年華 提交于 2019-12-07 06:09:17
问题 Has anybody done any benchmarking/evaluation of the popular open-source embedded SQL DBs for performance, particularly write performance? I've some 1:1 comparisons for sqlite, Firebird Embedded, Derby and HSQLDB (others I am missing?) but no across the board comparisons... Also, I'd be interested in the overall developer experience for any of these (for a Java app). 回答1: This benchmark from db4o might be helpful. It includes, JavaDB (Built on top of Derby), HSQLDB, SqlLite. It seems HSQLDB

Standalone Desktop Application

故事扮演 提交于 2019-12-06 16:55:12
I have been tasked with the creation of a desktop application within some very rigid constrains. The first version of the application was quite small, only intended for some specific tasks, but it seems like the application was quite liked, so I've been asked to improve it a lot . The initial app I created was made as a hta with heavy doses of javascript and jquery, using a XML to store information (through MSXML2.3.0), but the increased amount of data makes me think it won't be able to keep up with the requirements, so I wanted to remake the application on a more solid base. Of course, I'd

Spring-boot + JDBC + HSQLDB: How to Verify if Spring Boot is using a Connection Pool?

 ̄綄美尐妖づ 提交于 2019-12-06 13:54:44
According to this documentation : 29.1.1 Embedded Database Support Spring Boot can auto-configure embedded H2, HSQL and Derby databases. You don’t need to provide any connection URLs, simply include a build dependency to the embedded database that you want to use. and 29.1.2 Connection to a production database Production database connections can also be auto-configured using a pooling DataSource. DataSource configuration is controlled by external configuration properties in spring.datasource.*. For example, you might declare the following section in application.properties: spring.datasource

Spring tests are closing embedded database multiple times

与世无争的帅哥 提交于 2019-12-06 11:52:17
问题 I am using h2 embedded database which is defined like that: <jdbc:embedded-database id="embeddedDatasource" type="h2"/> And I have two tests: @RunWith(SpringJunit4ClassRunner.class) @WebAppConfiguration @ContextConfiguration("classpath:h2-context.xml") class Test1 {...} @RunWith(SpringJunit4ClassRunner.class) @ContextConfiguration("classpath:h2-context.xml") class Test2 {...} After all tests execution I do see in the log: * Closing org.springframework.context.support.GenericApplicationContext

Which local database fits my situation?

青春壹個敷衍的年華 提交于 2019-12-06 08:01:08
问题 I will be building a set of applications. One of these apps is unattended application (written in VB6) which will write data it receives from various sources to a local database. All the other applications (will be written in VS 2008/c# 3.0) will read this data for mostly reporting reasons. I don't want SQL Server/MySql/Sybase or even its express editions, because distributing it is a problem (e.g. requires separate install, etc...). I am looking for a local database that has drivers for both

Is Firebird good embedded DB for ASP.NET? Which else?

大城市里の小女人 提交于 2019-12-05 21:37:52
Looking for a good embedded db for my asp.net apps while trying to avoid SQLExpress ( I need it to be a downloable file(s) with no need to install at server ), I found Firebird. But: According to this: http://en.wikipedia.org/wiki/Embedded_database#Firebird_Embedded It has the same features as the classic and superserver version of Firebird, except that two or more THREADS (not just applications) cannot access the same database at the same time. So Firebird embedded acts as a local server for a single threaded client accessing its databases (that means it doesn't work properly for ASP.NET web