python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Pagination with Grails/GORM/DataServices @Query annotation
How do you add pagination when using GORM JPA-QL Queries via the grails.gorm.services.Query annotation
@Service(User)
abstract class UserDataService implements IUserService {
@Query($/SELECT DIST...
paxtuik
Votes: 0
Answers: 1
Saving data with table associations in Grails
I have two database tables 'Student' and 'Course'. I want a one-to-one relation where there is foreign key of 'Course' table in 'Student' table. The foreign key 'course_id' is appearing in the Student...
Sypder
Votes: 0
Answers: 1
DB connectivity fails in grails 5 application with error creating hibernateDatastore
I am upgrading an application to grails-5. I have moved my DB connectivity information from a custom DataSource.groovy to application.yml.
environments:
development:
dataSource:
dbCreate: update
url: ...
JavaProgrammer
Votes: 0
Answers: 1
Golang Gorm Many to Many with Selective Column
I'm trying to fetch books data that have many authors. The relationship type between them is simple Many to Many with a pivot table only consist both ID. This is the models,
package model
import &quo...

Dryluigi
Votes: 0
Answers: 2