Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Hibernate

0 votes
664 views
1 answer
    I have to update two data sources as part of one transaction. That is - I do an update in DB1. Then, ... back only the the Db01 transaction. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
583 views
1 answer
    I have a maven-built CDI-based Java SE app, which has a core module, and other modules. Core has ... org/hibernate/entitymanager/3.6/javadocs/ See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
824 views
1 answer
    In JPA there is an attribute called referencedColumnName that can be set on @JoinColumn, @PrimaryKeyJoinColumn what is the ... this can be used? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
473 views
1 answer
    My application has multiple data sources , so i have created two data source configuration classes based on this ... the multiple data sources . See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
554 views
1 answer
    I have the following parametrised JPA, or Hibernate, query: SELECT entity FROM Entity entity WHERE name IN (?) I ... style parameters like "?". See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
462 views
1 answer
    Does Java have a using statement that can be used when opening a session in hibernate? In C# it is ... of scope and closes automatically. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
451 views
1 answer
    Would like to hear experts on best practice of editing JPA entities from JSF UI. So, a couple of words about the ... isn't ok for me. Thanks! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
850 views
1 answer
    i have a table Permission: id name desc what i am doing right now is to make a query that ... two strings are permission_id, permission_name. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
564 views
1 answer
    Can you please help me how to convert the following codes to using "in" operator of criteria builder ... order by generatedAlias0.trackingId asc See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
843 views
1 answer
    I am developing a portlet where I have Hibernate access to SQL Server database. I set up maven dependencies ... right maven dependency value? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
868 views
1 answer
    I'm looking how to perform date/time math within an HQL query. Specifically, how do I add or subtract (x) ... use the database's current time. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
810 views
1 answer
    I am trying to build 1 hybrid test project using spring + hibernate. After deploying... I am getting ... any dependencies are missing... See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
571 views
1 answer
    I am reading the transaction management Using Spring framework. In first combination I used Spring + hiberante and ... would be great help. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
644 views
1 answer
    In my application I use JPA 2.0 with Hibernate as the persistence provider. I have a one-to-many ... the relationship owner. Thank you. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
627 views
1 answer
    A project I am working on uses Spring 2.5 & JPA with Hibernate as a provider. My DAO classes extend JpaDaoSupport, ... . How can I do this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
830 views
1 answer
    I want to write some query methods in repository layer. This method must ignore null parameters. For example: List< ... ? Can someone help me? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
598 views
1 answer
    Trying to create an object from an HQL query, but just can't figure out what i'm doing wrong. Query: ... query).fetch(); Using Play framework See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
635 views
1 answer
    I have the following two entities: 1- PlayList: @OneToMany(fetch = FetchType.EAGER, mappedBy = "playlist", ... how to fix this exception. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...