0
liquibase diff 명령을 실행하는 동안 NumberFormatException 오류가 발생합니다. 내가 여기서 뭔가를 놓치고 있니? 사전에liquibase diff 명령을 사용하는 NumberFormatException
Unexpected error running Liquibase: liquibase.exception.DatabaseException: java.lang.NumberFormatException: For input string: "/****** Object: Default dbo.Set_To_Zero Script
te: 02/02/01 14:51:51 ******/
CREATE DEFAULT Set_To_Zero
AS 0"
Command run: liquibase diff
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd">
<preConditions onFail = 'HALT'>
<dbms type="mssql" />
</preConditions>
<changeSet author="liquibase-docs" id="sqlFile-example" >
<comment>A sample change log 1</comment>
<sqlFile
endDelimiter="\nGO"
path="updateEMP.sql"
relativeToChangelogFile="true"/>
</changeSet>
</databaseChangeLog>
--Contents of updateEMP.sql
update dbo.EMP set dob = getdate() where id = 1
감사합니다, luwang
내가 사용한 명령은> liquibase diff입니다. – nluwang
liquibase.properties의 속성은 다음과 같습니다. url : jdbc : sqlserver : // : 1433; databaseName = ; integratedSecurity = true; referenceUrl : jdbc : sqlserver : // : 1433; databaseName = ; integratedSecurity = true; –
nluwang