运行错误!!!
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: FUNCTION hotel.getdate does not exist
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3206)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232)
at com.jd.sql.sunsql.executeQuery(sunsql.java:91)
at com.jd.sql.sunsql.getPrimaryKey(sunsql.java:120)
at com.jd.sql.Journal.writeJournalInfo(Journal.java:95)
at com.jd.login.Login.login(Login.java:123)
at com.jd.login.Login.actionPerformed(Login.java:154)
需要源代码的m我