how can solve these trouble when i convert form apathy server DB to derby DB
because i'm convert my concoction DB to derby in netbeans all statement happen error in it. the error is it java.sql.SQLSyntaxErrorException: table or view does not exist. to solve problem must be change in all attribute and tables name by Place it between brackets for example st.executeQuery("SELECT * FROM loges "); not run its syntax error must change to st.executeQuery("SELECT * FROM \"loges\" "); Then it works properly doing this very hard,i have 137 query statement contain a lot of tables and attribute names. i'm doing this change because extract my project to executable desktop program if can make this in other way will be good
If your code uses all unquoted table and column names, then your database schema should be created with unquoted names. If you're having trouble now, then your new database was created/migrated with quoted names. Fix that, and you code will work unchanged. Be aware that databases treats unquoted names differently, e.g. Oracle will change the names to uppercase, PostgreSQL will change the names to lowercase, and MS SQL Server will store the names as given, but will by default match them case-insensitively.
You should create the tables without double quotes, as explained in the duplicate question
Accessing a file within the context root of an application in Tomcat
Java regex to validate range of dates
Null object reference error in Android app using Paypal MPL
How to execute an AQL query with Java API?
How to change Listview item color and textcolor in android
Need xpath for selecting checkbox in selenium web driver
Why throws NullPointerException?
How can I use a regex to match multiple address lines?
Object refrence and type casting in java
how to write LDAP client using java [closed]
How to write Exif to a JPEG with TwelveMonkey's ExifWriter class
Java static method memory allocation
How to set a JComboBox only in specific cell in a JTable
I run a production mode of play framework ，how to keep it running background
Gui Freeze after pressing a button
How do I count value of string Array in Java [closed]