Caused by: org.h2.jdbc.JdbcSQLException: Table XX not found; SQL statement:

Posted: September 25, 2014 in web

On netbeans use to only have one line below, but for some reason it keeps calling the h2 database. So ended up using the second code below.


<persistence-unit name="BANA" transaction-type="JTA" />


    <persistence-unit name="BANA" transaction-type="JTA">
            <property name="hibernate.show_sql" value="true" />
            <property name="hibernate.dialect" value="org.hibernate.dialect.SQLServerDialect" />
            <property name="hibernate.archive.autodetection" value="class" />
            <property name="hibernate.cache.provider_class" value="org.hibernate.cache.NoCacheProvider" />

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s