Doing Persistence under JBOSS

Just learnt EJB for half month. Just learnt how to create Entity class. When deploys, JBOSS always give me error. Now I found a solution, The problem is sometimes persistence.xml lost the XML Schema, the full persistence.xml can be like this:

<?xml version=”1.0″ encoding=”UTF-8″?>

    <persistence-unit name=”calculator”>
        <property name=”” value=”create-drop” />

Hope anyone who faced this problem can solve your problem.

Author: fyhao

Jebsen & Jessen Comms Singapore INTI University College Bsc (Hon) of Computer Science, Coventry University

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.