Questions tagged as 'orm'

2
answers

What is the relationship between JPA and ORM?

I wanted to know the relationship between JPA and ORM because I was in doubt, if both, deal with the same subject.     
asked by 30.11.2015 / 22:07
2
answers

Entity Framework 6 does not create database

I created a C # WEB MVC5 project in Visual Studio 2013, installed the entity framework 6 and created my classes ("entities") as well as the DBContext with their DBsets. Within WEB.Config I configured my connection string and in the DBContext...
asked by 26.11.2014 / 11:52
2
answers

How to make a "LIKE" in a DJANGO ORM query?

To make a query to get the data exactly in Django, I use filter , like this: usuarios = Usuarios.objects.filter(nome='Jonh') This will generate a SQL similar to: SELECT * FROM usuarios wHERE nome = 'Jonh' Since I've been using Dj...
asked by 15.02.2018 / 14:03
1
answer

ORM in Python similar to Django

I studied the framework Django a long time and found that ORM of it was excellent. I had the idea at some point to build an application with another framework called Flask , using a framework similar to Django . I...
asked by 09.05.2016 / 18:01
2
answers

OneToOne Mapping JPA 2.2 Unidirectional

Hello, everyone. I'm using JPA + hibernate 4 on top of the database structure (MySQL 5.6) below. I'm in doubt about the @OneToOne relationship. What's happening: Entity BodyPart has a @OneToOne relation with Body...
asked by 04.11.2016 / 14:52
2
answers

Using the JPA repository

Last Saturday I presented my CBT in college and saw that I need to improve the project presented. The system receives invoices in XML format and handles them. I took as a base the system in the company where I do internship. It uses Prime...
asked by 04.02.2014 / 16:29
1
answer

Sql Server Stored Procedures [closed]

I'm starting to develop an application, basically it's a business management control. The application will issue NFC-e, NFe, will control inventory, financial and etc., the database will be hosted on Azure. I started by modeling the database and...
asked by 30.09.2016 / 15:34
2
answers

Save a foreign key entity with Hibernate 4

I'm starting to study Hibernate and would like to know how to save a foreign key entity. Here is an example of two entities: Student: @Entity(name = "aluno") public class Aluno extends Pessoa{ @Column(nullable=false) private String...
asked by 23.05.2016 / 01:54
2
answers

Alternative to JPA Implementation

I'm using JPA in a project, with Hibernate implementation, I still use Java 7. And PermGen is constantly running out of space. I know it's because of Hibernate, as I'm new to this Java technology. Does anyone know to indicate some less heavy...
asked by 10.03.2014 / 02:49
1
answer

Is there any way to use Laravel Eloquent in the Silex microframework?

I'm refactoring a structure of a site and moving on to the Silex microframework. I would like to know if there is any way to use the Laravel Eloquent ORM to connect to the database. I read in the documentation that has how to use Doctrine,...
asked by 17.01.2017 / 11:35