About name

161-170 of 200Refresh
Forum
16

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name ... .... @Entity @NamedQueries({ @NamedQuery(name = "objdbTest.Singleton.getItem", query = "SELECT o
Forum
16

Package name for persisted entities

Hi, I have a question about package name and searching for entities. As for now we were using ... . Unfortunately some of the names are the same for entities: - homplex.model.dbobject.Inspiration ... specify full name with package in persistence.xml and set "exclude-unlisted-classes" for true, ODB
JDO Doc
16

javax.jdo.Constants

. Since: JDO 2.1 String ANONYMOUS_PERSISTENCE_MANAGER_FACTORY_NAME The name of the anonymous PersistenceManagerFactory, which is the empty string. The name of the anonymous PersistenceManagerFactory, which is the empty string. Since: JDO 2.1 String ELEMENT_INSTANCE_LIFECYCLE_LISTENER The name of the instance
Forum
16

Entity name

created a class named EBResult which looks like this: @Entity(name="RESULT") public class EBResult ... library) I expected to see an object named "RESULT" due to class annotation @Entity(name="RESULT"). Instead I see following: 2.1. Why? Is the @Entity(name="RESULT") ignored by ObjectDB? 2.2
Forum
15

Is named-query supported in orm.xml

I prefer to keep custom JPQL named queries in an external file, e.g. orm.xml, rather than in the entity classes, for example: <named-query name= "DataValue.deleteByCapabilityAndCreationtime ... and d.creationtime <= :creationtime named-query
Manual
15

Paths and Types in JPQL and Criteria API

.capital.name is a nested path expression that continues from the Capital entity object to its name ... must contain a persistent field (or property) with a matching name. The path expression ... through a NULL value The following query retrieves country names with their capital city names: SELECT
Manual
15

Database Connection using JPA

. Connection URL The createEntityManagerFactory method takes as an argument a name of a persistence ... is considered by ObjectDB to be a database url rather than as a persistence unit name. To use ObjectDB ... (e.g. "objectdb:my.odb") is optional if the database file name extension is odb or objectdb
Tutorial
15

Step 6: Set the Spring XML

"> name>springname> org ... > name>springname> *.html ... (whose name is derived from the name of the Spring dispatcher servlet in web.xml). To generate
Tutorial
15

Step 6: Set the Spring XML

> name>springname> org.springframework.web.servlet ... -mapping> name>springname> *.html name is derived from
Issue
15

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getWidthPxSideBarLeft ... . There is nothing wrong with the property name 'widthPxSideBarLeft', and I think this is a genuine ObjectDB problem ... Enhancer modifies the names of persistent property get and set methods by adding __odbHidden_ prefix