Adding data in new custom entity
Posted: Sun Jul 31, 2016 3:06 am
Hello,
I want to add new controller,service,domain(entity),dao for rest api in site module. There is not any tutorial in documentation for the issue while adding data tutorial showing coming soon.
My requirement is that i need complete flow from using REST Api from controller to persisting entity into my custom table.
Is there any link or reference that suggest how to write custom controller,services,entity,dtos and dao And register those daos and entities to persistence unit i.e blpu.
i am trying to register these entities in core modules persistence-core.xml and my entities in site module since it throwing an exception that is blpu class or package not found though it is already present in core.jar file.
So,please provide any reference link or documentation for this issue.
I want to add new controller,service,domain(entity),dao for rest api in site module. There is not any tutorial in documentation for the issue while adding data tutorial showing coming soon.
My requirement is that i need complete flow from using REST Api from controller to persisting entity into my custom table.
Is there any link or reference that suggest how to write custom controller,services,entity,dtos and dao And register those daos and entities to persistence unit i.e blpu.
i am trying to register these entities in core modules persistence-core.xml and my entities in site module since it throwing an exception that is blpu class or package not found though it is already present in core.jar file.
So,please provide any reference link or documentation for this issue.