demo.db.benerator.log Maven / Gradle / Ivy
Go to download
benerator is a framework for creating realistic and valid high-volume test data, used for
testing (unit/integration/load) and showcase setup.
Metadata constraints are imported from systems and/or configuration files. Data can imported from
and exported to files and systems, anonymized or generated from scratch. Domain packages provide
reusable generators for creating domain-specific data as names and addresses internationalizable
in language and region. It is strongly customizable with plugins and configuration options.
2009-10-30 13:04:49,358 DEBUG [org.databene.CONFIG] Running benerator 0.6.0 with file /Users/volker/Documents/databene/benerator/src/demo/resources/demo/db/user.ben.xml
2009-10-30 13:04:49,361 DEBUG [org.databene.CONFIG] Java 1.6.0_15
2009-10-30 13:04:49,361 DEBUG [org.databene.CONFIG] Java HotSpot(TM) 64-Bit Server VM 14.1-b02-92 (Apple Inc.)
2009-10-30 13:04:49,362 DEBUG [org.databene.CONFIG] Mac OS X 10.5.8 (x86_64)
2009-10-30 13:04:49,389 DEBUG [org.databene.CONFIG] Installed JSR 223 Script Engines:
2009-10-30 13:04:49,389 DEBUG [org.databene.CONFIG] - Mozilla Rhino[rhino-nonjdk, js, rhino, JavaScript, javascript, ECMAScript, ecmascript]
2009-10-30 13:04:49,389 DEBUG [org.databene.CONFIG] - Mozilla Rhino[js, rhino, JavaScript, javascript, ECMAScript, ecmascript]
2009-10-30 13:04:49,390 DEBUG [org.databene.CONFIG] - Mozilla Rhino[ejs, EmbeddedJavaScript, embeddedjavascript]
2009-10-30 13:04:49,390 DEBUG [org.databene.CONFIG] - AppleScriptEngine[AppleScriptEngine, AppleScript, OSA]
2009-10-30 13:04:49,422 DEBUG [org.databene.CONFIG] No custom converter setup 'converters.txt' found; using defaults.
2009-10-30 13:04:49,942 DEBUG [org.databene.CONFIG] Initializing Script mapping from file org/databene/script/script.properties
2009-10-30 13:04:50,694 INFO [org.databene.platform.db.model.jdbc.JDBCDBImporter] Importing database metadata. Be patient, this may take some time...
2009-10-30 13:04:50,721 INFO [org.databene.platform.db.model.jdbc.JDBCDBImporter] Importing catalogs
2009-10-30 13:04:50,728 INFO [org.databene.platform.db.model.jdbc.JDBCDBImporter] Importing schemas
2009-10-30 13:04:50,732 INFO [org.databene.platform.db.model.jdbc.JDBCDBImporter] Importing tables
2009-10-30 13:04:50,780 INFO [org.databene.platform.db.model.jdbc.JDBCDBImporter] Importing columns for catalog 'null' and schemaPattern 'null'
2009-10-30 13:04:50,899 INFO [org.databene.platform.db.model.jdbc.JDBCDBImporter] Importing imported keys
2009-10-30 13:04:50,924 INFO [org.databene.platform.db.model.jdbc.JDBCDBImporter] Imported database metadata within 229 ms.
2009-10-30 13:04:51,304 WARN [org.databene.benerator.engine.statement.EvaluateStatement] Error in script evaluation
2009-10-30 13:04:51,308 ERROR [org.databene.benerator.engine.statement.EvaluateStatement] Error in script evaluation
org.databene.script.ScriptException: Error in script:
CREATE TABLE db_role (
id int NOT NULL,
name varchar(16) NOT NULL,
mx int,
PRIMARY KEY (id)
);
CREATE TABLE db_user (
id int NOT NULL,
name varchar(30) NOT NULL,
role_fk int NOT NULL,
PRIMARY KEY (id),
CONSTRAINT user_role_fk FOREIGN KEY (role_fk) REFERENCES db_role (id)
);
CREATE INDEX user_role_fki on db_user (role_fk);
CREATE TABLE dummy (
id int NOT NULL,
PRIMARY KEY (id)
);
at org.databene.benerator.script.BeneratorScript.evaluate(BeneratorScript.java:58)
at org.databene.benerator.engine.statement.EvaluateStatement.runScript(EvaluateStatement.java:176)
at org.databene.benerator.engine.statement.EvaluateStatement.execute(EvaluateStatement.java:146)
at org.databene.benerator.engine.statement.CompositeStatement.execute(CompositeStatement.java:48)
at org.databene.benerator.engine.DescriptorRunner.execute(DescriptorRunner.java:116)
at org.databene.benerator.engine.DescriptorRunner.run(DescriptorRunner.java:89)
at org.databene.benerator.main.Benerator.main(Benerator.java:65)
Caused by: java.lang.UnsupportedOperationException: CREATE is not defined
at org.databene.benerator.script.QNExpression.readField(QNExpression.java:81)
at org.databene.benerator.script.QNExpression.evaluate(QNExpression.java:63)
at org.databene.benerator.script.BeneratorScript.evaluate(BeneratorScript.java:56)
... 6 more
© 2015 - 2025 Weber Informatics LLC | Privacy Policy