Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 22 23:17
    jvasileff commented #6516
  • Feb 22 17:05
    mikesmithson commented #19979
  • Feb 22 17:03
    mikesmithson commented #19979
  • Feb 22 10:21
    cdalexndr edited #20298
  • Feb 22 10:17
    spring-issuemaster labeled #20298
  • Feb 22 10:15
    cdalexndr edited #20298
  • Feb 22 10:13
    cdalexndr edited #20298
  • Feb 22 10:12
    cdalexndr opened #20298
  • Feb 22 03:52
    corneel commented #1374
  • Feb 22 02:00
    mikesmithson synchronize #20297
  • Feb 22 00:52
    spring-issuemaster labeled #20297
  • Feb 22 00:48
    mikesmithson review_requested #20297
  • Feb 22 00:48
    mikesmithson opened #20297
  • Feb 22 00:47
    mikesmithson closed #20294
  • Feb 22 00:44
    mikesmithson synchronize #20294
  • Feb 22 00:29
    mikesmithson synchronize #20294
  • Feb 22 00:25
    mikesmithson synchronize #20294
  • Feb 21 23:44
    mbhave edited #19697
  • Feb 21 23:44
    mbhave edited #19697
  • Feb 21 23:44
    mbhave edited #19697
James Howe
@OrangeDog
none of which has anything to do with propagation
nightswimmings
@nightswimmings
all the solutions seem no trivial for a hotfix then :'(...
Are we sure theres no mechanism for marking a bean as not qualifiable to support transactions? I mean something like @EnableTransactions(exclude=thirdparty.class). I need the bean to be managed, but I want the @Transactional to be ignored
Anyway, thanks for your help james
James Howe
@OrangeDog
there is not
perhaps you could do something really hacky with Bean(Definition)PostProcessors but the other solutions are all easier
aghag10
@aghag10
@bvn13 Thanks. I'll give that a shot.
bjonnh
@bjonnh
I have two models (kotlin data classes) linked through a manytomany relationship (pg database)
when I want to do A.allofB.size where allofB is the manytomany field that link A to B (through a join table)
I get in infinite recursion
I've dealt with infinite recursion when serializing my data (Json), but in that case I am not serializing anything…
(and the two manytomany sides are LAZY)
If I remove the manytomany field on the class B, then I can run that (but I cannot find all the A linked to an object B from an object of type B)
I can't find a way to have the both sides of that manytomany relation
(and I am NOT using serialization here)
I am wondering if it could be an issue with kotlin data classes that may want to hash the objects anyway
(as I am using sets)
bjonnh
@bjonnh
(and that seem to be the case as turning them all into normal classes "solve" the issue)
choubani amir
@amirensit
Hello.
Did anyone try to import multi maven spring boot project using intellij community edition ?
Unable to find find projects recursively
Konstantin Bläsi
@konstantinblaesi
any idea why /actuator/metrics/vm.threads.states gives me a 404 ? /actuator/metrics displays the list, but I cannot get the details for a metric?
Ingo Griebsch
@ingogriebsch

Hi all, I want to test a special flyway migration step....

Me again, is someone maybe having an idea how I could solve my problem? Or is my question to special? Am I asking in the wrong channel? Would be nice to get some feedback! :)

wobushiguojing
@wobushiguojing
hi
James Howe
@OrangeDog
The 2.2.2 -> 2.2.3 update appears to have broken properties loading via @ActiveProfiles("test"). Maybe #19556 but there are no commas involved...
Olan Byrne
@olanb7
hey all - is there any way to enable the use of 'block()' on a flux/mono with spring boot 2.2? trying to override a method in a third party lib..
James Howe
@OrangeDog
As far as I can tell, @ActiveProfiles used to replace the profiles, but now it adds to them
Ah yes: #19788
Niels Doucet
@NielsDoucet
Just to double check: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.1-Release-Notes#third-party-library-upgrades
Tomcat 9 is the baseline. Spring boot no longer guarantees to work with older version, right?
That’s for the embedded container though
SRITHARAN MAHENDRA BABU
@Srithar-ccs
Hi All, i am having an issue with Spring data insertion into msqyl for utf-8 character like this 𝛂, it is inserting the character into the column like this '?'
Andy Wilkinson
@wilkinsona
Sounds like an encoding problem. Have you enabled UTF-8 or similar everywhere?
SRITHARAN MAHENDRA BABU
@Srithar-ccs
yeah , i have enable utf-8 in the mysql database, like set name utf-8 and also tried utf8mb4
i think it has got something to do with java hibernate pipleline, because when i try to insert the data from datagrip it works fine
which is like the DB is configured fine, i think
nightswimmings
@nightswimmings
Hi! how can I force one of my app's @Configuration @Beans to be loaded before an @AutoConfiguration one? My local bean instantiation actions a side-effect that is relevant to the @AutConfiguration bean runtime instantiation logic. The thing is both have as a dependency a previosusly autoconfigured bean
nightswimmings
@nightswimmings
Is there such a thing as @IsDependedBy as opposed to @DependsOn? I cannot edit my third-party libs
nightswimmings
@nightswimmings
Or @InitializeBefore
nightswimmings
@nightswimmings
It must be a way with BeanPostProcessor and InitializzingBean
Scott Frederick
@scottfrederick
@nightswimmings you could make your app configuration auto-configuration (e.g. register it in META-INF/spring.factories org.springframework.boot.autoconfigure.EnableAutoConfiguration and use @AutoConfigureBefore
Jacques-Etienne Beaudet
@jebeaudet
Hey! Am I the only one having problem fetching 2.1.12.RELEASE from mvn central? I see it here https://search.maven.org/artifact/org.springframework.boot/spring-boot-dependencies/2.1.12.RELEASE/pom but not here https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies and I get release not found when trying to build it in my project. Any sync issue going on?
nightswimmings
@nightswimmings
@scottfrederick mmmh that is pretty clever. Thanks for the suggestion!
nightswimmings
@nightswimmings
Looks like it has no effect. At least on test (spring.factories on main)
bjonnh
@bjonnh
Is there a way to catch error at the moment of bean creation and change application behavior? (I want the application to have less functions if that resource isn't available)
(it as a JavaFX/Spring application, if it cannot connect to a specific database, a specific tab shouldn't appear)
nightswimmings
@nightswimmings
debug: true shows it as an unconditional autoconfigration, but ConfigureBefore does not work
Brian Clozel
@bclozel
@jebeaudet mvnrepository is a 3rd party website indexing maven repositories. maven.org is the source of truth. Issues have been recently reported on https://issues.sonatype.org/ about 404s/CDN sync issues but it seems that artifacts are there. Do you have an exact error message?
nightswimmings
@nightswimmings
@scottfrederick Got it with
    @Bean
    public BeanFactoryPostProcessor dependsOnPostProcessor() {
        return (beanFactory) -> beanFactory.getBeanDefinition("AutConfiguredBean").setDependsOn("locallyConfiguredBean");
    }
Andy Wilkinson
@wilkinsona
@konstantinblaesi Typo? The metric is named jvm.threads.states not vm.threads.states.
Sivamaniyan
@Sivamani180915
Hi,
I installed tomcat 9.0.26 in RHEL5.
The catalina pid is not creating
Any suggestions
dadochudy
@dadochudy
hi i get mock server which is jar but i'm getting problem to start webscoket i always get 101 error can someone quickly point me where i can check cors ?