database « JBoss « JPA Q&A





1. How to limit user access at database level in Hibernate    stackoverflow.com

The App

I need to implement a web app that will be used by different users. Each user has different privileges on various tables, e.g.
  • User A can see fields 'name' ...

  • 2. How to handle Multithreaded insertions with unique constrain in the database using JPA/Hibernate?    stackoverflow.com

    in a message driven bean i persist entries to lookup-table with unique entries. Basicly i create a select statement with the criteria api and if i don't find an entry, i ...

    3. Is DataNucleus working in JBOSS JEE app server for JPA access to LDAP DB?    stackoverflow.com

    I would like to access an LDAP database (and maybe NoSQL db in the future) using JBoss JEE app server. I would like to keep standard JPA annotations and not using ...

    4. Hibernate.sar/JBoss: Values not saved to DB    forum.hibernate.org

    Hi, i have a strange problem with JBoss&hibernate as a .sar: I have a SessionBean, that has to persist classes into the db, using the Hibernate-Sessions fetched from the .sar - I get no exceptions neither on openSession, beginTransaction, nor on tx.commit() - but the value is never saved to the Database - is there anything else I am missing here???! ...

    5. connecting to mySQL database withe Hibernate in JBoss AS    forum.hibernate.org

    Hello every body,i'm working in aproject using eclipse jboss and hibernate,my jboss-service.xml present in G:\jboss-4.0.2RC1\server\default\deploy\jboss-hibernate.deployer\META-INF\ is the following ///////////////////jboss-service.xml//////////////////// jboss.jca:service=RARDeployer java:/HibernateSessionFactory net.sf.hibernate.dialect.mySQLDialect net.sf.hibernate.transaction.JTATransactionFactory net.sf.hibernate.transaction.JBossTransactionManagerLookup

    7. How Hibernate w/ JBossCache deals a database going down    forum.hibernate.org

    I could really use someone's brain here. Let's say i configure Hibernate to use the JBossCache in a replicated cluster. And let's say i'm using a single ( non-clustered ) database for persistence. So now the database goes down. Will subsequent Hibernate queries still succesfully return results from the 2nd level cache? And will updates still get propogated across the JBossCache ...

    8. Multiple JBoss/Hibernate instances accessing a single DB    forum.hibernate.org

    I'm using the version of hibernate that comes bundled with JBoss 4.2.1. I've deployed my application to multiple JBoss 4.2.1 servers. All of the servers are configured to use the same database. I can connect to one JBoss server, run some hibernate code and everything works fine. But when I connect to another JBoss server and run some hibernate code, I ...

    9. Second Level Cache Not Persisting to Database (JBoss)    forum.hibernate.org

    Author Message kevinconaway Post subject: Second Level Cache Not Persisting to Database (JBoss) Posted: Wed Jun 10, 2009 12:08 pm Newbie Joined: Tue Mar 18, 2008 3:32 pm Posts: 4 I have JBoss Cache 2 setup as my second level cache in a two node cluster. I see that changes from one node are replicated to the other node ...