Here's a bit more information: It doesn't throw an exception until I try to execute a query and the exception I get is the following:
Code:
SEVERE: Table not found in statement [select customer0_.CUSTOMER_ID as CUSTOMER2_0_, customer0_.CREATE_TIME as CREATE3_0_, customer0_.UPDATE_TIME as UPDATE4_0_, customer0_.version as version0_, customer0_.ADDRESS as ADDRESS0_, customer0_.FIRST_NAME as FIRST6_0_, customer0_.LAST_NAME as LAST7_0_, customer0_.PRICE_LIST as PRICE8_0_, customer0_.SALES_TAX as SALES9_0_, customer0_.TELEPHONE as TELEPHONE0_, customer0_.ACCESS as ACCESS0_, customer0_.IS_MANAGER as IS12_0_, customer0_.PASSWORD as PASSWORD0_, customer0_.TIME_SHEET as TIME14_0_, customer0_.USERNAME as USERNAME0_, customer0_.DTYPE as DTYPE0_ from CUSTOMER customer0_]
Exception in thread "AWT-EventQueue-0" javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:637)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:74)
at Forms.Login.jButton1MouseClicked(Login.java:204)
at Forms.Login.access$100(Login.java:38)
at Forms.Login$2.mouseClicked(Login.java:100)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.Component.processMouseEvent(Component.java:6270)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2223)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:65)
... 24 more
Caused by: java.sql.SQLException: Table not found in statement [select customer0_.CUSTOMER_ID as CUSTOMER2_0_, customer0_.CREATE_TIME as CREATE3_0_, customer0_.UPDATE_TIME as UPDATE4_0_, customer0_.version as version0_, customer0_.ADDRESS as ADDRESS0_, customer0_.FIRST_NAME as FIRST6_0_, customer0_.LAST_NAME as LAST7_0_, customer0_.PRICE_LIST as PRICE8_0_, customer0_.SALES_TAX as SALES9_0_, customer0_.TELEPHONE as TELEPHONE0_, customer0_.ACCESS as ACCESS0_, customer0_.IS_MANAGER as IS12_0_, customer0_.PASSWORD as PASSWORD0_, customer0_.TIME_SHEET as TIME14_0_, customer0_.USERNAME as USERNAME0_, customer0_.DTYPE as DTYPE0_ from CUSTOMER customer0_]
at org.hsqldb.jdbc.Util.throwError(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)
at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
at org.hibernate.loader.Loader.doQuery(Loader.java:673)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
... 32 more
Anyone, Anyone, Bueller, Bueller? lol