mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
Implements database structure automatic generation
This commit is contained in:
@@ -21,21 +21,15 @@
|
||||
<database>
|
||||
<jdbc>
|
||||
<!-- Defines the connection URL used by JDBC to connect to the database. -->
|
||||
<url>jdbc:mysql://localhost/l2jserver2</url>
|
||||
<url>jdbc:derby:data/database/derby;create=true</url>
|
||||
|
||||
<!-- The driver used to connect to the database. Please note that the
|
||||
driver library must be available in the JVM classpath. -->
|
||||
<driver>com.mysql.jdbc.Driver</driver>
|
||||
<!-- The engine used to connect to the database. -->
|
||||
<engine>com.l2jserver.service.database.sql.DerbyDatabaseEngine</engine>
|
||||
|
||||
<!-- The SQLTemplates provides several low-level SQL management. Templates
|
||||
are database dependent. -->
|
||||
<templates>com.mysema.query.sql.MySQLTemplates</templates>
|
||||
|
||||
<!-- The query factory provides an class that allows to convert Java
|
||||
code to SQL code and parses database results into more easily managed Java
|
||||
code. -->
|
||||
<queryFactory>com.mysema.query.sql.mysql.MySQLQueryFactory
|
||||
</queryFactory>
|
||||
<!-- Whether or not the service should try to update and create missing
|
||||
tables at startup. This should be disabled after the first server start as
|
||||
it could cause data corruption. -->
|
||||
<updateSchema>true</updateSchema>
|
||||
|
||||
<!-- The username used to login into the database. NOTE: Try not use
|
||||
"root" in production servers for security reasons. -->
|
||||
|
||||
Reference in New Issue
Block a user