Java

Developing custom HANA adapter – quickstart

Hello 🙂 In this blog post, I will show you how you can fast start with developing custom HANA adapters in JAVA. S-User is required to download data provisioning agent:https://launchpad.support.sap.com/#/softwarecenter/template/products/%20_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=Y&FUNCTIONBAR=N&EVENT=TREE&NE=NAVIGATE&ENR=73555000100200005999&V=MAINT&TA=ACTUAL&PAGE=SEARCH/HANA%20DP%20AGENT%202.0 I downloaded Linux version, but windows should work too (I’m on Mac OS). I will proceed in SAP Hana Studio because Eclipse is missing some packages. If you don’t have …

Czytaj więcej

Java Odata Tutorial part 3

Hi ! Today we add producer class to our project. Lets start ! 🙂 Create package „producer”. Right click on „java” folder, then select New -> Package. Inside package, create producer class named JavaJPAServiceFactory. Fill class by the code bellow. [crayon-5f94b23c41eff202262166/] Create new package „resources” in main package. Inside package create persistence.xml file. Fill file by code bellow. [crayon-5f94b23c41f05409155797/] Click on create …

Czytaj więcej

Java Odata tutorial part 2

Welcome in second part of Java Odata Olingo tutorial. Today we add maven support to our project. Let’s start ! Right click on your project, and select „Add Framework Support…”, next in window check Maven. Next wait a moment and in a popup click on „Enable auto import” Fill pom.xml like bellow. This give us required libraries. [crayon-5f94b23c4219f712073923/]   It …

Czytaj więcej

Java Odata tutorial part 1

Hi 🙂 This tutorial will be written in English. I hope this is not a problem for you. Let’s get started. First of all you should create empty project with your model. I make all operations in IntellIJ, repository is available on github under this url: https://github.com/pawelwiejkut/olingo_odata_tutorial Open IntelIJ and create a package „model”. Our class model should look like on image …

Czytaj więcej