Omit schema in the DERBY Query
I have created a database named 'movie_db', set default schema to APP. Then created a sample table named 'USERS'. My connection to DB is as follows: <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="org.apache.derby.jdbc.ClientDriver"/> <property name="url" value="jdbc:derby://localhost:1527/movie_db"/> <property name="username" value="root"/> <property name="password" value="pass"/> </bean> Now I want to write some tests and try to execute the following query: SELECT * FROM USERS; What I get: java.sql