Home » Search

About name

181-190 of 200Refresh
Forum
12

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
JPA Doc
11

javax.persistence.TypedQuery

Since: JPA 2.0 Parameter getParameter(String name) Get the parameter object corresponding to the declared parameter of the given name. Get the parameter object corresponding to the declared parameter of the given name. This method is not required to be supported for native queries. Parameters: name
Forum
11

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

General Settings and Logging

" /> name="*" level="info" /> The element name odb
Manual
11

JPA Metamodel API

strAttr1 = managedType.getAttribute("name"); // Get a specific attribute - excluding inherited: Attribute strAttr2 = managedType.getDeclaredAttribute("name ... only one additional method for getting the entity name: String entityName = entityType.getName(); Attribute
Tutorial
11

Step 1: Create a Maven Web Project

Name (e.g. Guestbook) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring ... war 1.0 <name>Guestbookname> http ... .sourceEncoding>      objectdb    <name>ObjectDB
Tutorial
11

Step 5: Add a JSP Page

> Other... > Web > JSP File and clicking Next. 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 of the new ... method="POST" action="GuestServlet"> Name: name="name
Tutorial
11

Step 5: Add a JSP Page

... Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish ... "> Name: name="name" />
Tutorial
11

Step 5: Add a JSP Page

... Enter guest as the jsp file name - use exactly that case sensitive class name. Click Finish ... "> Name: name="name" />
Tutorial
11

Step 5: Add a JSP Page

> Other... > Web > JSP File and clicking Next. 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 of the new ... method="POST" action="guest"> Name: name="name