ObjectDB Database Search

51-100 of 200 results

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

internally runs SELECT NEW ... queries. For example: SELECT NEW com.arunta.base.db.FileNameDTO(r.id ... NEW ...) and UPDATE JPQL queries on the DB via the RMI interface. What we noticed is that once we UPDATE a record from the client (via the RMI interface), all SELECT NEW ... queries

Database is erased after deploying a new web application version

Hello, I'm a new ObjectDB user and currently working on a Java web application that's running within Tomcat and uses ObjectDB. Each time I upload a new version of the web application (WAR file) and deploy it from Tomcat's manager, I get a new empty database. I assume

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type ... for the two new fields fail. Suggestions?   Thank you Emil     prolancer Emil Andonov Nothing is wrong with the database, and the new Boolean fields look fine. Apparently your report indicates

Compare old and new schema

" the entity classes have in the old database file and compare that with the new classes definitions ... to the new one. However, you can open the old database in the Explorer (without entity classes in ... and an automatic comparison of old schema vs new schema is the only reliable way of making sure database

Error 990... and then new version?

.objectdb.com/database/issue/ new com.objectdb.o.InternalException: null com.objectdb.o ... I was about to post (here, since the provided url is restricted), I noticed there was a new release!  I hadn't noticed this because the maven instructions still show the old version, and the new

New Index causing troubles

Hello, we introduced a new index upon a String field Order.typeName, added to package.jdo as After starting our app with the new index on one database we got the following exception: 2019-02-01 04 ... .0-141-generic). Please report this error on http://www.objectdb.com/database/issue/ new com.objectdb

Join query problem with new statetment

;  "select new InspirationsPerSupplierResult(insp.id, insp.name, p.id, p.name) from ... trace the exception might not be related to using NEW . There is an unexpected state during query ... the database - the old embeddable objects and the new entity objects. For more precise diagnosis - please post

Failed to create a new file 'target\objectdb\log\archive' (error 112)

(see below) fails because ODB can't create a new file in a non-existing folder hierarchy. The user ... (Exception e) { throw new RuntimeException("Unable to pre-register " + DataStoreData.class, e); } }   ... .server:integration-test] Failed to create a new file 'target\objectdb\log\archive' (error 112) [11

Insert a new entity class in a class hierarchy does not work

Hello, we have an entity class hierarchy and we want to insert a new entity in this hierarchy ... , because the class hierarchy had already always existed and the " new " entity class needed still only the @Entity annotation, all remaining fields got null as a value. Only if the new entity

Attempt to begin a new transaction when a transaction is active

._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause com.objectdb.o.UserException: Attempt to begin a new transaction when a transaction is active  

New to Product & Having An Issue

Greetings ObjectDB Users! I'm new to the product, and I've setup a simple test after reading ... (); this.departmentId = new DomainId(DomainId.getNewId(), DomainId.getNewId()); } @Test public void createDepartment(){ Department department = new Department(this.departmentId, "dOne", null); try{ em

NullPointerException while setting a new property value

. support Support Please try a new build - 2.4.4_02. It will not solved the problem yet, but hopefully ... while database thread is writing new data. I guess that the enhanced code should handle it somehow.   ... and the NPE is gone. We plan more testing. We create new EntityManager for every operation

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

once a week during dev). This issue only happens when saving new items, never while updating an existing ... : 2.2.8_05 Willks William This might be related to a bug that was fixed in build 2.2.8_06. Please check that new build. support Support

UPDATE query to set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement ... , without using an UPDATE query. support Support A new issue was added to the issue tracking system based

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans/JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

Email notification about new build

Just a quick thought. It would be nice to get email notification about new builds. If a new build resolves a problem that I'm not subscribed for, I don't know about it until i check ODB page :) lwalkowski Lukasz Walkowski This is a good idea. It is now set as a website feature request in the issue tracking system. support Support

Feedback on new site

Font size on new site is huge! This is especially a problem when browsing the api.   dmoshal David Moshal Difficult to find info on ODB1, including api javadocs. dmoshal David Moshal Thank you for your useful comments. The ObjectDB 1 manual is available here . You can use the JDO menu

New Tutorial: Using BIRT with ObjectDB/JPA

Version 2.2.7 of ObjectDB added support of report generation using the popular open source Business Intelligence and Reporting Tools (BIRT). The new   Report Generation with BIRT and JPA  tutorial provides step by step instructions on how to use BIRT to produce reports based on data

Adding new unique columns

What is the best practice for when you need to add a new unique column to an existing database? Simply adding the column with the @Unique annotation will result in "Attempt to reuse an existing value (null)", so the only option I can surmise is to add the column, update all existing entries

FROM clause (JPQL / Criteria API)

, MOD, NEW , NOT, NULL, NULLIF, OBJECT, OF, OR, ORDER, OUTER, POSITION, SELECT, SET, SIZE, SOME, SQRT ... the from method is invoked - a new variable is added to the query. Criteria Query Joins JOIN variables ... of  join adds a new  JOIN variable to the query. Since From  is the super interface

Auto Generated Values

