Questions tagged [mappings]
55 questions
0
votes
1 answer
Generate persistence mappings -> by hibernate mappings not available Intellij
I am brand new to Hibernate and I am trying have created the following class, which I now want to generate the hibernate mappings for.
package com.simpleprogrammer;
public class User {
private int id;
private String name;
private int…
user3600952
0
votes
1 answer
Hibernate - Embedding an aggregated Column in Entity
I am having a problem concerning hibernate annotation mapping configurations. Imagine the following two classes on a social media platform:
@Entity
class User {
@Id
@GeneratedValue
private Long id;
private String name;
@OneToMany
…

Simon K.
- 348
- 1
- 7
- 24
0
votes
1 answer
Should I map all my indexes with my analyzer on ElasticSearch
I'm "almost" new on Elastic Search. I've been using it for a while but never used Analyzers before.
I can make a full text search on my project but the problem is, when I try to find a name like "Alex", I should completely type down the name…

BurakT
- 1
- 1
- 1
0
votes
2 answers
How do I redirect a URL in Grails to go to a specific Controller/action?
So, I am running my grails application and the URL generated from the localhost is http://localhost:8888/appname/
When I enter the above link in the URL, I want it to be redirected to http://localhost:8888/appname/controller1/action1
This is my…

Spicado
- 65
- 8
0
votes
1 answer
validate linqtosql mapping to a model
I have generated a LinqtoSQL mapping xml file, which I have a valid XSD schema that I check to make sure the XML is correct.
Now I want to check that the field type match the Model/Interface
for example:
checking that the nullable fields are…

Coppermill
- 6,676
- 14
- 67
- 92
0
votes
1 answer
Convert Mapping from XML to Confirmst(Code Mappings)
Hello I am presently converting the xml mappings to code mappings and I am stuck at one place as I am not getting the proper way to convert ManyToOne Mappings.
The XML Mappings are

Moiz
- 2,409
- 5
- 27
- 50
0
votes
2 answers
TFS workspaces "Error trying to get mapping"
Background : I'm using Bamboo for several projects (business requirement) as a build and deployment controller and TFS as a repo. The TFS plugin creates a workspace for the projects on the build server as part of the build process. The mappings…

DPav
- 1
- 2
0
votes
1 answer
NHibernate collection not loading with data, but data is inserted into database
Not sure what I am doing incorrectly here with NHibernate. I have two mapping files mapped to two tables. I can insert data through the mapping into the database, but calling the below code returns 0, even though I can see a child row populated in…

Matt
- 2,730
- 4
- 28
- 35
0
votes
1 answer
How can one identify the operation to perform in a servlet?
I am trying to follow this example
but I can't understand this part:
Imagine also that the servlet's context path is myServer/myApp/servlets. The servlet container would direct a request with URL myServer/myApp/createUser.do myServlet to myServlet,…

Iulia
- 7
- 2
-1
votes
1 answer
Do I need mappings in elastic-search 6.0?
Why do I need to make these "mappings" for elastic-search?
If I need them, how do I make these "mappings"?
I'm using elastic 6.0 on mac with logstash and kibana.

C.J.A.
- 35
- 1
- 7