security « Session « JPA Q&A

1. why conficconfig not match "(session-factory,security?)

Need help with Hibernate? Read this first: ... AskForHelp Why can't parse hibernate.cfg.xml , the statement: the sessionFactory = new Configuration().configure().buildSessionFactory(); throws error : if I drop the statement : "" parse is right! the SessionFactory can creat,but I can't save data ! I'm waiting for your help thanks! Hibernate version: 3.0.5 Mapping documents:

2. JAAS, security and (Stateless) sessions

Hi everyone, I'm looking into joining JAAS security and Hibernate and I was really excited to find the "Hibernate declarative security" (12.3) section, based on the event system. However it appears that this security is easy to bypass, as soon as you are able to do a StatelessSession (see 13.3 of doc) or DML-style operations (13.4). Is there something I missed ...

3. session-factory,security? error

here's my XML document. true net.sf.hibernate.dialect.PostgresSQLDialect yes 'Y', no 'N' org.postgresql.Driver jdbc:postgresql://localhost/project postgres postgres Thanks