ora7 [https://community.jboss.org/people/ora7] created the discussion
"Re: persistence.xml does not deploy" To view the discussion, visit: https://community.jboss.org/message/739421#739421 -------------------------------------------------------------- With the annotation the <local-tx-database/> tag works too. <?xml version="1.0" encoding="UTF-8"?> <datasources> <!--FBManager can be used to create and drop databases. Drop is especially useful during testing, since it assures a clean start next time. --> <mbean code="org.firebirdsql.management.FBManager" name="jboss.jca:service=FirebirdManager"> <attribute name="FileName">${jboss.server.data.dir}${/}firebird${/}physics.fdb</attribute> <attribute name="UserName">einstein</attribute> <attribute name="Password">relativity</attribute> <attribute name="CreateOnStart">true</attribute> <attribute name="DropOnStop">false</attribute> </mbean> <local-tx-datasource> <jndi-name>PhysicsDS</jndi-name> <connection-url>jdbc:firebirdsql:localhost/3050:${jboss.server.data.dir}${/}firebird${/}physics.fdb</connection- url> <driver-class>org.firebirdsql.jdbc.FBDriver</driver-class> <user-name>einstein</user-name> <password>relativity</password> <min-pool-size>5</min-pool-size> <max-pool-size>20</max-pool-size> <track-statements></track-statements> <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) --> <metadata> <type-mapping>Firebird</type-mapping> </metadata> </local-tx-datasource> </datasources> -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/739421#739421] Start a new discussion in Datasource Configuration at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
