First of all i must say that i am new to entity classes as well as Hibernate concept.
I want to know that when we create a entity instance by calling the EntityManager.persist() method, then does the table itself get created with that instance as fields? Or the table must be present before creating an entity instance?
in netbeans when we create an entity class we need to give the persistence provider's name? Is it the IDE or the framework, or something else? what is it??
We have to specify the JNDI name--
in the sun tutorial they said that..
A JNDI name is a people-friendly name for an object. These names are bound to their objects by the naming and directory service that is provided by the J2EE server.
what is the JNDI name for the SQL server? is it jdbc\sql or what?