question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Attempted to write multiple times to …, please check your configuration

See original GitHub issue

With version 4.2.1 I get the error

https://github.com/querydsl/querydsl/blob/8f96f416270d0353f90a6551547906f3c217833a/querydsl-sql-codegen/src/main/java/com/querydsl/sql/codegen/MetaDataExporter.java#L430

while using querydsl-maven-plugin together with jdbcDriver com.mysql.cj.jdbc.Driver (mysql-connector-java 8.0.11). This happens because the user I use to connect to MySQL has access to multiple databases. As a workaround I had to add nullCatalogMeansCurrent=true to jdbcUrl.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
sashuprosperowarecommented, Jan 3, 2019

Workaround : Create a new user in database which has access to only the given database for which you want to create Q files for. Done.

1reaction
starsoheil2007commented, Aug 20, 2018

I have same issue !

Read more comments on GitHub >

github_iconTop Results From Across the Web

QueryDSL and SQL Server Issue Using Integrated Security
IllegalStateException: Attempted to write multiple times to <PATH>\CheckConstraints.java, please check your configuration.
Read more >
Connecting Mode to your database
Getting ready to connect. Mode can connect to most popular databases that can be queried using SQL or a SQL-like language, including databases...
Read more >
External database connection fails at setup
Hi, I am setting up BitBucket server for the first time. I am setting up the bitBucket ... Please check your configuration and...
Read more >
Resolving could not open a connection to SQL Server errors
Go to Control Panel and click on Windows Firewall. Go to exceptions tab as shown below.
Read more >
A network-related or instance-specific error occurred - SQL ...
Check the connection parameters for the alias and make sure that they're correct. The following common scenarios can cause connectivity problems ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found