Hi Evaldo,

thanks for your mail.

I am wondering, if this feature is still needed in 2024?

Since 2014 tools such as liquibase or flyway have emerged and have
similar functionality interms of boot strapping a database.

You can find an example for the current import feature in

TomEE :: Examples :: DataSource Realm [1]

The actual code is here: [2]

Gruß
Richard

[1] https://tomee.apache.org/latest/examples/realm-in-tomee.html
[2]
https://github.com/apache/tomee/blob/main/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/ImportSql.java


Am Sonntag, dem 11.08.2024 um 11:01 -0300 schrieb Evaldo Junior:
> Romain, i have a question, about the ticket TOMEE-1380 -
> https://issues.apache.org/jira/projects/TOMEE/issues/TOMEE-1380.
> I am new to Tomee. I found the data directory, but I didn't
> understand how to import it.The data directory is in the Tomee
> Openejb module.
> 
> 
> image.png
> 
> Please, where is the functionality that currently imports data into
> the database ?
> 
> Is there a visual feature in the manager, a screen, that already does
> this, only in text mode in SQL format, and now it will be done in
> JSON format ? 
> 
> Because I didn't find the feature that does this in SQL mode. 
> 
> Please, where is the current feature that imports files in SQL format
> ?
> 
> 
> Evaldo Junior

Reply via email to