|Automatic table generation [message #606124]
||Wed, 17 October 2007 22:34
| Klaus Unger
Registered: July 2009
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
Powered by FUDForum
. Page generated in 0.03636 seconds