Questions tagged as 'hsqldb'

3
answers

Unit test with the database

I have an application that uses JPA 2 with Hibernate behind and for unit tests, I use HSQLDB in memory with JUnit 4.11. The HSQLDB is configured in a persistence.xml file in a META-INF folder. My question is: How do I upload the clean databas...
asked by 13.12.2013 / 01:06
3
answers

BD for distribution along with java application

Good evening guys, I have a small JAVA application in which some data is inserted. I would like to distribute it with a DBMS that does not require downloading and installation / configuration. I've been researching and found HSQLDB, but I hav...
asked by 05.11.2015 / 04:33
1
answer

Use of Swingworker in connection with standalone bank

I have an application in java that I did in my work, to control the sequence of numbering of trades, the same is in jar format in the network (I did using swing in java + HSQLDB). One problem that is not critical, but a little annoying, is th...
asked by 18.08.2015 / 12:28
1
answer

How do I create a database in HSQLDB?

Generally, to create a database is through the command CREATE database and the name of the database. However, I need to help a friend of mine for a college job, and I can not figure out how to create a database in this database. I...
asked by 20.11.2017 / 10:28
1
answer

Problem setting up spring data jpa project with Hsqldb

I'm trying to set up a sample project using Spring Data JPA with Hsqldb I made the person class that would be model , the interface repository and a main class to run. I did not create the database because I have a question if...
asked by 23.02.2014 / 22:17
2
answers

Can I have a settings table without primary key?

In database, this table will be for information storage and will only have one row, which may be updates and initialize null and over the course of the program will be added. Is it possible to have a table without primary key for this function?...
asked by 12.06.2017 / 18:21
1
answer

Query Table versus View Table: What is the best practice? [duplicate]

What is the best practice for querying in banco de dados , performing a direct query on table or view of it? What are the advantages and disadvantages between them?     
asked by 17.08.2016 / 14:36
0
answers

Select from 2 Java tables

Hello everyone, I'm having trouble getting data from 2 different tables from the HSQLDB database, my DAO class looks like this: @Override public List<Animal> listar() throws Exception { List<Animal> lista = new ArrayList<>...
asked by 12.04.2018 / 19:13
1
answer

Hibernate auto relationship turning into json break

I'm using Hibernate to persist the objects in an embedded HSQLDB file. I've created a similar method from a "tester" to popular and fetch the persisted information. But when I look for the informations, in debug mode it's like my result is...
asked by 10.07.2017 / 14:25
0
answers

HSQLDB shipped

Hello. I'm developing a Java application with HSQLDB. When I access the database with absolute path, everything works ok: String txtCon="jdbc: hsqldb: file: C: /ITA/workplace/hsqldb-2.3.3/hsqldb/db/crudfx"; Then I put the db folder insi...
asked by 19.04.2016 / 02:41