Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Automatic table generation
Automatic table generation [message #606124] Wed, 17 October 2007 22:34
Klaus Unger is currently offline Klaus UngerFriend
Messages: 11
Registered: July 2009
Junior Member

short question: How can I get a non gneric JPA plattform to be able to
automatically generate DDL entries.

I am pretty new to Java EE 5 / JPA developtment. I intended to use
GlassFish V2 & Derby 10.2 embedded. Without deep background knowledge I
tried to create an Entity class. All I get is then:
> Schema "" cannot be resolved for table "User"
> Column "name" cannot be resolved
I guess this is due to a missing corresponding db/table in derby. I really
did not expect that I have to write SQL code to create tables for my
enties, i hoped this to be more transparent for Java development.
Even with the getting started, jsf tutorial or the dbschema demo i was not
able to figure out how to do this without manually writing SQL. Maybe I am
missing some important point, I would appreciate any hint where to look

Best Regards,
Previous Topic:How to use @PersistenceContext
Next Topic:Integrating EJB 3.0 (Hibernate) into Eclipse
Goto Forum:

Current Time: Wed Jun 20 17:30:51 GMT 2018

Powered by FUDForum. Page generated in 0.01680 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top