for every new entity object. These generated values are unique at the database level and are never recycled ... during commit for every new entity object. The difference is that a separate identity generator is managed ... generates an automatic value as soon as a new entity object is persisted (i.e. before commit

Literals in JPQL and Criteria Queries

= cb. literal ( new java.sql.Date()); Expression time = cb. literal ( new java.sql.Time()); Expression now = cb. literal ( new java.sql.Timestamp()); // Enum literal: Expression red = cb. literal (Color

Database Connection using JPA

= new HashMap ();   properties.put("javax.persistence.jdbc.user", "admin");    ... . If the database does not yet exist a new database file is created. When the application is finished using ... properties = new HashMap (); properties.put("javax.persistence.jdbc.user", "user1"); properties

ObjectDB Object Database Features

). Java Data Objects (JDO) Complete JDO 2 support (passed the JDO 2 TCK). Support for JDO 3 new ...  and type versioning. Class hierarchy changes are handled automatically. New added fields ... , max) - for paging. Query Structure SELECT (including NEW ). FROM (including INNER JOIN , LEFT OUTER

Working with JPA Entity Objects

: New , Managed, Removed and Detached. When an entity object is initially created its state is New ... , the owning EntityManager stores the new entity object to the database. More details on storing objects

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

with extended Persistence Context? [EDIT: 2006-09-29 New improved version of test mini web app with test ... ) Warning: javax.ejb.EJBException: com.objectdb.o._PersistenceException: Attempt to begin a new ... createProject( Element owner, String name) { try { Project p = new Project(owner, name); persistElement(p

JPA Lifecycle Events

is invoked: @PrePersist - before a new entity is persisted (added to the EntityManager ). @PostPersist - after storing a new entity in the database (during commit or flush ). @PostLoad

Setting and Tuning of JPA Queries

; createEntityManagerFacotory method:   Map properties = new HashMap();   properties.put("javax.persistence ... the createEntityManager method:   Map properties = new HashMap();   properties.put("javax.persistence

Online Backup

mode a subdirectory of the ObjectDB home directory on the server side). A new subdirectory with a name ... ;backupQuery.setParameter("target", new java.io.File("c:\\backup"));     backupQuery

General Settings and Logging

( "" ) logging to file is disabled. Every day a new log file is generated with the name odb .log (where represents the date). A new log file is also generated when the log file exceeds the maximum size

Database Server

start The TPC/IP port on which the server listens for new connections is also specified in ... the foreground the command window may be blocked. Therefore, you may need a new command window for the stop

Tracking changes to new collections (in enhancement mode) after flush

Hello, We have an issue with a list as a value in a hashmap. Within one transaction a new key ... = {CascadeType.REFRESH, CascadeType.DETACH }) private HashMap mappingMap = new HashMap (1); (edited ... ();         ListInMap entity = new ListInMap();      

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted ... ();         em.persist( new Book());       ... = Arrays.asList( new Chapter());         em.merge(book);   

New issues with queries using build 2.7.6_08

= config   btc_es BTC EmbeddedSystems Your new report was moved to a new thread, as ... #2153 , as discussed. You may want to check build 2.7.6_07. Build 2.7.6_08, however, includes some new ... users. Unfortunately according to your report, these changes also introduce a new issue

new objects not available in mappedBy associations

Given a mappedBy association: e.g: @OneToMany(mappedBy="department") public List employees;   creating a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) won't include the new object

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. Our solution is that we create a seperate product (we call it ProfileMigration) for each new

New Java 8 (JDK 1.8) Collection Methods

ObjectDB version 2.5.5 (and above) supports Java 8 (JDK 1.8). Tracking changes to collections and maps using some new Java 8 methods is currently not fully supported. The main known issue ... (which becomes an orphan) using the new methods:  removeIf(predicate) and remove(key, value). support Support

Email notification about new build

Just a quick thought. It would be nice to get email notification about new builds. If a new build resolves a problem that I'm not subscribed for, I don't know about it until i check ODB page :) lwalkowski Lukasz Walkowski

new database error

Exception in thread "main" [ObjectDB 2.7.3] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_31 (on Windows 8.1 6.3). Please report this error on http://www.objectdb.com/database/issue/ new com.objectdb.o.InternalException: com.objectdb.o.UserException: Failed

New issues with queries using build 2.7.8

(although it does solve this reported bug). A new build will be released soon. support Support Please check

500 Internal Server Error on creating a new issue

Hi, we tried (several times) to create a new issue but we receive a message: hgzwicker Hans-Georg Zwicker Thank you for this report. The error seems to be related to uploading a file (according to the website log), but unfortunately we couldn't repeat the error. Please report again if it reoccurs

UPDATE query cannot set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save

Generating new activation code gives 500 server error

Trying to generate a new activation code using our site license key gives a 500 error every time. Code generated using version 2.7.4_04 and openjdk 1.8.0_171. spiffy Jonathan Harley There was a problem, thank you for this report. Please try again now. support Support

Step 6: Set the Spring XML

). Use copy and paste to replace the default content of the web.xml file with the following new content ... , select New Other... and then choose the XML category, XML Document and click Next . Enter spring ... with the following new content: The settings above guides Spring to support annotations (for components

Step 1: Create a Java EE Web Project

We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [ New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and click Next . Select GlassFish Server 3 (or above) 

Step 4: Create an ObjectDB Data Set

the [ New Data Set] dialog box by right clicking the Data Sets node in the [Data Explorer] window and selecting New Data Set . Select the data source that was created in the previous step (e.g. ObjectDB ... successfully - a new window appears. In the Parameters list specify default values for low   ( 11

Step 7: Run the Spring Web App

. To install a new server check the Manually define a new server radio button (after Run As Run on Server

Step 1: Install BIRT and ObjectDB Driver

selecting Help Install New Software... In the [Work with] field enter the BIRT update site url. http ... ] dialog box by selecting Help Install New Software... In the [Work with] field enter the ObjectDB

Step 3: Create an ObjectDB Data Source

Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [ New Data Source] dialog box by right clicking the Data Sources node in the [Data Explorer] window and selecting  New Data Source . Select ObjectDB Data Source from the list

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from the database: Right click the tutorial package in the [Package Explorer] window and select New Class ... (String[] args) { // Open a database connection // (create a new database if it doesn't exist