143 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
29
views
Embeddable Widget React
I'm quite new to the world of embeddable widgets and I sometimes find myself lost in all the moving parts.
I'm trying to build a widget using React + Vite + TypeScript + Shadow DOM + TailwindCSS, but ...
0
votes
1
answer
43
views
How to establish a Many-to-Onrelationship between two classes with different EmbeddedId objects using only one matching column in JPA?
I have two entities in JPA, class1 and class2, with the following structures:
// class1
@Embeddable
public class Class1Id {
@Column(name = "col_one")
String column1;
@Column(...
0
votes
0
answers
56
views
How to create embeddable form by Preact
I want to create a form by Preact that can be embedded anywhere in 3 types:
inline: when embedding the script anywhere in the code, the form will be displayed right there
float bubble: will appear at ...
1
vote
1
answer
2k
views
How to make a Next.js component embeddable?
I want to make a specific component of my nextjs 13 website embeddable as widget to other websites without using iframe approach.
I am using Next.js 13 app router. Let's say I have a component which ...
1
vote
1
answer
197
views
How to define in spring model to embed an object using Neo4j
I would to store the following structure in a Neo4J database which has the embedded object oweMe and soldFor are of class Payment.
{
"id":"id23",
"oweMe": {
"...
-1
votes
1
answer
129
views
JPA embeddable class constraints not used in embedding class table
I have an issue with the DDL generated from an embeddable class. The annotations on the properties of the embeddable are not carried over to the embedding class table, such as NOT NULL.
@Entity
public ...
0
votes
2
answers
340
views
Spring Boot Embeddable Composite Key with H2 returns JdbcSQLSyntaxErrorException - Field not found even though the field exists
I am building a SpringBoot API and have entity CarEntity with a composite key
@Entity
@Table(name = "CAR")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public ...
1
vote
0
answers
189
views
Syfmony Embedded classes for entity - fieldMappings inheritance
I've got the following issue and i can't found on the entire internet what should be the solution..
I've created a class named IdColumn and i want this class to be used in every entity of my project ...
1
vote
0
answers
135
views
QueryDsl and Embeddables with OneToMany | Wierd Generated SQL Select by "."
I am expermenting querydsl with embeddable, on the following set:
@Entity
Class Ent1 {
@Embedded
Embed embed;
}
@Entity
Class Ent2 {
@ManyToOne
Ent1 ent1;
}
@Embeddable
Class Embed {
@...
0
votes
1
answer
585
views
Can Python Embeddable Package Install IDLE Separately?
A Python embeddable package can install pip separately (pip with embedded python), but can it also install IDLE separately? As the embeddable package has pythonw.exe already, I tried to externally ...
1
vote
0
answers
441
views
@OnetoMany entity in @ElementCollection
I have 2 entities and 1 embeddable object :
@Entity
class CourseDetails extends Course {
@Id
Integer id;
@ElementCollection
@CollectionTable(name = "course_section", ...
0
votes
0
answers
61
views
Why does embeddable python use user space for libs searching
I have an C++ app for Windows. It runs python script to calculate something. There is problem on user side because some libraries don`t want to be installed by pip with latest python and script does ...
0
votes
1
answer
517
views
Use @Embeddable Without Nested JSON
I'm trying to use the @Embedded and @Embeddable javax annotations to keep my Java classes cleaner, but I want the resulting JSON to be flattened.
THE DESIRED BEHAVIOR:
[
{
"id": &...
1
vote
0
answers
316
views
How to declare list of embeddable object that contains more lists inside?
I have a model (object) that contains few embeddable objects inside.
Few of the embeddable object have List<String> inside them. When I mark the List<Embeddable-object> @ElemenetCollection,...
4
votes
4
answers
5k
views
Using Java records as JPA embeddables
I want to use Java records as embeddable objects with JPA. For example I want to wrap the ID in a record to make it typesafe:
@Entity
public class DemoEntity {
@EmbeddedId
private Id id = new ...