Home » Search

About entity

171-180 of 200Refresh
Forum
10

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info and warn level).     If the entity classes are already enhanced (build time enhancement
Forum
10

Exception after update of indices of Entity class

Hello, I changed the index definition of an entity class from @Index()... to @Indices() and now I get the following stacktrace upon start: Exception in thread "ODB-IndexActivation" java.lang ... = {"relations.related"}) }) public class Event extends Entity {     @Embedded     private Recurrence
Forum
10

Get multiple entities by Id

I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any ... ();         emf.close();     }     @Entity     public static class MyEntity {         private
Forum
10

Getting a list of all the entity class names

I was wondering if there is any way to get a list of the entity names in the database? You can use the Metamodel API as explained by the JPA Metamodel API page in the manual. Actually ... functionality (for example you can use it to get entity names or class names - which is not the same). dmoshal
Forum
10

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
10

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
10

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
10

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
10

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
10

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