Tag: jaybird

如何使用hibernate配置Jaybird

我正在使用jaybird 2.2.3和hibernate 3.5,当我使用向导来hibernate映射文件和pojos数据库时出现以下错误“java.lang.NullPointerException” 我使用与mysql相同的映射,它工作正常,所以我相信它是jaybird中的东西 My hibernate.cfg.xml org.hibernate.dialect.FirebirdDialect org.firebirdsql.jdbc.FBDriver jdbc:firebirdsql://XXXXXX:XXXX/X:\XXXX\XXXX\XXX\XXX\XX\XXX.FDB sysdba XXXXX 编辑: INFO [org.hibernate.cfg.Configuration]: configuring from file: hibernate.cfg.xml INFO [org.hibernate.cfg.Configuration]: Configured SessionFactory: null INFO [org.hibernate.cfg.reveng.OverrideRepository]: Override file: C:\Documents and Settings\micro-40\workspace\testefirebird\src\java\hibernate.reveng.xml INFO [org.netbeans.modules.hibernate.util.HibernateUtil]: Found pre-existing database connection. INFO [org.netbeans.modules.hibernate.util.HibernateUtil]: Database Connection is pre-established. Returning the conneciton. INFO [org.hibernate.connection.ConnectionProviderFactory]: Initializing connection provider: org.netbeans.modules.hibernate.util.CustomJDBCConnectionProvider INFO [org.netbeans.modules.hibernate.util.CustomJDBCConnectionProvider]: Loaded JDBC […]