Hi all!
I'd like to know if it's possible to have an entity with a field that is a list
of a enumeration type. I've been using entities with enumerated fields but all
of theme has a multiplicity of one.
When I try to deploy I get this error:
| Reason: org.hibernate.MappingException: Could
Hi all!
I have a question related with detaching entities. With the new specification
is possible to send an entity bean to upper layers. However, the class of the
entity obtained by the EntityManager is a class that extend of the pojo class.
Then, is needed to have additional jars in the clien
Hi all!
I'm using EJB 3.0 with hibernate and I'd like to log all the SQL queries that
are performed by Hibernate. I've changed the log4j.xml to get the queries with
the following code
|
|
|
|
|
|
|
|
|
|
|
|
|
Hi!
I've been getting the following error message in my deploy (EJB 3.0 RC8)
"bean class has no local, webservice, or remote interfaces defined and does not
implement at least one business interface" (Line 105)
This message is thrown by org.jboss.ejb3.ProxyFactoryHelper and isn't very
informat
Hi!
I'd use the methods setFirstResult and setMaxResults of the Query interface to
implement the paginations. In the specification document related with Java
Persistence API i'm reading is in the section 3.5.1.
bye
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
Thanks,
this is a excerpt of the code:
Class Person:
| @Entity
| public class Persona implements Serializable {
|
| @EmbeddedId
| private PersonaPK pK;
|
| @Transient
| private Pais pais;
|
| private String nombre;
|
| private String
hi all!
I'd like to know how I can create a entity with has a compound primary key
which fields that are cmrs too. I've been googling and searching this forum but
I haven't found how.
I've create the Entity with the X cmrs and an
@Id
public Long id
and a SessionBean to ensure that there isn't