{"id":92680,"date":"2019-06-17T15:47:56","date_gmt":"2019-06-17T12:47:56","guid":{"rendered":"http:\/\/www.javacodegeeks.com\/?p=92680"},"modified":"2019-06-24T10:54:57","modified_gmt":"2019-06-24T07:54:57","slug":"object-mapping-netsuite-data-entities-java","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html","title":{"rendered":"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java"},"content":{"rendered":"<p><em>Object-relational mapping (ORM) techniques make it easier to work with relational data sources and can bridge your logical business model with your physical storage model. Follow this tutorial to integrate connectivity to NetSuite data into a Java-based ORM framework, Hibernate.<\/em><\/p>\n<p>You can use Hibernate to map object-oriented domain models to a traditional relational database. The tutorial below shows how to use the CData JDBC Driver for NetSuite to generate an ORM of your NetSuite repository with Hibernate.<\/p>\n<p>Though Eclipse is the IDE of choice for this article, the CData JDBC Driver for NetSuite works in any product that supports the Java Runtime Environment. In the Knowledge Base you will find tutorials to connect to NetSuite data from IntelliJ IDEA and NetBeans.<\/p>\n<h2 class=\"wp-block-heading\">Install Hibernate<\/h2>\n<p>Follow the steps below to install the Hibernate plug-in in Eclipse.<\/p>\n<ol class=\"wp-block-list\">\n<li>In Eclipse, navigate to Help -&gt; Install New Software.<\/li>\n<li>Enter &#8220;http:\/\/download.jboss.org\/jbosstools\/neon\/stable\/updates\/&#8221; in the Work With box.<\/li>\n<li>Enter &#8220;Hibernate&#8221; into the filter box.<\/li>\n<li>Select Hibernate Tools.<\/li>\n<\/ol>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-1.png\" alt=\"Object-Relational Mapping\" class=\"wp-image-92681\" width=\"683\" height=\"528\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-1.png 911w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-1-300x232.png 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-1-768x593.png 768w\" sizes=\"(max-width: 683px) 100vw, 683px\" \/><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\">Start A New Project<\/h2>\n<p>Follow the steps below to add the driver JARs in a new project.<\/p>\n<ol class=\"wp-block-list\">\n<li>Create a new project. Select Java Project as your project type and click Next. Enter a project name and click Finish.<\/li>\n<li>Right-click the project and click Properties. Click Java Build Path and then open the Libraries tab.<\/li>\n<li>Click Add External JARs to add the cdata.jdbc.netsuite.jar library, located in the lib subfolder of the installation directory.<\/li>\n<\/ol>\n<h2 class=\"wp-block-heading\">Add a Hibernate Configuration File<\/h2>\n<p>Follow the steps below to configure connection properties to NetSuite data.<\/p>\n<ol>\n<li>Right-click on the new project and select New -&gt; Hibernate -&gt; Hibernate Configuration File (cfg.xml).<\/li>\n<li>Select src as the parent folder and click Next.<\/li>\n<li>Input the following values:\n<ul>\n<li><strong>Hibernate version:<\/strong>: 5.2<\/li>\n<li><strong>Database dialect<\/strong>: Derby<\/li>\n<li><strong>Driver class<\/strong>: cdata.jdbc.netsuite.NetSuiteDriver<\/li>\n<li><strong>Connection URL<\/strong>: A JDBC URL, starting with&nbsp;<em>jdbc:netsuite:<\/em>&nbsp;and followed by a semicolon-separated list of connection properties.The User and Password properties, under the Authentication section, must be set to valid NetSuite user credentials. In addition, the AccountId must be set to the Id of a company account that can be used by the specified User. The RoleId can be optionally specified to log in the user with limited permissions.See the &#8220;Getting Started&#8221; chapter of the help documentation for more information on connecting to NetSuite.Built-in Connection String DesignerFor assistance in constructing the JDBC URL, use the connection string designer built into the NetSuite JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<pre class=\"brush:java\">java -jar cdata.jdbc.netsuite.jar<\/pre>\n<p>Fill in the connection properties and copy the connection string to the clipboard.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"436\" height=\"543\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-2.png\" alt=\"Object-Relational Mapping\" class=\"wp-image-92684\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-2.png 436w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-2-241x300.png 241w\" sizes=\"(max-width: 436px) 100vw, 436px\" \/><\/figure>\n<\/div>\n<p>A typical JDBC URL is below:<\/p>\n<pre class=\"brush:bash\">jdbc:netsuite:Account Id=XABC123456;Password=password;User=user;Role Id=3;Version=2013_1;\n<\/pre>\n<h2 class=\"wp-block-heading\">Connect Hibernate to NetSuite Data<\/h2>\n<p>Follow the steps below to select the configuration you created in the previous step.<\/p>\n<ol class=\"wp-block-list\">\n<li>Switch to the Hibernate Configurations perspective: Window -&gt; Open Perspective -&gt; Hibernate.<\/li>\n<li>Right-click on the Hibernate Configurations panel and click Add Configuration.<\/li>\n<li>Set the Hibernate version to 5.2.<\/li>\n<li>Click the Browse button and select the project.<\/li>\n<li>For the Configuration file field, click Setup -&gt; Use Existing and select the location of the hibernate.cfg.xml file (inside src folder in this demo).<\/li>\n<li>In the Classpath tab, if there is nothing under User Entries, click Add External JARS and add the driver jar once more. Click OK once the configuration is done.<\/li>\n<li>Expand the Database node of the newly created Hibernate configurations file.<\/li>\n<\/ol>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"779\" height=\"702\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-3.png\" alt=\"Object-Relational Mapping\" class=\"wp-image-92685\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-3.png 779w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-3-300x270.png 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-3-768x692.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\">Reverse Engineer NetSuite Data<\/h2>\n<p>Follow the steps below to generate the reveng.xml configuration file. You will specify the tables you want to access as objects.<\/p>\n<ol class=\"wp-block-list\">\n<li>Switch back to the Package Explorer.<\/li>\n<li>Right-click your project, select New -&gt; Hibernate -&gt; Hibernate Reverse Engineering File (reveng.xml). Click Next.<\/li>\n<li>Select src as the parent folder and click Next.<\/li>\n<li>In the Console configuration drop-down menu, select the Hibernate configuration file you created above and click Refresh.<\/li>\n<li>Expand the node and choose the tables you want to reverse engineer. Click Finish when you are done.<\/li>\n<\/ol>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"611\" height=\"607\" src=\"http:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-5.png\" alt=\"Object-Relational Mapping\" class=\"wp-image-92686\" srcset=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-5.png 611w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-5-150x150.png 150w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-5-300x298.png 300w, https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/jdbc-hibernate-5-70x70.png 70w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/figure>\n<\/div>\n<h2 class=\"wp-block-heading\">Configure Hibernate to Run<\/h2>\n<p>Follow the steps below to generate plain old Java objects (POJO) for the NetSuite tables.<\/p>\n<ol class=\"wp-block-list\">\n<li>From the menu bar, click Run -&gt; Hibernate Code Generation -&gt; Hibernate Code Generation Configurations.<\/li>\n<li>In the Console configuration drop-down menu, select the Hibernate configuration file you created in the previous section. Click Browse by Output directory and select src.<\/li>\n<li>Enable the Reverse Engineer from JDBC Connection checkbox. Click the Setup button, click Use Existing, and select the location of the hibernate.reveng.xml file (inside src folder in this demo).<\/li>\n<li>In the Exporters tab, check Domain code (.java) and Hibernate XML Mappings (hbm.xml).<\/li>\n<li>Click Run.<\/li>\n<\/ol>\n<p>One or more POJOs are created based on the reverse-engineering setting in the previous step.<\/p>\n<h2 class=\"wp-block-heading\">Insert Mapping Tags<\/h2>\n<p>For each mapping you have generated, you will need to create a mapping tag in hibernate.cfg.xml to point Hibernate to your mapping resource. Open hibernate.cfg.xml and insert the mapping tags as so:<\/p>\n<pre class=\"brush:xml\">&lt;hibernate-configuration&gt;\n&lt;session-factory name=\"\"&gt;\n&lt;property name=\"hibernate.connection.driver_class\"&gt;\ncdata.netsuite.NetSuiteDriver\n&lt;\/property&gt;\n&lt;property name=\"hibernate.connection.url\"&gt;\njdbc:netsuite:Account Id=XABC123456;Password=password;User=user;Role Id=3;Version=2013_1;&lt;!--?xml version=\"1.0\" encoding=\"UTF-8\"?--&gt;\n&lt;\/property&gt;\n&lt;property name=\"hibernate.dialect\"&gt;\norg.hibernate.dialect.SQLServerDialect\n&lt;\/property&gt;\n \n&lt;mapping resource=\"SalesOrder.hbm.xml\"&gt;&lt;\/mapping&gt;\n&lt;\/session-factory&gt;\n&lt;\/hibernate-configuration&gt;\n<\/pre>\n<h2 class=\"wp-block-heading\">Execute SQL<\/h2>\n<p>Using the entity you created from the last step, you can now search and modify NetSuite data:<\/p>\n<pre class=\"brush:java\">import java.util.*;\nimport org.hibernate.Session;\nimport org.hibernate.cfg.Configuration;\nimport org.hibernate.query.Query;\n \npublic class App {\npublic static void main(final String[] args) {\nSession session =  new\nConfiguration().configure().buildSessionFactory().openSession();\nString SELECT = \"FROM SalesOrder S WHERE Class_Name = :Class_Name\";\nQuery q = session.createQuery(SELECT, SalesOrder.class);\nq.setParameter(\"Class_Name\",\"Furniture : Office\");\nList&lt;SalesOrder&gt; resultList = (List&lt;SalesOrder&gt;) q.list();\n \nfor(SalesOrder s: resultList){\nSystem.out.println(s.getCustomerName());\nSystem.out.println(s.getSalesOrderTotal());\n     }\n   }\n}\n<\/pre>\n<h3 class=\"wp-block-heading\">Ready to get started?<\/h3>\n<p>Learn more about the&nbsp;<a href=\"https:\/\/www.cdata.com\/drivers\/netsuite\/jdbc\/?utm_source=jcg&amp;utm_medium=netsuite&amp;utm_campaign=190606 \">CData JDBC Driver for NetSuite<\/a>&nbsp;or download a free trial:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"https:\/\/www.cdata.com\/drivers\/netsuite\/jdbc\/?utm_source=jcg&amp;utm_medium=netsuite&amp;utm_campaign=190606 \"><img decoding=\"async\" width=\"194\" height=\"49\" src=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2019\/06\/button.png\" alt=\"\" class=\"wp-image-92687\"\/><\/a><\/figure>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Object-relational mapping (ORM) techniques make it easier to work with relational data sources and can bridge your logical business model with your physical storage model. Follow this tutorial to integrate connectivity to NetSuite data into a Java-based ORM framework, Hibernate. You can use Hibernate to map object-oriented domain models to a traditional relational database. The &hellip;<\/p>\n","protected":false},"author":29565,"featured_media":112,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[1908,213],"class_list":["post-92680","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-netsuite","tag-orm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Object-Relational Mapping (ORM) with NetSuite Data Entities in Java - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Interested to learn about Object-Relational Mapping? Check our article explaining how to integrate connectivity to NetSuite data into a Java-based ORM.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Interested to learn about Object-Relational Mapping? Check our article explaining how to integrate connectivity to NetSuite data into a Java-based ORM.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/cdatasoftware\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-17T12:47:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-24T07:54:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"CData Software Inc.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cdatasoftware\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CData Software Inc.\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html\"},\"author\":{\"name\":\"CData Software Inc.\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/19c65bb5031586911b74c42be951e307\"},\"headline\":\"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java\",\"datePublished\":\"2019-06-17T12:47:56+00:00\",\"dateModified\":\"2019-06-24T07:54:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html\"},\"wordCount\":869,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"keywords\":[\"NetSuite\",\"ORM\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html\",\"name\":\"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"datePublished\":\"2019-06-17T12:47:56+00:00\",\"dateModified\":\"2019-06-24T07:54:57+00:00\",\"description\":\"Interested to learn about Object-Relational Mapping? Check our article explaining how to integrate connectivity to NetSuite data into a Java-based ORM.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/enterprise-java-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"java-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2019\\\/06\\\/object-mapping-netsuite-data-entities-java.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/19c65bb5031586911b74c42be951e307\",\"name\":\"CData Software Inc.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2721fe9b0602c96f82ac3257c81aae932f175b04f339557cc678f89b417afc56?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2721fe9b0602c96f82ac3257c81aae932f175b04f339557cc678f89b417afc56?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2721fe9b0602c96f82ac3257c81aae932f175b04f339557cc678f89b417afc56?s=96&d=mm&r=g\",\"caption\":\"CData Software Inc.\"},\"description\":\"CData Software (www.cdata.com) is a leading provider of standards-based drivers and data access solutions for real-time integration with on-premise and SaaS applications, NoSQL, and Big Data. Our drivers are universally accessible, providing straightforward access to popular data technologies like JDBC, ODBC, ADO.NET, and OData. Our tools offer real-time integration from BI, ETL, Reporting, Analytics and custom Apps to more than 100+ data sources, including Big Data &amp; NoSQL databases, CRM, ERP, and Accounting packages.\",\"sameAs\":[\"http:\\\/\\\/www.cdata.com\",\"https:\\\/\\\/www.facebook.com\\\/cdatasoftware\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/cdatasoftware\",\"https:\\\/\\\/x.com\\\/cdatasoftware\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/cdata-software-inc\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java - Java Code Geeks","description":"Interested to learn about Object-Relational Mapping? Check our article explaining how to integrate connectivity to NetSuite data into a Java-based ORM.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html","og_locale":"en_US","og_type":"article","og_title":"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java - Java Code Geeks","og_description":"Interested to learn about Object-Relational Mapping? Check our article explaining how to integrate connectivity to NetSuite data into a Java-based ORM.","og_url":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_author":"https:\/\/www.facebook.com\/cdatasoftware\/","article_published_time":"2019-06-17T12:47:56+00:00","article_modified_time":"2019-06-24T07:54:57+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","type":"image\/jpeg"}],"author":"CData Software Inc.","twitter_card":"summary_large_image","twitter_creator":"@cdatasoftware","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"CData Software Inc.","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html"},"author":{"name":"CData Software Inc.","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/19c65bb5031586911b74c42be951e307"},"headline":"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java","datePublished":"2019-06-17T12:47:56+00:00","dateModified":"2019-06-24T07:54:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html"},"wordCount":869,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","keywords":["NetSuite","ORM"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html","url":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html","name":"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","datePublished":"2019-06-17T12:47:56+00:00","dateModified":"2019-06-24T07:54:57+00:00","description":"Interested to learn about Object-Relational Mapping? Check our article explaining how to integrate connectivity to NetSuite data into a Java-based ORM.","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/enterprise-java-logo.jpg","width":150,"height":150,"caption":"java-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2019\/06\/object-mapping-netsuite-data-entities-java.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Object-Relational Mapping (ORM) with NetSuite Data Entities in Java"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/19c65bb5031586911b74c42be951e307","name":"CData Software Inc.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2721fe9b0602c96f82ac3257c81aae932f175b04f339557cc678f89b417afc56?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2721fe9b0602c96f82ac3257c81aae932f175b04f339557cc678f89b417afc56?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2721fe9b0602c96f82ac3257c81aae932f175b04f339557cc678f89b417afc56?s=96&d=mm&r=g","caption":"CData Software Inc."},"description":"CData Software (www.cdata.com) is a leading provider of standards-based drivers and data access solutions for real-time integration with on-premise and SaaS applications, NoSQL, and Big Data. Our drivers are universally accessible, providing straightforward access to popular data technologies like JDBC, ODBC, ADO.NET, and OData. Our tools offer real-time integration from BI, ETL, Reporting, Analytics and custom Apps to more than 100+ data sources, including Big Data &amp; NoSQL databases, CRM, ERP, and Accounting packages.","sameAs":["http:\/\/www.cdata.com","https:\/\/www.facebook.com\/cdatasoftware\/","https:\/\/www.linkedin.com\/company\/cdatasoftware","https:\/\/x.com\/cdatasoftware"],"url":"https:\/\/www.javacodegeeks.com\/author\/cdata-software-inc"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/92680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/29565"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=92680"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/92680\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/112"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=92680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=92680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=92680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}