application « JBoss « JPA Q&A

1. Shound I avoid using mappedBy to keep my application stable?

I have two entities like the following:

public class Trip {

    @OneToMany(mappedBy = "trip", fetch = FetchType.LAZY)
    private Set<Job> jobs = new HashSet<Job>();


public class Job {


2. Does Hibernate with Jboss make an application slower?

Is Hibernate with JBoss slow? Does that overhead cause an application to be slower than say JDBC? I understand the tradeoffs of object creation and being database agnostic, but ...

4. JBoss treechace without using JBoss App server

5. Integrating Hibernate & Jboss in application

Hi, I have a problem in integrating jboss 4.0.2 and Hibernate 3.1.I wrote the hibernate service and deployed in jboss, I connected to the service in a web application and got the SessionFactoty with this code : InitialContext ctx = new InitialContext(); SessionFactory factory = (SessionFactory) ctx.lookup("SessionFactory"); It worked fine. But when I want to connect to the service in a ...

6. Hibernate and Jboss Application Server

I'm using Hibernate 3.1 with Oracle 9i running on JBoss 4.0.3 SP1. When I create a SessionFactory with datasource the undeploy doesn't work fine. The PermGen space is not released. I think Hibernate is holding the connection. Any idea? (Sorry about the English) Code: ...