Home » Search

About name

191-200 of 200Refresh
Tutorial
12

Step 5: Add a JSP Page

(to prevent direct access to the JSP bypassing Spring). Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish to create the new JSP file. Now replace the content ... "> Name: name="name" />
Manual
12

JPA / JDO Class Enhancer

reserved. Usage: java com.objectdb.Enhancer [ | | ] ... - name ... ), *? wildcards supported include: -cp   :  path to input user classes -pu <name> :  persistence unit name -s :  include sub directories in search -d    :  output path
Result
12

Posting to ObjectDB Website - Important Instructions

();     }     @Entity     public static class MyEntity {         private String name;         MyEntity(String name) {             this.name = name;         }         @Override         public String toString() {             return name;         }     } } Note: If you are using NetBeans please ignore
Forum
12

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

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
11

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
11

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
11

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
11

@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
Forum
11

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