Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    that makes sense.
    Per-Åke Minborg
    @minborg
    Let me know if it works out for you! Good luck!
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    thank you!
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    i had a jre8 from oracle, just pointed to that and it worked
    didnt want to register with Oracle for 11
    Did i misunderstand the licensing? I chose the less than 500MB DB one - it has generated some java files in src/main - but I don't see anything in the TreeView below my DBname
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    i'm using MariaDB, does this license work with Hyperstream only?
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    ok, deleted speedment.json and ran tool again - now I see the tables
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    aw shucks, now Generate fails
    Writing write-always classes: 2020-04-30T10:46:47.976Z ERROR [JavaFX Application Thread] (c.s.t.c.i.u.ConfigFileHelper) - Error! Failed to generate code. A NullPointerException was thrown. java.lang.NullPointerException at com.speedment.runtime.config.util.DocumentDbUtil.isSame(DocumentDbUtil.java:320) at com.speedment.generator.standard.internal.util.InternalForeignKeyUtil.lambda$getForeignKey$6(InternalForeignKeyUtil.java:331) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) .....and so on
    Per-Åke Minborg
    @minborg
    Strange. I have never seen that before...
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    not my lucky day
    Per-Åke Minborg
    @minborg
    :-(
    If you could mail me the speedment.json file, I could have a look at it later today. Note that the json file contains all the metadata for your database.
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    sure
    Per-Åke Minborg
    @minborg
    minborg at speedment dot com
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    sent
    Per-Åke Minborg
    @minborg
    Thanks. I will look at ti later today
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    thank you
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    I got through - for some reason the json has a ? after one of the column names, even though the actual DB doesnt have that ?
    Per-Åke Minborg
    @minborg
    Ok. Great that you found it! Really strange
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    well, i've been struggling with it since morning now
    found multiple ? added to other columns
    Kishor Bhagwat
    @aaaaarrrgghhh_twitter
    ok. My environment is MariaDB, jdk 1.8 on Windows, and I want to quickly get a Spring Boot App with REST API up and running. I'm a bit confused from reading the user guide and tutorials.
    I've selected Spring with the Initializr, and downloaded the zip.
    They refer to a Main.java file - but I don't have that from the Initializr download - just a src folder and a pom.xml. Fine - I just make one.
    Then I'm not sure - do I write a Setup.class as some tutorials suggest, or just use the Main. class?
    I went with just the Main.class, assuming the SpringConfiguration will be taken care of.
    Then I select Run As..Spring Boot App.
    It asks me if I want to run Main or PartnerDbEntryPoint (why?)
    I choose Main
    I hit this error:
    Caused by: com.speedment.runtime.core.exception.SpeedmentException: Field 'THEIR_MAIN_COMPETITORS' in manager 'com.xxx.PartnermasterManagerImpl@96ac3062' referred to a column that couldn't be found in config model.
    What is config model?
    Per-Åke Minborg
    @minborg
    @dekmm Can you help Kishor out with this?
    vrajkuma-vector
    @vrajkuma-vector
    Hi, does speedment support json column types in the database. I see you can covert queried data to json with the json plugin. If not supported, are there any alternatives to storing retrieving json. My app is extensible and planning to store customer defined attributes as json name value pairs in the json column.
    Per-Åke Minborg
    @minborg
    Yes. json columns can be mapped to String.
    vishnuvijaypr
    @vishnuvijaypr
    hi minborg
    i need to close the mysql connection in this case
    we need to call stop method right?
    .stop()
    Per-Åke Minborg
    @minborg
    Yes. That is correct. All the connections will be released upon stop
    vishnuvijaypr
    @vishnuvijaypr
    ok thanks
    pk-PraveenKumar
    @pk-PraveenKumar
    Hi Guys I am observing issue with java.sql.SQLSyntaxErrorException: COLLATION 'utf8mb4_bin' is not valid for CHARACTER SET 'latin1'
    can u pls help me on this
    Per-Åke Minborg
    @minborg
    Shreyansh Sancheti
    @shreyanshrs44
    Hi Guys, I would like to contribute to this repo. Any good first issues to start with ?
    Per-Åke Minborg
    @minborg
    @shreyanshrs44 Hi! Great that you want to help out! You could check if you could have a look at: speedment/speedment#863
    Check out DbmsOperationHandlerImpl to begin with. You also need to sign the CLA as per https://github.com/speedment/speedment/blob/master/CONTRIBUTING.md
    Shreyansh Sancheti
    @shreyanshrs44
    Thanks @minborg
    Also seems like the CLA aggrement link is broken. You want to have a look once ?
    Per-Åke Minborg
    @minborg
    Clahub appears to be down. Sorry for the inconvenience.
    Shreyansh Sancheti
    @shreyanshrs44
    It appears that Clahub is been down still
    Per-Åke Minborg
    @minborg
    Yes. I see that. You could just cut out the CLA and send me an email with “I AGREE” and your name. minborg at speedment dot com
    extraclassi
    @extraclassi
    hello sorry for the noob question but It seems that no Main.java has been generated otherwise all the database objects are there
    can I provide my class list for you to tell me if my generation is allright ?
    Mislav Miličević
    @dekmm
    Hi @extraclassi, I'll gladly help you with this :) You can send me the list of your generated classes, but before you do, make sure that you have a class named EntryPoint. In newer versions of Speedment, the Main.java file is replaced with the EntryPoint. If your project is called Sakila, then your entry point class should be called SakilaEntryPoint
    Arnab Samanta
    @arnab192
    Hi, is there any mechanism to lock a record internally during update ( WIP) . in other framework they handle it using record version.
    Per-Åke Minborg
    @minborg
    Can you elaborate on the feature please @arnab192 ?
    Arnab Samanta
    @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 ?
    Per-Åke Minborg
    @minborg
    You can always use transactions to protect your data. In a transaction, you would have to check if someone else updated the record.