jpa tag

13 questions


1 answers
115 views
0
Create jpa search function

I want to type my name in the search bar and display the data in the table in view, but it doesn't work.Example) Hit Tanaka and Tamura by typing TaI try to get arguments dynamically using the setParam...

2 years ago

1 answers
101 views
0
Error in JPA Find Method in JavaEE

On wildFly (Ver.8.2.0.Final), we are verifying the operation of data access using JPA's ecipselink (Ver.2.5.1).@Stateful(name=PersonalInformationDaoBeanEJB)public class PersonalInformationDaoBean impl...

2 years ago

1 answers
153 views
0
Want to know how to implement best practices for accessing split tables in Spring Data JPA

For example, a user table with user informationuser_0, user_1, user_2, user_3 (when userId is divided by 4, the remainder follows the table name) I would like to know how to implement without having t...


1 answers
138 views
0
Want to handle declarative transactions at the service layer

//DAO@Transactionalpublic class UserDAO implements UserDAO Interface { @ Inject EntityManagerem; public User find(intid){ return em.find(User.class,id); } @ Override public void update (User user) { ...

2 years ago

1 answers
83 views
0
Questions about how to access multiple IDs for Spring Data JPA

We are developing a web system using SpringBoot.I know how to retrieve data from JPA findById (ID id) in general, but I would like to set Entity with multiple @IDs to retrieve data with multiple IDs.I...

2 years ago

1 answers
111 views
0
StoredProcedure Call from JPA

For multiple requests, JPA's StoredProcedureQuery implements the process of making procedural calls and registering them.I want to reflect everything only if it is successful, so I make it a start at ...

2 years ago

2 answers
78 views
0
Best Practices for Temporary Violation of Unique Constraints

We are developing using JPA.The target DB is designed to work with SQL Server, Oracle, or PostgreSQL.(I use JPA, so I don't make any difference in implementation.)The column ORDER appears in Table X w...

jpa
2 years ago

1 answers
146 views
0
Left external coupling does not work.

I'm trying to get data from a combination, but the following exceptions occur:I would like to know how to avoid this exception.T_estimate has dataNo data in T_estimate_details 両方 If you have both data...

2 years ago

1 answers
93 views
0
Configured the association between objects using Springboot JPA.I want to be able to post comments on my blog.

@ManyToOne, @OneToMany I want to be able to add comments (comment class) functionality to blogs (blog class), but I get an error with the object comment field error in the field blog and no comments a...

2 years ago

1 answers
144 views
0
Problems with JAVA 8 Local Date Time data type being stored as a bytea data type in PostgreSQL when using Hibernate 5.0.9

Hibernate 5.0.9 version Dialect is using postgresql. To use the new java.time package in Java8, add jackson-datatatatype-jsr310 dependency and use it.When the field is declared and DDL is automaticall...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.