Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

I have a test case that tests all the DAOs in my project. It uses openpojo to get the list of all DAO classes. The test case then iterates over the list of DAO classes and invokes all methods in them ...
siddhant's user avatar
1 vote
0 answers
31 views

Problem Summary I'm attempting to migrate a WaveMaker project from version 9.4 to 10.6.6 and encountering persistent compilation errors related to type mismatches between Integer and BigInteger in the ...
Mehdi Enn's user avatar
1 vote
0 answers
34 views

I am trying to define a foreign key field in a Beego ORM model, but the application crashes during RunSyncdb with the following panic: panic: runtime error: invalid memory address or nil pointer ...
Lomo zhu's user avatar
4 votes
1 answer
102 views

I’m working with a hierarchical model structure in Django, where each level can represent a region, district, or village. The structure looks like this: class Location(models.Model): name = models....
Ziyodulla Abdukarimov's user avatar
0 votes
1 answer
85 views

I'm working on a project using SQLAlchemy with lazy='raise' set on relationships to prevent implicit lazy loading. I'm trying to understand the real difference between these two forms of eager loading:...
Ah_Ch_97's user avatar
1 vote
1 answer
38 views

I have a status and user apps in my project and all the statuses are obviously created by particular users. I want to keep info about statuses creators (id) in my db, but I don't know how to add it ...
user737082's user avatar
0 votes
0 answers
56 views

In my Jakarta EE application (EJB + JPA with Hibernate), I have the following scenario: A Contact entity is created (INSERT). Immediately after creation, for some business reason, the same entity is ...
Raushan's user avatar
  • 347
0 votes
0 answers
56 views

In my Laravel 12 application. This code deletes entire set of logs (related to that app) without skipping: $app->logs()->orderBy('timestamp_ms', 'desc')->skip(2)->delete(); While this ...
Junaid's user avatar
  • 488
0 votes
0 answers
59 views

I never used check in the project, but I’m facing this problem with Hibernate 7.1.0. With Hibernate 6.4.4, everything works fine. Caused by: org.hibernate.models.UnknownAnnotationAttributeException: ...
fawez teka's user avatar
0 votes
0 answers
39 views

are there any possibility to connect with MS SQL Server from Cot framework of Rust? I think it could be switched the SeaQuery from SeaORM to SeaORMx.. The ORM's functions could be more scalable with ...
Miguel Angel Ochoa's user avatar
0 votes
0 answers
56 views

In Sequelize, I've the following schema: const User = sequelize.define('User', { name: DataTypes.STRING, email: DataTypes.STRING, }) But in TS, User ends up being typed as ModelCtor<Model<...
Joy's user avatar
  • 103
0 votes
1 answer
69 views

I'm looking into JavaDoc of @javax.persistence.PreUpdate and @javax.persistence.PrePersist and there isn't any notice about whether entity persist or update flow will be interrupted when an exception ...
Sergey Tsypanov's user avatar
3 votes
0 answers
32 views

Does peewee ORM have a native way to include table/columns descriptions/comments? If not, what would be the preferred way to add comments to db objects? Thank you for your help.
cytochrome's user avatar
2 votes
1 answer
73 views

I'm using Yii1 ORM and I struggled for two hours to figure out an issue with findAll. First, let's see a raw query: select * from lime_group_l10ns where gid in (232, 234); this yields: +------+-----+-...
Lajos Arpad's user avatar
  • 80.4k
2 votes
1 answer
104 views

I am trying to run a very simple filter on a joined table using Diesel ORM. The database has a simple many-to-many relationship set up using an associative table: CREATE TABLE items ( id INT NOT ...
goose_lake's user avatar
  • 1,627
1 vote
1 answer
137 views

I'm using Ent ORM and need help with a simple issue. I run a query like: SELECT id, first_name, last_name, first_name || ' ' || last_name AS fullname FROM users ORDER BY fullname Since fullname ...
Vanderci Curvelo Junior's user avatar
0 votes
0 answers
21 views

I have a write operation which adds a record in rider model. The rider_code is unique in this. Now 1 way is to first check if any record with that rider_code exists then return error else create rider....
Ahsan Ahmad's user avatar
0 votes
1 answer
46 views

I have a many to many relationship in JPA a MailItem can belong to multiple Subscription and a Subscription can contain multiple MailItem. I have an intermediate SubscriptionMailItem table where I ...
peeteko's user avatar
1 vote
1 answer
65 views

Is there a way to monkeypatch SQLAlchemy in a way that intercepts all INSERT INTO statements generated during a session.flush() without sending them to the database? Instead, I want to capture these ...
Meenti's user avatar
  • 63
0 votes
0 answers
33 views

I'm trying to use @SecondaryTable in a JPA entity and want to explicitly set the name of the foreign key constraint between the primary and secondary table. Here is a simplified version of my entity: ...
Noobie's user avatar
  • 1
1 vote
2 answers
135 views

I have worked with most of existing PHP frameworks, but this is the first time I am working with Nette and unfortunately I can't make something which sounded like an easy task to work. How SHOULD it ...
pittrek's user avatar
  • 73
0 votes
1 answer
34 views

I have multi-module spring project and some classes are like third party must be be mapped as external. So i used xml mapping, example classes: data class GeoLocationEntity( val id: GeoLocationId, ...
c0ld's user avatar
  • 865
0 votes
0 answers
61 views

I have books and movies that are stored in the regarding shelfs: "book shelf" and "movie shelf". Abstract Shelf<T>: @Entity @Inheritance(strategy = InheritanceType....
Michael Linker's user avatar
0 votes
0 answers
46 views

currently im dealing with prisma with nodejs . I'm using prisma version v6.7, and as the author stated this version already supported the mutli schema function. I followed all the instruction, created ...
Bothsiders's user avatar
0 votes
0 answers
185 views

I am working with the GCP Spanner database using the sqlalchemy ORM. This is the table schema where I am trying to insert/update (based on a check) data into a JSON column: from sqlalchemy import ...
Yashodhan Ghule's user avatar

1
2 3 4 5
391