using db named "informix"
See original GitHub issueI got an error message such as
java.lang.IllegalStateException: No dialect registered for informix-sqli. URL=jdbc:informix-sqli://192.168.1.100:7001/dt:informixserver=ifx
I did try the #441 resolved issue.
Database.registerDialect("mariadb") { MysqlDialect() }
Database.connect("jdbc:mariadb://localhost:3306/rankup",....)
mine version (revised)
val urlString = "jdbc:informix-sqli://localhost:9088/sysadmin:informixserver="
val ifxDevDb = Database.connect(urlString, "com.informix.jdbc.IfxDriver", user = "informix", password = "in4mix")
fun mapToDto(it: ResultRow) = PhGroupDto(/* column mapping */)
fun test(){
Database.registerDialect("informix-sqli") { MyDialect()
// misunderstanding ... not supported dialect for informix db
}
transaction (ifxDevDb) {
var result = PhGroup.selectAll().map{mapToDto(it)}
println(result);
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Using the 'dbname' Option - IBM
You can use the 'dbname' option to retrieve the name of the current database. This option returns the identifier of the database to...
Read more >Using Informix - - Connecting to Your Database
You can access the IBM Informix Dynamic Server (IDS) database version 10.x/12.x using the PowerBuilder I10 native Informix database interfaces.
Read more >Connecting to Informix - Advanced query tool
Configuring the Informix ODBC Driver ... In order to connect to your Informix server using AQT, you will need to configure an ODBC...
Read more >Connect to Informix Database - DbSchema
The connection dialog is explained here. Then try to connect using the default database user Informix. The common used database is sysmaster. Default...
Read more >Informix Tutorial Connecting Users and ... - Advanced DataTools
database is listening for connection. • The name of an Informix database server on the network. • Network Protocol Used. • Database Name....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In our project, Informix db stored many historical data. But, the SQL Server will be our main database. So, we decide to trans data from Informix to SQL Server by ETL tool for passing the dialect problem. BTW, the “exposed” is a great orm project. Thank you very much.
After reading h2 sample makes me understand the situation. I need a couple days to make a decision and thank you for the explanation.