Home » Search

About new

11-20 of 200Refresh
Forum
16

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

internally runs SELECT NEW ... queries. For example: SELECT NEW com.arunta.base.db.FileNameDTO(r ... 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
Forum
16

Compare old and new schema

" the entity classes have in the old database file and compare that with the new classes definitions? Thanks, farid Currently there is no automatic tool to compare the old schema to the new ... new schema is the only reliable way of making sure database migration takes place correctly
Forum
16

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     Nothing is wrong with the database, and the new Boolean fields look fine. Apparently your report indicates an Explorer behavior of specifying
Issue
16

New entity objects are duplicated on merge cascading

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

Join query problem with new statetment

= em.createQuery(     "select new InspirationsPerSupplierResult(insp.id, insp.name, p.id, p.name ... be related to using NEW. There is an unexpected state during query execution. This might be caused by ... objects and the new entity objects. For more precise diagnosis - please post a sample case that reproduces
Forum
15

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
Forum
15

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 ... ); em.close(); } catch (Exception e) { throw new RuntimeException("Unable ... to create a new file 'target\objectdb\log\archive' (error 112) [11:47:18]: [com.rbccm.felix
Forum
15

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
Forum
15

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
Issue
15

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