About empty

manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes.... class defines all the supported callback methods with empty implementations: @Entity javax.persistence.Entity ...

 
api-jpa

getJoins()

Return the joins that have been made from this bound type.(Method of javax.persistence.criteria.From)

 
forum_thread

persitencia (Preguntas y respuestas)

1ra.pregunta:     tengo un formulario y cuando grabo mas de un registro, solo me grava el ultimo mas no los anteriores. 2da.Pregunta:    Tengo un indice que no es el ID y necesito que mi tabla muestre los datos de acuerdo al indice. Como                          puedo hacerlo?. Alguien me sugiere algo. Gracias   ... persist them, failure to retrieve them or starting a new empty database every request - more details are needed. To view a table ...

 
api-jpa

getCorrelatedJoins()

Return the correlated joins of the subquery.(Method of javax.persistence.criteria.Subquery)

 
api-jpa

getDeclaredAttributes()

Return the attributes declared by the managed type.(Method of javax.persistence.metamodel.ManagedType)

 
forum_thread

Like fails if both underscore and percent are used

When using a like query that has both _ and % in it, ObjectDB seems to fail. Here is a unit test to demonstrate:   ... ) . size ( ) ) ; //DB is empty em. getTransaction ( ) . begin ( ...

 
api-jpa

isNotMember(elem, collection)

Create a predicate that tests whether an element is not a member of a collection.(Method of javax.persistence.criteria.CriteriaBuilder)

 
forum_thread

com.objectdb.o.InternalException: Unexpected internal exception

Hi, I am using objectdb.jar version 2.6.8 (installed via Maven). I am trying to authenticate a user. Initially, the database is empty. I have the following query: @javax.persistence.NamedQuery(   name = "getPersonByName",   query = "SELECT _person FROM metamodel.user.Person as _person WHERE _person.userName = :userName" ) I execute the query as follows: ... trying to authenticate a user. Initially, the database is empty. I have the following query: @ javax. persistence . ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... that is included into build.xml, offers a number of empty targets to override in build.xml, such as -post-compile and ...

 
forum_thread

JPA JPQL WHERE clause for IN :variable not working if variable is a list of Enums

Hi, I have a case where I have a JPQL query like: "select o from MyEntity o WHERE (enumField IN :enumFieldList)" And enum field is defined in MyEntity as: @Enumerated(EnumType.STRING) @Column(nullable = false) @Index private MyEnumType enumField; And MyEnumType is defined as: public enum MyEnumType { VALUE1, VALUE2, VALUE3, VALUE4 } and I call: ... ; Then query.getResultSet() *always* returns an empty list. BUT if (for example) I try "WHERE (enumField = : ...