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

init parameters in web.xml not accessed in jsp
GridBagLayout and BorderLayout on JPanel Aligning
dyld: Symbol not found: _iconv when using javac to compile on MacOS
soap messages are not visible in tcp/ip monitor
list available java packages and classes within clojure
Libgdx - Loading fonts slows down game
How to parse Google Protocol Buffers that in the direct memory without allocating heap byte array in Java?
Android Realm: compactRealmFile NullPointerException
Remove static files from Google App Engine
Parsing a string in Java and having the out put seperated by a comma
How to setDate of JDateChooser to NULL or “0000-00-00”
Running terminal commands throug java
Why gets the spring bean initialized twice
url pattern for html file in web.xml
How to extend expiration time java json web token?
Check if external service is running

Categories

HOME
client
coq
magnific-popup
google-api-php-client
stock
jsp-tags
cmd
retrofit
ezpublish
swagger-ui
node-notifier
esper
basic
elasticsearch-hadoop
google-translate
communication
floating-action-button
rascal
u-sql
correlation
resize
php-7.1
openrefine
apache-metamodel
nhibernate-envers
openedx
swingx
plunker
nas
kryo
realex-payments-api
angular2-aot
fish
phpfox
tooltipster
replaceall
objectanimator
srcset
airconsole
catel
noraui
protovis
uiswipegesturerecognizer
mapdb
restlet
adobe-premiere
serverside-rendering
android-browser
elasticsearch-plugin
user-controls
grid.mvc
elmah
google-closure
android-mediaprojection
password-encryption
websphere-mq-fte
jsch
hendrix
git-diff
carrot
crypt
sybase-asa
spring-cache
bind9
objective-c-swift-bridge
firmata
color-picker
spring-android
vmware-tools
infix-notation
rotativa
bonobo
url-masking
trash
py2app
websitepanel
fputcsv
hexdump
apachebench
cloudbees
ionic
event-bubbling
iiviewdeckcontroller
apache-commons-net
fscommand
gadt
issuu
neolane
concurrent-collections
stxxl
inbox
coverflow
shellexecute
distutils
windows-phone-7.1.1
subscript
psi
servicehost
yetanotherforum
ecl
sql-server-profiler
cxxtest
blitz++
ncqrs
webkit.net
kdbg
simpletest
project-hosting
sector
private-members

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile