Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JDBC and Relational Databases
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JDBC and Relational Databases
HSQLDB Error message
Abder-Rahman Ali
Ranch Hand
Posts: 138
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have an
ANT
target that
creates a database
.
When I ran the target, this is the error that I got and did not actually know where the problem might exactly be.
Buildfile: timexhsqldb.xml execddl: [sql] Executing commands [sql] 0 rows affected [sql] 0 rows affected [sql] 0 rows affected [sql] 0 rows affected [sql] 0 rows affected [sql] 0 rows affected [sql] 0 rows affected [sql] Failed to execute: =txQXXqa5ZD%d> CREATE TABLE Employee ( employee Id INT NOT NULL, name VARCHAR(100) NOT NULL, email VARCHAR(255) NOT NULL, employ eeCode CHAR(1) NOT NULL, password VARCHAR(10) NOT NULL, managerEmployeeId INT NU LL ) BUILD FAILED java.sql.SQLException: Unexpected token: = in statement [ =] at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.execute(Unknown Source) at org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:565) at org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:535) at org.apache.tools.ant.taskdefs.SQLExec$Transaction.runTransaction(SQLE xec.java:764) at org.apache.tools.ant.taskdefs.SQLExec$Transaction.access$000(SQLExec. java:706) at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:449) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1189) at org.apache.tools.ant.Main.runBuild(Main.java:758) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Total time: 1 second
Thank you very much.
Abder-Rahman Ali
Ranch Hand
Posts: 138
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I noticed that there was something like
=txQXXqa5ZD%d>
in my .xml file, didn't know how it came. It is the thing that caused the problem.
Thanks.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Ant build error
Regarding Ant issue.
Ant SshExec task throwing JschException : Auth fail
Juint task in Ant
Keep getting: weblogic.xml.schema.binding.BindingException: ERROR: during code compilation
More...