{"id":306,"date":"2009-12-09T18:45:32","date_gmt":"2009-12-09T18:45:32","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=306"},"modified":"2010-01-23T11:23:52","modified_gmt":"2010-01-23T11:23:52","slug":"creating-database-tables-from-entities-in-eclipse","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=306","title":{"rendered":"Creating database tables from Entities in Eclipse"},"content":{"rendered":"<p>This can be done a couple of different ways :-<\/p>\n<ol>\n<li>From the Project context menu, select JPA Tools\/Create Tables from Entities. This will drop and create the whole schema based on the entity definitions.<\/li>\n<li>Alternatively, you can configure <strong>persistence.xml<\/strong> to drop and create the whole schema before each run as detailed in the example file <strong><a title=\"http:\/\/salientsoft.co.uk\/?p=295\" href=\"http:\/\/salientsoft.co.uk\/?p=295\">here<\/a>.<\/strong><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>This can be done a couple of different ways :- From the Project context menu, select JPA Tools\/Create Tables from Entities. This will drop and create the whole schema based on the entity definitions. Alternatively, you can configure persistence.xml to drop and create the whole schema before each run as detailed in the example file [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[9,35,182,16],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/306"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=306"}],"version-history":[{"count":2,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/306\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/306\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}