When I build the jdl file on the database side, I only get one entity, the other entities are not updated to the database. This is my jdl file:
application {
config {
baseName ElectronicInvoiceProject
applicationType monolith
packageName org.electronic.app
authenticationType oauth2
prodDatabaseType oracle
devDatabaseType oracle
clientFramework react
} entities *
}
entity ElectronicInvoice {
id UUID
dateAt LocalDate
cqtCode String
symbol String
number Long
}
entity SellerInformation {
id UUID
salesUnit String
taxCode String
address String
accountNumber String
}
entity BuyerInformation {
id UUID
fullName String
unitName String
taxCode String
address String
paymentMethod String
accountNumber String
}
entity InvoiceSummary {
id UUID
totalAmountBeforeTax BigDecimal
taxRate BigDecimal
totalTax BigDecimal
totalAmount BigDecimal
}
entity InvoiceItem {
id UUID
commodityName String
calculationUnit String
quantity Integer
unitPrice BigDecimal
totalPrice BigDecimal
}
relationship OneToOne {
ElectronicInvoice{seller} to SellerInformation
}
relationship OneToOne {
ElectronicInvoice{buyer} to BuyerInformation
}
relationship OneToOne {
ElectronicInvoice{summary} to InvoiceSummary
}
relationship OneToMany {
InvoiceSummary{items} to InvoiceItem{summary}
}
dto * with mapstruct
service * with serviceImpl
paginate * with pagination
This is a problem that I have not found an answer to for the past 2 days. I have tried deleting the user and recreating it in Oracle several times but it still doesn't work.