About named

151-160 of 200Refresh
Forum
21

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
21

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

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

The attribute column name (EXCEPTION) is a reserved SQL-99 keyword.

How do I fix this error/warning that Netbeans gives me? "The attribute column name (EXCEPTION) is a reserved SQL-99 keyword." This warning indicates mapping to a field in the database that its name ... the name of the Java field to another name in the database: @Column(name="exceptionText") private
Forum
20

@Column( name = "columnName") doesn't work

{ @Id @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp; @ManyToOne @Column(name = "KEY_DESCRIPTOR") private AfwKeyDescriptor keyDescriptor; @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) @Column( name = "DATA_ITEMS
Manual
20

Comparison in JPQL and Criteria API

and parameter expressions: Expression name = country.get("name"); Expression nameParam ... ); // Equal (=) Predicate eq1 = cb.equal(name, nameParam); Predicate eq2 = cb.equal(name ... ); // Not Equal (<>) Predicate ne1 = cb.notEqual(name, nameParam); Predicate ne2 = cb.notEqual
Forum
20

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 ... , there is a simpler way to get the class names (in one line of code). It requires a JDO' s PersistenceManager ... functionality (for example you can use it to get entity names or class names - which is not the same). dmoshal
Issue
20

Issues with JDO Casting & Full Qualified Names

Hi, As I've feared.. Fully Qualified Names in casting not working, throws an identifier expected ... base = "TEST"; } @Embeddable public static class EmbeddedA extends EmbeddedBase {   String name ... extends EmbeddedBase {     String name = "Alex"; } @Embeddable class EmbeddedB extends EmbeddedA {     String superB = "123"; } quasado
Forum
20

How best to unbind all names?

a 'name' field, which may be set as a primary key or as a unique index. This will also solve the orphan ... that it would provide fast lookup, and the bookmark name I use is in fact simply the object primary key (a String
Forum
20

A distinguished Name for server or explorer is good for maintaining!

(Connection timed out) (error 522)     So, I need a name to kill it in OS task list! This is a good idea. Thank you. gzdillon