Forums Register Login

ExceptionInInitializerError

+Pie Number of slices to send: Send
i have a entity bean users.java.

in dbSet.java i have:
static void add(users ii) {
emf.createEntityManager().
createQuery("INSERT INTO users ii").executeUpdate(); }

in dialog.java this part of code:
ii = new users();
ii.setName(usersid.getText());
dbSet.add(ii);

and return java.lang.ExceptionInInitializerError

thank in advance.
We don't have time to be charming! Quick, read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 494 times.
Similar Threads
How to handle concurrent write/read to a db
"return" inside the try-catch-finally
identifiers
Why Not Part3 result in CertManager?
How to handle concurrent write/read to a db from a servlet
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:02:02.