users@glassfish.java.net

Re: Table name in Derby using EJB3.0 and Sun App

From: <glassfish_at_javadesktop.org>
Date: Wed, 07 Feb 2007 08:33:18 PST

I don't know much about NetBeans, but if you do a query in its interface on the table, if the column/table names do not come back in uppercase then you defined them as case sensitive. You may want to check on NetBeans forums, as my searches seem to indicate that the quotes are not the default.

Regardless though, you can use the Java2db feature to create your tables for you, as described in Pramod's blog at:
http://blogs.sun.com/java2dbInGlassFish/entry/automatic_table_generation_feature_in

This will allow you to create the tables/fields as you have them defined in your annotations, so you can define them without quotes if NetBeans doesn't allow it.

Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]

http://forums.java.net/jive/thread.jspa?messageID=202490