How detailed of an explanation do you want? Basically, Hibernate (which is the underlying mechanism used by JBoss AS to support JPA) examines the contents of the entity bean and creates a "CREATE TABLE" SQL statement based on what it finds and submits that to the database. Hibernate maintains mappings of Java data types to database data types for a variety of databases so that it can correctly define the column types when iy creates a table.
Hi Mr Peter,
This is exactly what i want to understand !!:)) But what is Hibernate "(which is the underlying mechanism used by JBoss AS to support JPA)" i can't understand this phrase!! what is Hibernate relation with persistence
Thank you so much
ok i'll do it Sir
Thank you for help i really appreciate it