Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-06 Thread Evaldo Junior
Richard, i understood, thank you very much for the explanations. Evaldo Junior Em sex., 6 de set. de 2024 às 14:36, Daniel Dias escreveu: > I understood, thank you very much for the explanations Richard > > On 2024/09/06 17:23:04 Richard Zowalla wrote: > > Both can be used without TomEE at al

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-06 Thread Daniel Dias
I understood, thank you very much for the explanations Richard On 2024/09/06 17:23:04 Richard Zowalla wrote: > Both can be used without TomEE at all. I would neither use a flag nor relate > it to ImportSql (and it's Flags). I doubt that any one is actually using this > feature today. > > If yo

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-06 Thread Richard Zowalla
Both can be used without TomEE at all. I would neither use a flag nor relate it to ImportSql (and it's Flags). I doubt that any one is actually using this feature today. If you would ask me, I would just close the issue as won't fix because alternatives are good and widley used today. Just th

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-06 Thread Evaldo Junior
Daniel, yes, i will do the example. Daniel, Richard, the ImportSql class is used in the class Assembler, which is in the org.apache.openejb.assembler.classic package. Data is imported according to a certain condition, using the hasSomethingToImport method. If this import is being done in the Assem

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-06 Thread Daniel Dias
Hello Evaldo, Thank you, it would help a lot to have an example like this :) On 2024/09/06 04:11:12 Evaldo Junior wrote: > Daniel, i have always used these tools via Maven, through plugins. I have > never used them programmatically. I will research, see how it is used > programmatically, and do

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-06 Thread Daniel Dias
Hello Evaldo, Thank you, it would help a lot to have an example like this :) On 2024/09/06 04:11:12 Evaldo Junior wrote: > Daniel, i have always used these tools via Maven, through plugins. I have > never used them programmatically. I will research, see how it is used > programmatically, and do

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-05 Thread Richard Zowalla
You can use these libraries from inside a webapp programatically too. I think, Daniel was thinking in that area. Am 6. September 2024 05:52:23 MESZ schrieb Evaldo Junior : >Daniel, this example would be using Flyway or Liquibase, through the Maven >plugin in the pom.xml file, which would have t

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-05 Thread Daniel Dias Dos Santos
Hello Evaldo, That's right, an example project using both via maven or programmatic (I don't remember how to do this) that would be in the "examples" folder. I think it would be cool for new people to join the project and see that it is possible to use this tool. On Fri, Sep 6, 2024, 00:52 Evald

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-05 Thread Evaldo Junior
Daniel, this example would be using Flyway or Liquibase, through the Maven plugin in the pom.xml file, which would have the same functionality as the ImportSql class. You wouldn't have to change anything in the repository objects, as the import would occur when executing Maven commands, during the

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-05 Thread Daniel Dias Dos Santos
I was thinking here. I think it would be interesting to have an example using flyway and liquibase in the TomEE repository. On Thu, Sep 5, 2024, 19:12 Evaldo Junior wrote: > Richard, thanks for your feedback. > > > Evaldo Junior > > Em qui., 5 de set. de 2024 às 06:18, Richard Zowalla > escreve

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-05 Thread Evaldo Junior
Richard, thanks for your feedback. Evaldo Junior Em qui., 5 de set. de 2024 às 06:18, Richard Zowalla escreveu: > +1 > > > Am 04.09.2024 um 05:49 schrieb Daniel Dias Dos Santos < > daniel.dias.analist...@gmail.com>: > > > > Hello Evaldo, > > > > I agree with your suggestion. > > > > > > On Wed

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-05 Thread Evaldo Junior
Daniel, thanks for your feedback. Evaldo Junior. Em qua., 4 de set. de 2024 às 00:56, Daniel Dias Dos Santos < daniel.dias.analist...@gmail.com> escreveu: > Hello Evaldo, > > I agree with your suggestion. > > > On Wed, Sep 4, 2024, 00:43 Evaldo Junior wrote: > > > Richard, another alternative

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-05 Thread Richard Zowalla
+1 > Am 04.09.2024 um 05:49 schrieb Daniel Dias Dos Santos > : > > Hello Evaldo, > > I agree with your suggestion. > > > On Wed, Sep 4, 2024, 00:43 Evaldo Junior wrote: > >> Richard, another alternative would be to place a deprecated annotation on >> the ImportSql class (item [1]) and add

Re: Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-03 Thread Daniel Dias Dos Santos
Hello Evaldo, I agree with your suggestion. On Wed, Sep 4, 2024, 00:43 Evaldo Junior wrote: > Richard, another alternative would be to place a deprecated annotation on > the ImportSql class (item [1]) and add a comment in the class javadoc to > use Flyway or Liquibase, instead of using the cl

Observation - Doubt - TOMEE-1380 - Study a better data importer for datsources and entitymanagers

2024-09-03 Thread Evaldo Junior
Richard, another alternative would be to place a deprecated annotation on the ImportSql class (item [1]) and add a comment in the class javadoc to use Flyway or Liquibase, instead of using the class itself. Evaldo Junior [1] https://github.com/apache/tomee/blob/main/container/openejb-core/src/