title: How to get Column names Column Data types Form Table using Eclipse Link/JPA
body: <p>I am working on JPA. My requirement is get the Column Name and Data types from Table.
  I have Query's to  do that but those are Native Query's. If I used those Native Query's, Is It will support on any Data Base like Oracle, MySql,......</p>
  
  <p>Now am Using MySql with JPA working fine.</p>
  
  <p>Below Query for Getting Table Column Names</p>
  
  <pre><code>SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE  TABLE_SCHEMA = 'SchemaName'
  AND   TABLE_NAME = 'TableName';   
  </code></pre>
  
  <p>I executed above Query using <strong>createNativeQuery()</strong> in JPA . Is it will support in all Data Bases. If not then how can I do this. Thank you very much. </p>