About entity

181-190 of 200Refresh
Forum
8

Is there any GUI for creating/editing entity?

Hi, I'm new for JPA/JDO. How should I create/edit entity class? Is there any GUI?   In my searching easily, there is the jpa function of myeclipse, or Dail. http://www.myeclipseide.com/documentation ... for creating/editing entity and JPA/JDO things. I'm expecting the one like MySQL Workbench.    TIA :) Some
Forum
8

JPQL keyword in entity - what to do?

Hi, I have a problem with entity that is using one of JPQL keywords as one of the fields. It's a 'type' field. When I try to build a query that looks for example like this: select new ResultData(p ... and so on in my entities? It seems as an ObjectDB bug since you should be able to use JPQL keywords
Issue
8

NullPointer when accessing entity field

) at eu.ysoft.safeq.core.cache.entity.CacheableJobInfo.__odbGet_id(CacheableJobInfo.java:1) at eu.ysoft.safeq.core.cache.entity.CacheableJobInfo.getPrimaryKey(CacheableJobInfo.java:828) at eu.ysoft
Issue
8

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

over an @entity type I get a generics error. The generic for loop is:  for (Steel s ... required: com.example.entity.Steel for (Steel s: this.steelMaterials.getL_Steel().getEls
Forum
8

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel ... all the entity objects using a query on Object:     SELECT o FROM Object o Of course
Forum
8

Support of modifying an ObjectDB Entity class (Schema Change)

If you modify an ObjectDB Entity class will it be supported by a database set up using the old class? I already have an idea to iterate through a database, getting each record and then creating ... if ObjectDB can already handle changes to Entity classes. Please see my StackOverflow question
Forum
8

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction, do the modifications and commit the transaction. I want to have a managed entity that is in sync with my database. So when I got a Person class and I do person.setName("John"), the name in my database
Forum
8

Adding indexes on existing entities.

Is it safe to add indexes on an existing entity class? Thanks. Safe, but to enable the new index you will have to rebuild it, currently using the Doctor. Before running the Doctor make sure that the index is registered in the database by opening the database when it has access to the new index
Forum
8

Attempt to remove a detached entity object (error 613)

Hello, that's a strange error for me ... I have a detached object in my Java code and i just wanted to merge it ... Unfortunatly, i get this error : Failed to commit transaction: Attempt to remove a detached entity object (error 613)      at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) We see in
Forum
8

How do I Remove an entity from the Database ?

Hi I no longer want to use an Entity .. (in SQL terms the whole Table ) ... How do I delete it ?   Thanks Paul Newman Currently classes cannot be removed but this only affects the list of classes in the Explorer. Removing of classes will be supported in the future. pnewman