Questions tagged [mapping-resources]
7 questions
4
votes
1 answer
Spring.NET - Object reference not set to an instance of an object
I am new in .NET. I have used Spring Framework and Hibernate before in Java, but this is my first in .NET. To develop my application I am using Spring.Northwind solution as example.
The hibernate mapping is:

Tapas Bose
- 28,796
- 74
- 215
- 331
2
votes
1 answer
LocalSessionFactoryObject - MappingResources - Path to the hbm file
The project structure is:
Now I am trying to create a bean NHibernateSessionFactory as:
1
vote
2 answers
Spring Boot Mapping Resource of a sub folder
I'm trying to map a sub folder of my resources to server index.html and images associated.
My resources are located inside folder resources/a/b/c. (ie resources/a/b/c/index.html)
I want this html page to be accessible from my root path…

B. Bri
- 546
- 2
- 7
- 23
1
vote
1 answer
Adding external folders path to server to access the images from glassfish
I am trying to access external folder from my Restful webservices. I want to get the images of the external folder from in the HTTP get. I have tried configuring the web.xml but it did not work for glass fish.
Could some one please help me add the…

Rehan faiz
- 31
- 3
0
votes
0 answers
Hibernate SessionFactory not getting created due to inability to locate the my.hbm.xml files by mappingResource, see the screenshots
@Configuration class having one of the @bean declaration for hibernate SessionFactory. its mappingResource("hbm file path") method is not locating my.hbm.xml and hence getting "cannot be opened because it does not exists." I applied many strategies…

Arun Kumar Mudraboyina
- 769
- 9
- 32
0
votes
1 answer
Hibernate mapping resource from external project
I am wondering if it is possible to map resources from an external project?
What I mean:
I have project A with hibernate.cfg.xml which will be communicating with JMS and added to buildpath project B, which has classes and HBM mappings for them.
I…

argh
- 143
- 4
- 16
0
votes
1 answer
How to pass form data along with angularjs api call using ngresource?
I have my data in json at controller, now i want to send that data to an post api call in service.
service - Article
At my controller :
var annotationScripts = {startOffset : range.startOffset , endOffset : range.endOffset};
Article.post({id:…

Himanshu Goel
- 574
- 1
- 8
- 26