reset password
Author Message
cthanh
Posts: 56
Posted 23:39 Jul 08, 2015 |

I was able to generate a csjobs.dll file using the Hbm2ddl.java class; however, I got some extra log statements in my console:

Export DDL to E:\Workspace-CS520\csjobs/src/main/scripts/csjobs.ddl ... Jul 08, 2015 11:24:51 PM org.hibernate.annotations.common.Version <clinit>
INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
Jul 08, 2015 11:24:51 PM org.hibernate.Version logVersion
INFO: HHH000412: Hibernate Core {4.2.19.Final}
Jul 08, 2015 11:24:51 PM org.hibernate.cfg.Environment <clinit>
INFO: HHH000206: hibernate.properties not found
Jul 08, 2015 11:24:51 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: HHH000021: Bytecode provider name : javassist
Jul 08, 2015 11:24:51 PM org.hibernate.dialect.Dialect <init>
INFO: HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
Jul 08, 2015 11:24:51 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: HHH000227: Running hbm2ddl schema export

    create table users (
        id int4 not null,
        enabled boolean not null,
        password varchar(255),
        username varchar(255),
        primary key (id)
    );

    create sequence hibernate_sequence;
Jul 08, 2015 11:24:51 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: HHH000230: Schema export complete
Done.

is this due to the deprecated hibernate classes?

cysun
Posts: 2935
Posted 09:36 Jul 09, 2015 |

The extra logging is OK. Note that the logging level is "INFO" so it's just for informational purpose. You can adjust logging level to hide these messages. We'll talk about that when we get to logging.