Speedment is a Stream ORM Java Toolkit and Runtime
Can you elaborate on the feature please @arnab192 ?
Suppose one user is working with a record , at the same time another user start working with the same record. now 1st user update the record and it has been change in data base. So 2nd user have the old version of record , if 2nd user update something it will remove the previous change which has been made by user one. So is there any mechanism to stop 2nd user to update the record ?
You can always use transactions to protect your data. In a transaction, you would have to check if someone else updated the record.
One basic doubt, i just configured speedment, connected to my postgresql db, and once i click on Generate option i got the necessary files, but i cannot find any files related to the ORM mapping or DML statements like Query to access the tables data and insert into table data like that, plz dont ignore even if it is a entry lvl query, Tnx
tried moving version numbers around but cant get it to work
ok. We will take a look at it and get back.
Hi @kriegster108, I cannot replicate the issue you are describing. May I ask you what settings you used in the initializer?
used defaults @julgus
Dependency 'com.speedment.enterprise.connectors:oracle-connector:3.2.6' not found
Dependency 'com.speedment.enterprise.hazelcast:hazelcast-runtime:3.2.6' not found
Weird, I see it in the repo itself, not sure why maven doesnt see it
when I plug in 3.1.12, it seems to not complain
as the version # for these depdencies
Still confused as to why this might be. On my end both dependencies are found without any issues using v. 3.2.6. Could your try using the latest released version - 3.2.10?
I am new to Speedment, I just created a spring boot application and using speedment:tool I connected to database. My application is working. Now in real world there are different database name in same structure like (development database name as student_dev, Production database name like student_prod) So How can I connect different database after deploying the application as war in tomcat?
And another problem I am facing with MS SQL server that, speedment tool window is not opening
In the speedment builder, you can set the dbms name. You can easilly pickup the name using system properties in your app.
I'm currently working on a search page,. which presents me qith some issues on how best to build that in Speedment, as the entire where clause is dynamic
I have a fleet table, and a registration table.
the fleet has a start date
now, when a start date has been provided, I need to filter on this start date. If no start date has been provided, I don't need this filter
if the boolean registered is set to true, I need to link in the second table to check of the user has registered. If the boolean is set to false, this doesn't need to happen
in all cases, I only need to return a list of Fleet object
CUrrently, I have a few of the search params in there
but I'm not sure I'm doing it right, and I'm not sure how to dynamically link in that second table