Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- run:
- 03/04/2011 08:15:20 PM org.hibernate.cfg.annotations.Version <clinit>
- INFO: Hibernate Annotations 3.3.1.GA
- 03/04/2011 08:15:20 PM org.hibernate.cfg.Environment <clinit>
- INFO: Hibernate 3.2.5
- 03/04/2011 08:15:20 PM org.hibernate.cfg.Environment <clinit>
- INFO: hibernate.properties not found
- 03/04/2011 08:15:20 PM org.hibernate.cfg.Environment buildBytecodeProvider
- INFO: Bytecode provider name : cglib
- 03/04/2011 08:15:20 PM org.hibernate.cfg.Environment <clinit>
- INFO: using JDK 1.4 java.sql.Timestamp handling
- 03/04/2011 08:15:20 PM org.hibernate.cfg.Configuration configure
- INFO: configuring from resource: /hibernate.cfg.xml
- 03/04/2011 08:15:20 PM org.hibernate.cfg.Configuration getConfigurationInputStream
- INFO: Configuration resource: /hibernate.cfg.xml
- 03/04/2011 08:15:20 PM org.hibernate.cfg.Configuration doConfigure
- INFO: Configured SessionFactory: null
- 03/04/2011 08:15:20 PM org.hibernate.cfg.AnnotationBinder bindClass
- INFO: Binding entity from annotated class: edu.urbe.casalorena.model.Customer
- 03/04/2011 08:15:20 PM org.hibernate.cfg.annotations.EntityBinder bindTable
- INFO: Bind entity edu.urbe.casalorena.model.Customer on table Customer
- 03/04/2011 08:15:20 PM org.hibernate.cfg.AnnotationBinder bindClass
- INFO: Binding entity from annotated class: edu.urbe.casalorena.model.Product
- 03/04/2011 08:15:20 PM org.hibernate.cfg.annotations.EntityBinder bindTable
- INFO: Bind entity edu.urbe.casalorena.model.Product on table Product
- 03/04/2011 08:15:20 PM org.hibernate.cfg.AnnotationBinder bindClass
- INFO: Binding entity from annotated class: edu.urbe.casalorena.model.CustomerOrder
- 03/04/2011 08:15:20 PM org.hibernate.cfg.annotations.EntityBinder bindTable
- INFO: Bind entity edu.urbe.casalorena.model.CustomerOrder on table CustomerOrder
- 03/04/2011 08:15:20 PM org.hibernate.cfg.AnnotationBinder bindClass
- INFO: Binding entity from annotated class: edu.urbe.casalorena.model.ProductOrder
- 03/04/2011 08:15:20 PM org.hibernate.cfg.annotations.EntityBinder bindTable
- INFO: Bind entity edu.urbe.casalorena.model.ProductOrder on table ProductOrder
- 03/04/2011 08:15:21 PM org.hibernate.cfg.AnnotationConfiguration secondPassCompile
- INFO: Hibernate Validator not found: ignoring
- 03/04/2011 08:15:21 PM org.hibernate.connection.DriverManagerConnectionProvider configure
- INFO: Using Hibernate built-in connection pool (not for production use!)
- 03/04/2011 08:15:21 PM org.hibernate.connection.DriverManagerConnectionProvider configure
- INFO: Hibernate connection pool size: 20
- 03/04/2011 08:15:21 PM org.hibernate.connection.DriverManagerConnectionProvider configure
- INFO: autocommit mode: false
- 03/04/2011 08:15:21 PM org.hibernate.connection.DriverManagerConnectionProvider configure
- INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/casalorena
- 03/04/2011 08:15:21 PM org.hibernate.connection.DriverManagerConnectionProvider configure
- INFO: connection properties: {user=root, password=****}
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- ADVERTENCIA: Could not obtain connection metadata
- java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
- at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
- at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910)
- at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923)
- at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273)
- at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2031)
- at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718)
- at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
- at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
- at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
- at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
- at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
- at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
- at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:282)
- at java.sql.DriverManager.getConnection(DriverManager.java:582)
- at java.sql.DriverManager.getConnection(DriverManager.java:154)
- at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:110)
- at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
- at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
- at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
- at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859)
- at edu.urbe.casalorena.config.HibernateFactory.configureSessionFactory(HibernateFactory.java:94)
- at edu.urbe.casalorena.config.HibernateFactory.buildIfNeeded(HibernateFactory.java:44)
- at edu.urbe.casalorena.config.GenericDAO.<init>(GenericDAO.java:27)
- at edu.urbe.casalorena.dao.MockCustomerDAO.<init>(MockCustomerDAO.java:16)
- at edu.urbe.casalorena.presenter.InsertCustomerPresenter.createCustomer(InsertCustomerPresenter.java:77)
- at edu.urbe.casalorena.view.InsertCustomerWindow.saveButtonActionPerformed(InsertCustomerWindow.java:153)
- at edu.urbe.casalorena.view.InsertCustomerWindow.access$000(InsertCustomerWindow.java:20)
- at edu.urbe.casalorena.view.InsertCustomerWindow$1.actionPerformed(InsertCustomerWindow.java:69)
- at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
- at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
- at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
- at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
- at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
- at java.awt.Component.processMouseEvent(Component.java:6289)
- at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
- at java.awt.Component.processEvent(Component.java:6054)
- at java.awt.Container.processEvent(Container.java:2041)
- at java.awt.Component.dispatchEventImpl(Component.java:4652)
- at java.awt.Container.dispatchEventImpl(Container.java:2099)
- at java.awt.Component.dispatchEvent(Component.java:4482)
- at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
- at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
- at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
- at java.awt.Container.dispatchEventImpl(Container.java:2085)
- at java.awt.Window.dispatchEventImpl(Window.java:2478)
- at java.awt.Component.dispatchEvent(Component.java:4482)
- at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
- at java.awt.EventQueue.access$000(EventQueue.java:85)
- at java.awt.EventQueue$1.run(EventQueue.java:603)
- at java.awt.EventQueue$1.run(EventQueue.java:601)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
- at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
- at java.awt.EventQueue$2.run(EventQueue.java:617)
- at java.awt.EventQueue$2.run(EventQueue.java:615)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
- at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
- at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
- at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
- at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
- at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
- at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
- at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
- 03/04/2011 08:15:21 PM org.hibernate.dialect.Dialect <init>
- INFO: Using dialect: org.hibernate.dialect.MySQLDialect
- 03/04/2011 08:15:21 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
- INFO: Using default transaction strategy (direct JDBC transactions)
- 03/04/2011 08:15:21 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
- INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Automatic flush during beforeCompletion(): disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Automatic session close at end of transaction: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Scrollable result sets: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: JDBC3 getGeneratedKeys(): disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Connection release mode: auto
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Maximum outer join fetch depth: 2
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Default batch fetch size: 1
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Generate SQL with comments: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Order SQL updates by primary key: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Order SQL inserts for batching: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
- INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
- 03/04/2011 08:15:21 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
- INFO: Using ASTQueryTranslatorFactory
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Query language substitutions: {}
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: JPA-QL strict compliance: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Second-level cache: enabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Query cache: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory createCacheProvider
- INFO: Cache provider: org.hibernate.cache.NoCacheProvider
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Optimize cache for minimal puts: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Structured second-level cache entries: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Echoing all SQL to stdout
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Statistics: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Deleted entity synthetic identifier rollback: disabled
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Default entity-mode: pojo
- 03/04/2011 08:15:21 PM org.hibernate.cfg.SettingsFactory buildSettings
- INFO: Named query checking : enabled
- 03/04/2011 08:15:21 PM org.hibernate.impl.SessionFactoryImpl <init>
- INFO: building session factory
- 03/04/2011 08:15:22 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
- saving...
- INFO: Not binding factory to JNDI, no JNDI name configured
- 03/04/2011 08:15:22 PM org.hibernate.util.JDBCExceptionReporter logExceptions
- ADVERTENCIA: SQL Error: 1045, SQLState: 28000
- 03/04/2011 08:15:22 PM org.hibernate.util.JDBCExceptionReporter logExceptions
- GRAVE: Access denied for user 'root'@'localhost' (using password: YES)
- org.hibernate.exception.GenericJDBCException: Cannot open connection
- Exception in thread "AWT-EventQueue-0" org.hibernate.HibernateException: handle problem
- at edu.urbe.casalorena.config.GenericDAO.handleException(GenericDAO.java:122)
- at edu.urbe.casalorena.config.GenericDAO.saveOrUpdate(GenericDAO.java:36)
- at edu.urbe.casalorena.dao.MockCustomerDAO.save(MockCustomerDAO.java:19)
- at edu.urbe.casalorena.presenter.InsertCustomerPresenter.createCustomer(InsertCustomerPresenter.java:79)
- at edu.urbe.casalorena.view.InsertCustomerWindow.saveButtonActionPerformed(InsertCustomerWindow.java:153)
- at edu.urbe.casalorena.view.InsertCustomerWindow.access$000(InsertCustomerWindow.java:20)
- at edu.urbe.casalorena.view.InsertCustomerWindow$1.actionPerformed(InsertCustomerWindow.java:69)
- at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
- at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
- at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
- at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
- at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
- at java.awt.Component.processMouseEvent(Component.java:6289)
- at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
- at java.awt.Component.processEvent(Component.java:6054)
- at java.awt.Container.processEvent(Container.java:2041)
- at java.awt.Component.dispatchEventImpl(Component.java:4652)
- at java.awt.Container.dispatchEventImpl(Container.java:2099)
- at java.awt.Component.dispatchEvent(Component.java:4482)
- at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
- at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
- at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
- at java.awt.Container.dispatchEventImpl(Container.java:2085)
- at java.awt.Window.dispatchEventImpl(Window.java:2478)
- at java.awt.Component.dispatchEvent(Component.java:4482)
- at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
- at java.awt.EventQueue.access$000(EventQueue.java:85)
- at java.awt.EventQueue$1.run(EventQueue.java:603)
- at java.awt.EventQueue$1.run(EventQueue.java:601)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
- at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
- at java.awt.EventQueue$2.run(EventQueue.java:617)
- at java.awt.EventQueue$2.run(EventQueue.java:615)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
- at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
- at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
- at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
- at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
- at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
- at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
- at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Add Comment
Please, Sign In to add comment