[jboss-user] [JBoss Seam] - Re: orm.xml causes No active session context
liudan2005
do-not-reply at jboss.com
Sun Apr 22 23:55:23 EDT 2007
Sorry I should say it's cause by "EntitySecurityListener", Here is my content in orm.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
| version="1.0">
|
| <persistence-unit-metadata>
| <persistence-unit-defaults>
| <entity-listeners>
| <entity-listener class="org.jboss.seam.security.EntitySecurityListener"/>
| </entity-listeners>
| </persistence-unit-defaults>
| </persistence-unit-metadata>
|
| </entity-mappings>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039681#4039681
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039681
More information about the jboss-user
mailing list