objectdb

Query in objectdb

半城伤御伤魂 提交于 2020-01-07 02:58:08
问题 I have to implement a query in objectdb and have very little idea. The problem is to write a query which Returns the collection of all laptops each of which has at least one other laptop preinstalled with the same processor. My Laptop class is public class Laptop { String modelName; // key int price; // in dollars boolean hasHDScreen; // has a HD Screen ? int hardDriveCapacity; // in GB Processor processor; // the preinstalled processor Memory memory; // the preinstalled memory Company madeBy

Problems searching empty user database with ObjectDB

不打扰是莪最后的温柔 提交于 2019-12-22 10:39:48
问题 I am creating a java application which uses ObjectDB to create and maintain a set of databases. I'm currently trying to implement a DB to store user objects consisting of username and password strings. On a JFrame/swing class I have a button for creating new users, when this button is clicked, I want the following to happen: Create (or connect to) database Search the database to see if a user object exists with supplied username if user already exists show a dialog message, otherwise create

Glassfish/Payara: why might deployment of a large web app to Glassfish-4.1.1 (or Payara Server 4.1.1.163) take 5 times longer than to Glassfish-4.1

拥有回忆 提交于 2019-12-12 03:36:12
问题 Mac OS X: Yosemite 10.10.5 Until recently I have been using: NetBeans8.1beta Glassfish4.1 Mojarra 2.2.7 I have recently investigated using: NetBeans8.1 Glassfish4.1.1 Mojarra 2.2.12. With a very large JSF web app (with ObjectDB as JPA persistence provider) I am experiencing massively longer deployment times to Glassfish4.1.1 (over 10 minutes) than to Glassfish4.1 (around 2 minutes). That's about 5 times slower. [EDIT: 2016-09-13 Tried with Payara 163 Full (Payara Server 4.1.1.163) and it took

Is that possible to use ObjectDB in a Spring Boot application

旧街凉风 提交于 2019-12-11 02:45:45
问题 I want to use ObjectDB in my Spring Boot application. How should I configure the application.yml file? I don't want to add persistence.xml into my application. Is that possible? 回答1: You can follow this tutorial: http://spring.io/guides/gs/accessing-data-jpa/ with adjustments to ObjectDB, as explained on this forum thread: http://www.objectdb.com/database/forum/860 来源: https://stackoverflow.com/questions/26541865/is-that-possible-to-use-objectdb-in-a-spring-boot-application