java


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

Related Links

(Java) Flatten JSONArray of JSONObject to [[]] with Java8
Replace Time Part in Date Object in Java
Lot of errors Android Studio with ViewGroup file
JPA many-to-many relationship causing infinite recursion and stack overflow error
searching for records from database using Arraylist
Shortest path with ArangoDB & Java
MySQL connection doesn't work with HikariCP
MS Word is not requesting my Controller :Java
Failed to start Nodemanger in hadoop on windows
What are the differences between instance final fields from Java and readonly instance fields from C#?
HashMap key as id and value another entity
How to swap two whole activity when button is clicked and when application start again then display that swapping changes
How to create custom error page in spring boot
can anyone tell me the right way to this query or tell me the solution to my error?
my app crashes when I start a new intent
JsonParser#getArray() or JsonParser#getArrayStream() is valid only for START_ARRAY parser state. But current parser state is null

Categories

HOME
yii2
arduino-uno
pdf
vbscript
oracle11g
mediawiki
push-notification
path-finding
jira
programming-languages
amazon-ecs
dxl
ravendb
ojdbc
convolution
constraint-programming
pheatmap
tomcat6
modelica
quickbooks
vb.net-2010
hex-editors
percona
serilog
django-cms
visjs
mustache.php
javacv
user-interaction
virtualdub
minitab
xacml
primitive
bosh
contact-form
subset-sum
android-ble
dosbox
libraries
particles.js
isbn
midl
total-commander
avconv
termination
worksheet
lowpass-filter
setter
tactic
font-size
ifs
mako
dwscript
xcb
ableton-live
wdf
libpng
radtreelist
fputcsv
pagedlist
historian
natvis
xna-4.0
citrus-pay
skos
nsmutabledictionary
dia
nstableviewcell
network-interface
cctv
id3v2
expected-exception
didselectrowatindexpath
meteor-velocity
file-locking
plasma
android-screen-support
referrer
unc
sublist
google-email-migration
first-responder
twrequest
invite
appendto
krl
remember-me
h.323
gamequery
meego
nintendo-ds
brewmp
post-build

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App