Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 700 results for
derby
- Page 1
Re: Derby DB is not working on mac.
Programming
Software Development
3 Years Ago
by JamesCherrill
Derby
is not included in current JDK distributions, you need to … `getConnection` with a suitable URL, eg var dbURL = "jdbc:
derby
:/users/james/derbyTest;create=true"; Connection conn = DriverManager.getConnection…
Re: Derby DB is not working on mac.
Programming
Software Development
3 Years Ago
by jwenting
Derby
was included in Java7, it isn't in Java17 as … of Java9. https://stackoverflow.com/questions/53911999/where-is-the-
derby
-jar-file-within-my-java-11-installation-on-mac Java11…
Re: derby db prepared stmt insert
Programming
Software Development
14 Years Ago
by ceyesuma
…,admin_password) VALUES ('ag','Garth','a') at org.apache.
derby
.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) INSERT INTO admin …Util.generateCsSQLException(Unknown Source) ('im','i'), at org.apache.
derby
.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ('ps','p') …
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by ceyesuma
…[code] run: driver name from xml: org.apache.
derby
.jdbc.EmbeddedDriver in bCreatedTables: table preparedStatement : 629f8094-0128…init>(Unknown Source) at org.apache.
derby
.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown… Source) at org.apache.
derby
.impl.jdbc.EmbedPreparedStatement40.<init>(Unknown…
Re: Derby Connection Issues
Programming
Software Development
15 Years Ago
by llemes4011
…is the entire output from the execution) [code] Loaded
Derby
Driver java.sql.SQLException: Database 'test' not found.….<init>(Unknown Source) at org.apache.
derby
.impl.jdbc.EmbedConnection30.<init>(Unknown Source)… at org.apache.
derby
.impl.jdbc.EmbedConnection40.<init>(Unknown Source)…
Derby Connection Issues
Programming
Software Development
15 Years Ago
by llemes4011
… e){ e.printStackTrace(); System.out.println("Error loading
Derby
Driver. Shutting down."); System.exit(-1); } //…The database located on my computer String database = "jdbc:
derby
://localhost:1527/test"; try{ // Connect without a username…
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by javaAddict
…init>(Unknown Source) at org.apache.
derby
.impl.jdbc.EmbedPreparedStatement20.<init>(Unknown Source…) at org.apache.
derby
.impl.jdbc.EmbedPreparedStatement30.<init>(Unknown Source…) at org.apache.
derby
.impl.jdbc.EmbedPreparedStatement40.<init>(Unknown Source…
Re: Derby Connection Issues
Programming
Software Development
15 Years Ago
by Ezzaral
Yes, that is just a path issue. [url]http://db.apache.org/
derby
/docs/10.5/devguide/[/url]
Re: Derby Connection Issues
Programming
Software Development
15 Years Ago
by llemes4011
I tried setting the
derby
.system.home property to the location where I was storing the databases, but that didn't help either. It looks like I'm structuring everything correctly... I'm sorry, I think I'm missing something really obvious >.<
Re: Derby Connection Issues
Programming
Software Development
15 Years Ago
by Ezzaral
Well, I can only point to the docs: [url]http://db.apache.org/
derby
/docs/10.5/devguide/cdevdvlp40350.html[/url] and experimentation with the path you're using in the connection string.
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by ceyesuma
… I realize I chaged the key name and
derby
is looking for specific keys in my dbProperties…true,bExists=true,user,password etc. I think
derby
is able to look through my dbProperties file …file user=addressuser password=addressuser
derby
.driver=org.apache.
derby
.jdbc.EmbeddedDriver
derby
.url=jdbc:
derby
: db.table=ADDRESS db.…
Derby DB is not working on mac.
Programming
Software Development
3 Years Ago
by Saboor880
… which I wrote. String dbdriver = "org.apache.
derby
.jdbc.EmbeddedDriver"; Class.forName(dbdriver).newInstance(); con = …DriverManager.getConnection("jdbc:
derby
:C:\\4DSOFTECHDB; create = true"); Note: This exception …
Re: Derby DB is not working on mac.
Programming
Software Development
2 Years Ago
by Saboor880
…code I wrote for connection: String dbDriver = "org.apache.
derby
.jdbc.EmbeddedDriver"; class.ForName(dbDriver).newInstance; con = DriverManager.…getConnection("jdbc:
derby
:/users/daniyalumar/4DSoftectDB;create = true"); Code is working on…
derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by ceyesuma
…to be excepted to create a table in a
derby
embeded db? [code] public boolean createTables(Connection …[code] run: driver name from xml: org.apache.
derby
.jdbc.EmbeddedDriver in createTables: thisTable sql String: /n …code] run: driver name from xml: org.apache.
derby
.jdbc.EmbeddedDriver in createTables: Exception in thread "main…
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by ceyesuma
… have to examine the entire class and research the way
derby
takes param's to fix [code] conn=DriverManager.getConnection(…the dbURL but I understood some of the documentation for
derby
that I believe stated that the second param was …to supply a list of sorts for
derby
to search for necessary param. dbProperties is a new …
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by ceyesuma
…" are random examples or specific to
derby
. [code] Class.forName("org.apache.
derby
.jdbc.EmbeddedDriver"); Properties p = new Properties…", "manager"); Connection conn = DriverManager.getConnection( "jdbc:
derby
:mynewDB", p); [/code]
Re: Derby DB is not working on mac.
Programming
Software Development
3 Years Ago
by JamesCherrill
Did you instal the MacOS
Derby
jar? Did you add that jar to your CLASSPATH? See https://db.apache.org/
derby
/papers/DerbyTut/install_software.html
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by javaAddict
I am not familiar with
Derby
, so I would like someone else to help if they … property in the Properties class is not the one the
Derby
expects.
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by ceyesuma
… the obvious. [code] driver name from xml: org.apache.
derby
.jdbc.EmbeddedDriver in bCreatedTables: thisTable sql String: /n CREATE TABLE… admin_area_code INT, admin_phone INT, admin_pay_rate INT ) the statement: /norg.apache.
derby
.impl.jdbc.EmbedStatement40@1b446d1 key='create' after createTables(): true [/code…
Re: Derby DB is not working on mac.
Programming
Software Development
3 Years Ago
by Dani
I have no experience with Java or
Derby
. But your code seems to connect to a database whose files are stored at a path on the C:\ drive. That type of file system convention doesn’t exist on macOS, which is Unix-based. Instead, try replacing the path with something like /home/username/softechdb.
Re: Derby DB is not working on mac.
Programming
Software Development
3 Years Ago
by gce517
If you haven't done so already, check out https://codejava.net/java-se/jdbc/connect-to-apache-
derby
-java-db-via-jdbc
Re: Derby DB is not working on mac.
Programming
Software Development
2 Years Ago
by JamesCherrill
First: you are still using Class.forName. It’s obsolete. See my previous post on the subject. Second: looks like the
Derby
jars are not in the class path on the real machine.
Re: derby embedded db stmt.execute sql error
Programming
Software Development
15 Years Ago
by ceyesuma
… the bad tables. run: driver name from xml: org.apache.
derby
.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable…
derby db prepared stmt insert
Programming
Software Development
15 Years Ago
by ceyesuma
… adjust a insert for a prepared statement sent to a
derby
embedded db? [code] run: driver name from xml: org.apache….
derby
.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable …
Re: derby db prepared stmt insert
Programming
Software Development
14 Years Ago
by ceyesuma
… prob. thanks [code] ///////////////////////// run: driver name from xml: org.apache.
derby
.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable…
Re: derby db prepared stmt insert properties
Programming
Software Development
14 Years Ago
by ceyesuma
…[/b] [code] run: driver tableName from xml: org.apache.
derby
.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable… created table: createUserGroupMappingTable driver tableName from xml: org.apache.
derby
.jdbc.EmbeddedDriver db and tables created: in bInsertedIntoTables: inserted data…
derby db prepared stmt insert properties
Programming
Software Development
14 Years Ago
by ceyesuma
… trying to find how to set a property for a
derby
connection to have a prepared statement perform several INSERT queries…
derby database
Programming
Software Development
12 Years Ago
by josus7
HELLO EVERY ONE, CAN ANNY ONE TELL ME HOW I CAN SET A PASSWORD TO MY EXISTING
DERBY
DATABASE IF YOUR KNOW PLEASE HELP, TNX
Re: Java Derby DB is perfectly working on Virtual Mac but not on Physical Mac
Programming
Software Development
2 Years Ago
by Skillz_1
…you are getting, java.lang.ClassNotFoundException:org.apache.
derby
.jdbc.EmbeddedDriver, indicates that the EmbeddedDriver class could not… suggests that the necessary classes for the Apache
Derby
database may not be on the classpath when the…physical Mac BigSur. This will make the Apache
Derby
classes available on the classpath for all Java …
Re: JFormattedTextField() and derby db :Date
Programming
Software Development
14 Years Ago
by ceyesuma
… value is incorrect. at org.apache.
derby
.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at…value is incorrect. at org.apache.
derby
.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at…value is incorrect. at org.apache.
derby
.iapi.error.StandardException.newException(Unknown Source) at…
1
2
3
12
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC