|
From: <leg...@at...> - 2003-09-03 16:21:27
|
The following issue has been updated:
Updater: Jeff Boring (mailto:jef...@se...)
Date: Wed, 3 Sep 2003 11:20 AM
Comment:
OK, here's the files as an eclipse project zip. snap1.gif shows User before=
commit. snap2.gif shows User right before npe.
Changes:
Attachment changed to sandbox.zip
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?=
key=3DHB-307&page=3Dhistory
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?=
key=3DHB-307
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-307
Summary: null values on save with Set & Composite-element, many-to-many=
w xtra cols
Type: Bug
Status: Unassigned
Priority: Minor
Project: Hibernate2
Components:=20
core
Versions:
2.1 beta 1
Assignee:=20
Reporter: Jeff Boring
Created: Wed, 3 Sep 2003 11:14 AM
Updated: Wed, 3 Sep 2003 11:20 AM
Environment: Hibernate v2.1 beta 1, Oracle v8, Eclipse, Win2000
Description:
NPE on save of an entity mapped to a Set with a composite-element. This iss=
ue relates to forum post http://forum.hibernate.org/viewtopic.php?t=3D161. =
Wanted to try with v2.1 beta 2 but having trouble with download.
You ask for a main method that shows the issue. I assumed I would be able t=
o attach my files here but all I see is this text box. So pasting. Let me k=
now if & how to send files.
jef...@si...
When saving an AppUser with 1 Role, fails on commit as marked - npe. Tracki=
ng it down led to postFlush of SessionImpl, the "snapshot =3D collection.ge=
tSnapshot(loadedPersister); //re-snapshot"=09line. This call invokes UserRo=
le.hashCode but user is null so get npe. Other properties are fiine. This w=
orks fine without UserRole.hashcode but deletes the collection.
Below are the main method and a stacktrace.
public static void main(String[] args) throws HibernateException {
=09=09
=09=09try {
=09=09=09cfg =3D new Configuration();
=09=09=09cfg.addClass(AppUser.class);
=09=09=09cfg.addClass(Role.class);
=09=09=09sf =3D cfg.buildSessionFactory();
=09=09}
=09=09catch (Exception e ){
=09=09=09e.printStackTrace();
=09=09=09return;
=09=09}
=09=09
=09=09Session sess =3D null; Transaction xac =3D null;
=09=09Role roleA =3D null; Role roleB =3D null; AppUser user =3D null; User=
Role userxref =3D null;
=09=09
=09=09// TRANSACTION / UOW #1
=09=09try {
=09=09=09sess =3D sf.openSession();
=09=09=09xac =3D sess.beginTransaction();
=09=09=09
=09=09=09roleA =3D new Role( new Long (1), "Role A");
=09=09=09roleB =3D new Role( new Long (2), "Role B");
=09=09=09user =3D new AppUser( new Long(100), "Jeff Boring ");
=09=09=09
=09=09=09userxref =3D new UserRole("Serving as role A on project", roleA, u=
ser );
=09=09=09user.getRoles().add( userxref );
=09=09=09
=09=09=09sess.save( roleA );
=09=09=09sess.save( roleB );
=09=09=09sess.save( user );
=09=09=09
=09=09=09xac.commit(); // FAILS HERE - NPA
=09=09}
=09=09catch (Exception e ){
=09=09=09e.printStackTrace();
=09=09=09xac.rollback();
=09=09}
=09=09finally {
=09=09=09try {
=09=09=09=09sess.close();
=09=09=09}=20
=09=09=09catch (HibernateException e1) { e1.printStackTrace(); }
=09=09}
CONSOLE/STACK TRACE
12:04:11,939 INFO Environment:413 - Hibernate 2.1 beta 1
12:04:11,979 INFO Environment:447 - loaded properties from resource hibern=
ate.properties: {hibernate.default_schema=3Dtgbpdba9, hibernate.connection.=
driver_class=3Doracle.jdbc.driver.OracleDriver, hibernate.cglib.use_reflect=
ion_optimizer=3Dtrue, hibernate.max_fetch_depth=3D2, hibernate.dialect=3Dne=
t.sf.hibernate.dialect.OracleDialect, hibernate.jdbc.use_streams_for_binary=
=3Dtrue, hibernate.jdbc.batch_size=3D0, hibernate.query.substitutions=3Dtru=
e 1, false 0, yes 'Y', no 'N', hibernate.query.imports=3Dnet.sf.hibernate.t=
est, net.sf.hibernate.eg, hibernate.proxool.pool_alias=3Dpool1, hibernate.c=
onnection.username=3DTGBPDBA9, hibernate.hbm2ddl.auto=3Dcreate-drop, hibern=
ate.connection.url=3Djdbc:oracle:thin:@sccci.scsm.siemens.com:1521:OT17, hi=
bernate.show_sql=3Dtrue, hibernate.connection.password=3DTGBPDBA9, hibernat=
e.statement_cache.size=3D25, hibernate.connection.pool_size=3D1}
12:04:11,999 INFO Environment:461 - using java.io streams to persist binar=
y types
12:04:11,999 INFO Environment:462 - using CGLIB reflection optimizer
12:04:12,009 INFO Environment:472 - JVM proxy support: true
12:04:12,020 INFO Configuration:288 - Mapping resource: AppUser.hbm.xml
12:04:13,381 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate=
.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibern=
ate/
12:04:13,381 DEBUG DTDEntityResolver:29 - found http://hibernate.sourceforg=
e.net/hibernate-mapping-2.0.dtd in classpath
12:04:13,782 INFO Binder:179 - Mapping class: AppUser -> AppUser
12:04:14,062 DEBUG Binder:390 - Mapped property: userskey -> userskey, type=
: long
12:04:14,103 DEBUG Binder:390 - Mapped property: name -> name, type: string
12:04:14,113 INFO Binder:458 - Mapping collection: AppUser.roles -> UserRo=
le
12:04:14,153 DEBUG Binder:390 - Mapped property: roles, type: java.util.Set
12:04:14,163 INFO Configuration:288 - Mapping resource: Role.hbm.xml
12:04:14,193 DEBUG DTDEntityResolver:20 - trying to locate http://hibernate=
.sourceforge.net/hibernate-mapping-2.0.dtd in classpath under net/sf/hibern=
ate/
12:04:14,203 DEBUG DTDEntityResolver:29 - found http://hibernate.sourceforg=
e.net/hibernate-mapping-2.0.dtd in classpath
12:04:14,253 INFO Binder:179 - Mapping class: Role -> ROLE
12:04:14,253 DEBUG Binder:390 - Mapped property: roleskey -> roleskey, type=
: long
12:04:14,253 DEBUG Binder:390 - Mapped property: roleDescrip -> roleDescrip=
, type: string
12:04:14,253 INFO Configuration:495 - processing one-to-many association m=
appings
12:04:14,253 DEBUG Binder:1137 - Second pass for collection: AppUser.roles
12:04:14,263 DEBUG Binder:390 - Mapped property: noteComment -> noteComment=
, type: string
12:04:14,273 DEBUG Binder:390 - Mapped property: role -> roleskey, type: Ro=
le
12:04:21,283 DEBUG Binder:1149 - Mapped collection key: userskey, element: =
noteComment, roleskey, type: UserRole
12:04:21,293 INFO Configuration:504 - processing one-to-one association pr=
operty references
12:04:21,303 INFO Configuration:529 - processing foreign key constraints
12:04:21,303 DEBUG Configuration:539 - resolving reference to class: Role
12:04:21,303 DEBUG Configuration:539 - resolving reference to class: AppUse=
r
12:04:21,443 INFO SessionFactoryImpl:113 - building session factory
12:04:21,533 INFO Dialect:83 - Using dialect: net.sf.hibernate.dialect.Ora=
cleDialect
12:04:21,543 INFO SettingsFactory:56 - Maximim outer join fetch depth: 2
12:04:21,543 INFO SettingsFactory:60 - Use outer join fetching: true
12:04:21,573 INFO DriverManagerConnectionProvider:41 - Hibernate connectio=
n pool size: 1
12:04:21,583 INFO DriverManagerConnectionProvider:70 - using driver: oracl=
e.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@sccci.scsm.siemens.com=
:1521:OT17
12:04:21,583 INFO DriverManagerConnectionProvider:71 - connection properti=
es: {user=3DTGBPDBA9, password=3DTGBPDBA9}
12:04:21,603 DEBUG DriverManagerConnectionProvider:77 - total checked-out c=
onnections: 0
12:04:21,603 DEBUG DriverManagerConnectionProvider:90 - opening new JDBC co=
nnection
12:04:24,207 DEBUG DriverManagerConnectionProvider:103 - created connection=
to: jdbc:oracle:thin:@sccci.scsm.siemens.com:1521:OT17, Isolation Level: 2
12:04:24,217 DEBUG DriverManagerConnectionProvider:117 - returning connecti=
on to pool, pool size: 1
12:04:24,217 INFO SettingsFactory:85 - Use scrollable result sets: true
12:04:24,227 INFO SettingsFactory:89 - Default schema set to: tgbpdba9
12:04:24,227 INFO SettingsFactory:92 - echoing all SQL to stdout
12:04:24,227 INFO SettingsFactory:95 - Query language substitutions: {no=
=3D'N', true=3D1, yes=3D'Y', false=3D0}
12:04:24,227 DEBUG SessionFactoryImpl:119 - instantiating session factory w=
ith properties: {java.runtime.name=3DJava(TM) 2 Runtime Environment, Standa=
rd Edition, hibernate.connection.password=3DTGBPDBA9, sun.boot.library.path=
=3DC:\Program Files\Java\j2re1.4.2\bin, hibernate.default_schema=3Dtgbpdba9=
, java.vm.version=3D1.4.2-b28, hibernate.proxool.pool_alias=3Dpool1, hibern=
ate.connection.username=3DTGBPDBA9, java.vm.vendor=3DSun Microsystems Inc.,=
java.vendor.url=3Dhttp://java.sun.com/, path.separator=3D;, java.vm.name=
=3DJava HotSpot(TM) Client VM, file.encoding.pkg=3Dsun.io, user.country=3DU=
S, sun.os.patch.level=3DService Pack 3, java.vm.specification.name=3DJava V=
irtual Machine Specification, user.dir=3DC:\Data\Common\workspace\pma\Sandb=
ox, java.runtime.version=3D1.4.2-b28, java.awt.graphicsenv=3Dsun.awt.Win32G=
raphicsEnvironment, java.endorsed.dirs=3DC:\Program Files\Java\j2re1.4.2\li=
b\endorsed, os.arch=3Dx86, java.io.tmpdir=3DC:\DOCUME~1\boringj\LOCALS~1\Te=
mp\, line.separator=3D
, java.vm.specification.vendor=3DSun Microsystems Inc., user.variant=3D, os=
.name=3DWindows 2000, sun.java2d.fontpath=3D, java.library.path=3DC:\Progra=
m Files\Java\j2re1.4.2\bin;.;C:\WINNT\System32;C:\WINNT;C:\Program Files\Or=
acle\jre\1.1.7\bin\;C:\Oracle\Ora81\bin\;C:\WINNT\system32;C:\WINNT;C:\WINN=
T\System32\Wbem;C:\Program Files\CatPC\Bin;C:\Program Files\CatPC\Windows\S=
ystem32;C:\Program Files\CatPC\Windows\System;C:\Program Files\Executive So=
ftware\DiskeeperWorkstation\;C:\Program Files\Oracle\jre\1.1.7\bin;U:\Appli=
cation Data\Lotus\Notes;C:\Oracle\Ora81\bin;%C:\WINNT%\system32;%C:\WINNT%;=
%C:\WINNT%\System32\Wbem;C:\Program Files\Executive Software\DiskeeperWorks=
tation;C:\j2sdk1.4.2\bin;C:\Program Files\Rational\ClearCase\bin;C:\Program=
Files\Rational\common;C:\PROGRA~1\ULTRAE~1, java.specification.name=3DJava=
Platform API Specification, java.class.version=3D48.0, hibernate.connectio=
n.pool_size=3D1, java.util.prefs.PreferencesFactory=3Djava.util.prefs.Windo=
wsPreferencesFactory, os.version=3D5.0, user.home=3DC:\Documents and Settin=
gs\boringj, user.timezone=3DAmerica/New_York, java.awt.printerjob=3Dsun.awt=
.windows.WPrinterJob, file.encoding=3DCp1252, java.specification.version=3D=
1.4, hibernate.connection.driver_class=3Doracle.jdbc.driver.OracleDriver, j=
ava.class.path=3DC:\Data\Common\workspace\pma\Sandbox;C:\Data\Common\worksp=
ace\pma\Hibernate2.1;Q:\It56\Library\hibernate\hibernate-2.1\lib\xml-apis.j=
ar;Q:\It56\Library\hibernate\hibernate-2.1\lib\c3p0.jar;Q:\It56\Library\hib=
ernate\hibernate-2.1\lib\cglib-asm.jar;Q:\It56\Library\hibernate\hibernate-=
2.1\lib\commons-beanutils.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\c=
ommons-collections.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\commons-=
dbcp.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\commons-lang.jar;Q:\It=
56\Library\hibernate\hibernate-2.1\lib\commons-logging.jar;Q:\It56\Library\=
hibernate\hibernate-2.1\lib\commons-pool.jar;Q:\It56\Library\hibernate\hibe=
rnate-2.1\lib\connector.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\dom=
4j.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\jaas.jar;Q:\It56\Library=
\hibernate\hibernate-2.1\lib\jcs.jar;Q:\It56\Library\hibernate\hibernate-2.=
1\lib\jdbc2_0-stdext.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\jta.ja=
r;Q:\It56\Library\hibernate\hibernate-2.1\lib\junit.jar;Q:\It56\Library\hib=
ernate\hibernate-2.1\lib\odmg.jar;Q:\It56\Library\hibernate\hibernate-2.1\l=
ib\optional.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\proxool.jar;Q:\=
It56\Library\hibernate\hibernate-2.1\lib\xalan.jar;Q:\It56\Library\hibernat=
e\hibernate-2.1\lib\xerces.jar;Q:\It56\Library\hibernate\hibernate-2.1\lib\=
ant.jar;C:\jakarta-tomcat-4.1\common\lib\jdbc2_0-stdext.jar;C:\jakarta-tomc=
at-4.1\common\lib\classes12.jar;Q:\It56\Library\jakarta-log4j\jakarta-log4j=
-1.2.8\dist\lib\log4j-1.2.8.jar;Q:\It56\Library\commons-lang\commons-lang-1=
.0.1\commons-lang-1.0.1.jar, user.name=3Dboringj, hibernate.query.substitut=
ions=3Dtrue 1, false 0, yes 'Y', no 'N', hibernate.show_sql=3Dtrue, java.vm=
.specification.version=3D1.0, java.home=3DC:\Program Files\Java\j2re1.4.2, =
sun.arch.data.model=3D32, hibernate.dialect=3Dnet.sf.hibernate.dialect.Orac=
leDialect, hibernate.connection.url=3Djdbc:oracle:thin:@sccci.scsm.siemens.=
com:1521:OT17, user.language=3Den, java.specification.vendor=3DSun Microsys=
tems Inc., awt.toolkit=3Dsun.awt.windows.WToolkit, hibernate.cglib.use_refl=
ection_optimizer=3Dtrue, java.vm.info=3Dmixed mode, hibernate.jdbc.use_stre=
ams_for_binary=3Dtrue, java.version=3D1.4.2, java.ext.dirs=3DC:\Program Fil=
es\Java\j2re1.4.2\lib\ext, sun.boot.class.path=3DC:\Program Files\Java\j2re=
1.4.2\lib\rt.jar;C:\Program Files\Java\j2re1.4.2\lib\i18n.jar;C:\Program Fi=
les\Java\j2re1.4.2\lib\sunrsasign.jar;C:\Program Files\Java\j2re1.4.2\lib\j=
sse.jar;C:\Program Files\Java\j2re1.4.2\lib\jce.jar;C:\Program Files\Java\j=
2re1.4.2\lib\charsets.jar;C:\Program Files\Java\j2re1.4.2\classes, java.ven=
dor=3DSun Microsystems Inc., hibernate.jdbc.batch_size=3D0, file.separator=
=3D\, hibernate.query.imports=3Dnet.sf.hibernate.test, net.sf.hibernate.eg,=
hibernate.hbm2ddl.auto=3Dcreate-drop, java.vendor.url.bug=3Dhttp://java.su=
n.com/cgi-bin/bugreport.cgi, hibernate.statement_cache.size=3D25, sun.io.un=
icode.encoding=3DUnicodeLittle, sun.cpu.endian=3Dlittle, hibernate.max_fetc=
h_depth=3D2, sun.cpu.isalist=3Dpentium i486 i386}
12:04:24,257 INFO PreparedStatementCache:60 - prepared statement cache siz=
e: 25
12:04:25,038 DEBUG SessionFactoryObjectFactory:39 - initializing class Sess=
ionFactoryObjectFactory
12:04:25,058 DEBUG SessionFactoryObjectFactory:76 - registered: 01c9a4eef76=
8327d00f768328b440000 (unnamed)
12:04:25,058 INFO SessionFactoryObjectFactory:82 - no JNDI name configured
12:04:25,058 DEBUG SessionFactoryImpl:179 - instantiated session factory
12:04:25,068 INFO Dialect:83 - Using dialect: net.sf.hibernate.dialect.Ora=
cleDialect
12:04:25,078 INFO Configuration:495 - processing one-to-many association m=
appings
12:04:25,088 INFO Configuration:504 - processing one-to-one association pr=
operty references
12:04:25,088 INFO Configuration:529 - processing foreign key constraints
12:04:25,088 INFO Configuration:495 - processing one-to-many association m=
appings
12:04:25,088 INFO Configuration:504 - processing one-to-one association pr=
operty references
12:04:25,088 INFO Configuration:529 - processing foreign key constraints
12:04:25,098 INFO SchemaExport:96 - Running hbm2ddl schema export
12:04:25,108 INFO SchemaExport:115 - exporting generated schema to databas=
e
12:04:25,108 INFO DriverManagerConnectionProvider:41 - Hibernate connectio=
n pool size: 1
12:04:25,108 INFO DriverManagerConnectionProvider:70 - using driver: oracl=
e.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@sccci.scsm.siemens.com=
:1521:OT17
12:04:25,108 INFO DriverManagerConnectionProvider:71 - connection properti=
es: {user=3DTGBPDBA9, password=3DTGBPDBA9}
12:04:25,108 DEBUG DriverManagerConnectionProvider:77 - total checked-out c=
onnections: 0
12:04:25,118 DEBUG DriverManagerConnectionProvider:90 - opening new JDBC co=
nnection
12:04:26,741 DEBUG DriverManagerConnectionProvider:103 - created connection=
to: jdbc:oracle:thin:@sccci.scsm.siemens.com:1521:OT17, Isolation Level: 2
12:04:26,981 DEBUG SchemaExport:128 - alter table UserRole drop constraint =
FKF3F76701F02A3A82
12:04:27,101 DEBUG SchemaExport:128 - alter table UserRole drop constraint =
FKF3F76701F02BF357
12:04:27,231 DEBUG SchemaExport:128 - drop table AppUser cascade constraint=
s
12:04:27,402 DEBUG SchemaExport:128 - drop table UserRole cascade constrain=
ts
12:04:27,562 DEBUG SchemaExport:128 - drop table ROLE cascade constraints
12:04:27,742 DEBUG SchemaExport:144 - create table AppUser (
userskey NUMBER(19,0) not null,
name VARCHAR2(20),
primary key (userskey)
)
12:04:27,922 DEBUG SchemaExport:144 - create table UserRole (
userskey NUMBER(19,0) not null,
noteComment VARCHAR2(255) not null,
roleskey NUMBER(19,0)
)
12:04:28,063 DEBUG SchemaExport:144 - create table ROLE (
roleskey NUMBER(19,0) not null,
roleDescrip VARCHAR2(10) not null,
primary key (roleskey)
)
12:04:28,243 DEBUG SchemaExport:144 - alter table UserRole add constraint F=
KF3F76701F02A3A82 foreign key (roleskey) references ROLE
12:04:28,373 DEBUG SchemaExport:144 - alter table UserRole add constraint F=
KF3F76701F02BF357 foreign key (userskey) references AppUser
12:04:28,503 INFO SchemaExport:154 - schema export complete
12:04:28,583 DEBUG DriverManagerConnectionProvider:117 - returning connecti=
on to pool, pool size: 1
12:04:28,583 INFO DriverManagerConnectionProvider:144 - cleaning up connec=
tion pool: jdbc:oracle:thin:@sccci.scsm.siemens.com:1521:OT17
12:04:28,663 INFO Dialect:83 - Using dialect: net.sf.hibernate.dialect.Ora=
cleDialect
12:04:28,673 INFO Configuration:495 - processing one-to-many association m=
appings
12:04:28,673 INFO Configuration:504 - processing one-to-one association pr=
operty references
12:04:28,673 INFO Configuration:529 - processing foreign key constraints
12:04:28,683 INFO Configuration:495 - processing one-to-many association m=
appings
12:04:28,683 INFO Configuration:504 - processing one-to-one association pr=
operty references
12:04:28,693 INFO Configuration:529 - processing foreign key constraints
12:04:28,703 INFO DriverManagerConnectionProvider:144 - cleaning up connec=
tion pool: jdbc:oracle:thin:@sccci.scsm.siemens.com:1521:OT17
12:04:32,429 DEBUG SessionImpl:444 - opened session
12:04:32,499 DEBUG JDBCTransaction:36 - begin
12:04:32,509 DEBUG DriverManagerConnectionProvider:77 - total checked-out c=
onnections: 0
12:04:32,509 DEBUG DriverManagerConnectionProvider:83 - using pooled JDBC c=
onnection, pool size: 0
12:04:36,455 DEBUG SessionImpl:691 - saving [Role#1]
12:04:36,485 DEBUG SessionImpl:691 - saving [Role#2]
12:04:36,485 DEBUG SessionImpl:691 - saving [AppUser#100]
12:04:36,485 DEBUG Cascades:336 - processing cascades for: AppUser
12:04:36,495 DEBUG Cascades:344 - done processing cascades for: AppUser
12:04:36,515 DEBUG SessionImpl:2561 - Wrapped collection in role: AppUser.r=
oles
12:04:37,226 DEBUG Cascades:336 - processing cascades for: AppUser
12:04:37,226 DEBUG Cascades:275 - cascading to collection: AppUser.roles
12:04:37,226 DEBUG Cascades:344 - done processing cascades for: AppUser
12:04:40,661 DEBUG JDBCTransaction:54 - commit
12:04:42,293 DEBUG SessionImpl:2043 - flushing session
12:04:42,303 DEBUG Cascades:336 - processing cascades for: AppUser
12:04:42,303 DEBUG Cascades:275 - cascading to collection: AppUser.roles
12:04:42,303 DEBUG Cascades:344 - done processing cascades for: AppUser
12:04:42,313 DEBUG SessionImpl:2149 - Flushing entities and processing refe=
renced collections
12:04:42,323 DEBUG SessionImpl:2591 - Collection found: [AppUser.roles#100]=
, was: [<unreferenced>]
12:04:42,323 DEBUG SessionImpl:2433 - Processing unreferenced collections
12:04:42,333 DEBUG SessionImpl:2444 - Scheduling collection removes/(re)cre=
ates/updates
12:04:42,333 DEBUG SessionImpl:2055 - Flushed: 3 insertions, 0 updates, 0 d=
eletions to 3 objects
12:04:42,343 DEBUG SessionImpl:2060 - Flushed: 1 (re)creations, 0 updates, =
0 removals to 1 collections
12:04:42,343 DEBUG SessionImpl:2090 - executing flush
12:04:42,353 DEBUG EntityPersister:422 - Inserting entity: Role#1
12:04:42,363 DEBUG BatcherImpl:176 - about to open: 0 open PreparedStatemen=
ts, 0 open ResultSets
12:04:42,363 DEBUG SessionFactoryImpl:393 - prepared statement get: insert =
into tgbpdba9.ROLE (roleDescrip, roleskey) values (?, ?)
Hibernate: insert into tgbpdba9.ROLE (roleDescrip, roleskey) values (?, ?)
12:04:42,373 DEBUG PreparedStatementCache:78 - preparing statement: insert =
into tgbpdba9.ROLE (roleDescrip, roleskey) values (?, ?)
12:04:42,483 DEBUG EntityPersister:324 - Dehydrating entity: Role#1
12:04:42,483 DEBUG StringType:44 - binding 'Role A' to parameter: 1
12:04:42,483 DEBUG LongType:44 - binding '1' to parameter: 2
12:04:42,614 DEBUG EntityPersister:422 - Inserting entity: Role#2
12:04:42,614 DEBUG EntityPersister:324 - Dehydrating entity: Role#2
12:04:42,614 DEBUG StringType:44 - binding 'Role B' to parameter: 1
12:04:42,624 DEBUG LongType:44 - binding '2' to parameter: 2
12:04:42,704 DEBUG EntityPersister:422 - Inserting entity: AppUser#100
12:04:42,704 DEBUG BatcherImpl:183 - done closing: 0 open PreparedStatement=
s, 0 open ResultSets
12:04:42,714 DEBUG PreparedStatementCache:102 - recaching
12:04:42,714 DEBUG PreparedStatementCache:137 - total checked-out statement=
s: 0
12:04:42,714 DEBUG PreparedStatementCache:138 - checked out: []
12:04:42,714 DEBUG BatcherImpl:176 - about to open: 0 open PreparedStatemen=
ts, 0 open ResultSets
12:04:42,714 DEBUG SessionFactoryImpl:393 - prepared statement get: insert =
into tgbpdba9.AppUser (name, userskey) values (?, ?)
Hibernate: insert into tgbpdba9.AppUser (name, userskey) values (?, ?)
12:04:42,724 DEBUG PreparedStatementCache:78 - preparing statement: insert =
into tgbpdba9.AppUser (name, userskey) values (?, ?)
12:04:42,814 DEBUG EntityPersister:324 - Dehydrating entity: AppUser#100
12:04:42,814 DEBUG StringType:44 - binding 'Jeff Boring ' to parameter: 1
12:04:42,824 DEBUG LongType:44 - binding '100' to parameter: 2
12:04:42,904 DEBUG BatcherImpl:183 - done closing: 0 open PreparedStatement=
s, 0 open ResultSets
12:04:42,914 DEBUG PreparedStatementCache:102 - recaching
12:04:42,914 DEBUG PreparedStatementCache:137 - total checked-out statement=
s: 0
12:04:42,914 DEBUG PreparedStatementCache:138 - checked out: []
12:04:42,914 DEBUG CollectionPersister:667 - Inserting collection: AppUser.=
roles#100
12:04:42,924 DEBUG BatcherImpl:176 - about to open: 0 open PreparedStatemen=
ts, 0 open ResultSets
12:04:42,924 DEBUG SessionFactoryImpl:393 - prepared statement get: insert =
into tgbpdba9.UserRole (userskey, noteComment, roleskey) values (?, ?, ?)
Hibernate: insert into tgbpdba9.UserRole (userskey, noteComment, roleskey) =
values (?, ?, ?)
12:04:42,924 DEBUG PreparedStatementCache:78 - preparing statement: insert =
into tgbpdba9.UserRole (userskey, noteComment, roleskey) values (?, ?, ?)
12:04:43,004 DEBUG LongType:44 - binding '100' to parameter: 1
12:04:43,014 DEBUG StringType:44 - binding 'Serving as role A on project' t=
o parameter: 2
12:04:43,014 DEBUG LongType:44 - binding '1' to parameter: 3
12:04:43,104 DEBUG CollectionPersister:693 - done inserting collection
12:04:43,104 DEBUG BatcherImpl:183 - done closing: 0 open PreparedStatement=
s, 0 open ResultSets
12:04:43,114 DEBUG PreparedStatementCache:102 - recaching
12:04:43,114 DEBUG PreparedStatementCache:137 - total checked-out statement=
s: 0
12:04:43,114 DEBUG PreparedStatementCache:138 - checked out: []
12:04:45,027 DEBUG SessionImpl:2464 - post flush
12:04:48,302 DEBUG SessionImpl:478 - transaction completion
java.lang.NullPointerException
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators=
.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|