-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 
Author Message
 Post subject: No column name found for property
PostPosted: Tue May 04, 2004 5:07 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
First of all, I use MySQL 4.0.18 and the latest version of Hibernate (2.1.3)

In my java file TeamDriverVO I added an extra field points which isn't in the database table Driver, because I want to generate it at my request.
(If you made a good team, the points are different after each race :-) ).
If I use the following query, I get an exception that the column name doesn't exist. I know that this exception should be returned since points isn't a property in my driverVO.hbm.xml nor is it a column in my database table Driver. But how do I fill in this field in my Java File?

To clarify my application a bit. I want this to happen : when a user asks information on a specific Racing Team, he should see all the TeamDrivers from the Team with their points gained during all the finished races.

Query
Code:
protected static final String findTeamDriverScoresSQL =
            "select teamDriver.id as {be.ngb.vo.TeamDriverVO.id}, " +
            "       teamDriver.driverId as {be.ngb.vo.TeamDriverVO.driver}, " +
            "       teamDriver.teamId as {be.ngb.vo.TeamDriverVO.team}, " +
            "       teamDriver.periodId as {be.ngb.vo.TeamDriverVO.period}, " +
            "       sum(pointsTable.points) as {be.ngb.vo.TeamDriverVO.points} " +
            "from   TEAMDRIVER as teamdriver" +
            "       inner join DRIVER as driver on teamDriver.driverid= driver.id " +
            "       left outer join SCORE as score on driver.id = score.driverid" +
            "       left outer join RACE as race on score.raceid = race.id " +
            "       left outer join GRADE as grade on race.gradeid = grade.id " +
            "       left outer join POINTSTABLE as pointsTable on grade.scoretype = pointstable.type " +
                                                                               " and score.plaats = pointsTable.plaats " +
            "where  teamDriver.periodid = race.periodid " +
            "group by teamDriver.id, teamDriver.driverId " +
            "order by teamDriver.teamid ";


My Java File
Code:
public class PloegRennerVO extends AbstractVO {

    protected TeamVO team;
    protected DriverVO driver;
    protected PeriodVO period;
    protected Integer points;

    /*all the getters and setters + the constructors needed for these properties */

}


My call in the DAO layer
Code:
String query = findTeamDriverScoresSQL;
list = TeamImpl.getUserSession().createSQLQuery(query, "be.ngb.vo.TeamDriverVO", TeamDriverVO.class).list();


Exception
Code:
net.sf.hibernate.QueryException: No column name found for property [points] [complete sql statement shown as above]


I've tried adding it to the mapping file as a property with a formula, but that resulted in a LazilyInitializeException. If I run this query in MySQL I get the results I would like to get in my Java File, so there should be no error there.

Thanks in advance,

Peter


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 04, 2004 9:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
This is exactly what a formula property is meant to allow. What is the LazilyInitializeException you get when trying to map this using a formula?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 3:14 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
Sorry for my late reply, but I went home in the afternoon, needed some rest.
I used the following property in my TeamVO.hbm.xml, after this is the Exception he returns. The LazilyInitializedException is caused by a SQLException, but as I said before, running this query in MySQL gives me the correct resultset.

Property
Code:
<property
   name="points"
   formula="select sum(pointstable.points) as points
                  from TEAMDRIVER as teamdriver
                      inner join DRIVER as driver on teamdriver.driverid = driver.id
                      left outer join SCORE as score on driver.id = score.driverid
                      left outer join RACE as race on score.raceid = race.id
                      left outer join GRADE as grade on race.gradeid = grade.id
                      left outer join POINTSTABLE as pointstable on grade.scoretype = pointstable.type and score.plaats = pointstable.plaats
                  where   teamdriver.periodeid = race.periodeid
                  group by teamdriver.id
                  order by teamdriver.teamid, driver.naam"/>


Exception
Code:
net.sf.hibernate.PropertyAccessException: Exception occurred inside setter of be.ngb.vo.TeamVO.teamDrivers
   at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:49)
   at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:221)
   at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2199)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:836)
   at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:856)
   at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:59)
   at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:51)
   at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:419)
   at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2106)
   at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1980)
   at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1942)
   at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:68)
   at net.sf.hibernate.type.EntityType.resolveIdentifier(EntityType.java:232)
   at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2194)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.doList(Loader.java:955)
   at net.sf.hibernate.loader.Loader.list(Loader.java:946)
   at net.sf.hibernate.loader.SQLLoader.list(SQLLoader.java:92)
   at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3797)
   at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52)
   at be.ngb.dao.HibernateTeamDriverDAO.findTeamDriverScores(HibernateTeamDriverDAO.java:220)
   at test.be.ngb.bo.TestTeam.testfindTeamDriverScores(TestTeam.java:123)
   at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source)
   at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(Unknown Source)
   at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(Unknown Source)
   at com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source)
   at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection
   at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:201)
   at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)
   at net.sf.hibernate.collection.Bag.size(Bag.java:232)
   at be.ngb.vo.TeamVO.setTeamDrivers(TeamVO.java:84)
   at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:38)
   at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:221)
   at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2199)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:836)
   at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:856)
   at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:59)
   at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:51)
   at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:419)
   at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2106)
   at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1980)
   at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1942)
   at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:68)
   at net.sf.hibernate.type.EntityType.resolveIdentifier(EntityType.java:232)
   at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2194)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.doList(Loader.java:955)
   at net.sf.hibernate.loader.Loader.list(Loader.java:946)
   at net.sf.hibernate.loader.SQLLoader.list(SQLLoader.java:92)
   at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3797)
   at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52)
   at be.ngb.dao.HibernateTeamDriverDAO.findTeamDriverScores(HibernateTeamDriverDAO.java:220)
   at test.be.ngb.bo.TestTeam.testfindTeamDriverScores(TestTeam.java:123)
   at com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(Unknown Source)
   at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(Unknown Source)
   at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(Unknown Source)
   at com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source)
   at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
Caused by: net.sf.hibernate.JDBCException: could not initialize collection: [be.ngb.vo.TeamVO.teamDrivers#297ff4cfc3a2d4e300ed9d416272d5c4]
   at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:287)
   at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3259)
   at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195)
   ... 46 more
Caused by: java.sql.SQLException: Syntax error or access violation,  message from server: "You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'select sum(pointstable.points) teamdrive0_.as teamdrive0_.pun"
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1905)
   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109)
   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203)
   at com.mysql.jdbc.Connection.execSQL(Connection.java:2090)
   at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1496)
   at net.sf.hibernate.impl.BatcherImpl.getResultSet(BatcherImpl.java:87)
   at net.sf.hibernate.loader.Loader.getResultSet(Loader.java:800)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:189)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:915)
   at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:890)
   at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93)
   at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:284)
   ... 48 more
Caused by: net.sf.hibernate.LazyInitializationException: Failed to lazily initialize a collection
   at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:201)
   at net.sf.hibernate.collection.PersistentCollection.read(PersistentCollection.java:71)
   at net.sf.hibernate.collection.Bag.size(Bag.java:232)
   at be.ngb.vo.TeamVO.setTeamDrivers(TeamVO.java:84)
   at net.sf.hibernate.property.BasicPropertyAccessor$BasicSetter.set(BasicPropertyAccessor.java:38)
   at net.sf.hibernate.persister.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:221)
   at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2199)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:836)
   at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:856)
   at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:59)
   at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:51)
   at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:419)
   at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2106)
   at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:1980)
   at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1942)
   at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:68)
   at net.sf.hibernate.type.EntityType.resolveIdentifier(EntityType.java:232)
   at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2194)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:240)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.doList(Loader.java:955)
   at net.sf.hibernate.loader.Loader.list(Loader.java:946)
   at net.sf.hibernate.loader.SQLLoader.list(SQLLoader.java:92)
   at net.sf.hibernate.impl.SessionImpl.findBySQL(SessionImpl.java:3797)
   at net.sf.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:52)
   at be.ngb.dao.HibernateTeamDriverDAO.findTeamDriverScores(HibernateTeamDriverDAO.java:220)
   at test.be.ngb.bo.TestTeam.testfindTeamDriverScores(TestTeam.java:123)
   at com.intellij.rt.execution.junit2.JUnitStarter.main(Unknown Source)
   at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
Caused by: net.sf.hibernate.JDBCException: could not initialize collection: [be.ngb.vo.TeamVO.teamDrivers#297ff4cfc3a2d4e300ed9d416272d5c4]
   at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:287)
   at net.sf.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:3259)
   at net.sf.hibernate.collection.PersistentCollection.initialize(PersistentCollection.java:195)
   ... 46 more
Caused by: java.sql.SQLException: Syntax error or access violation,  message from server: "You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'select sum(pointstable.points) teamdrive0_.as teamdrive0_.pun"
   at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1905)
   at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109)
   at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203)
   at com.mysql.jdbc.Connection.execSQL(Connection.java:2090)
   at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1496)
   at net.sf.hibernate.impl.BatcherImpl.getResultSet(BatcherImpl.java:87)
   at net.sf.hibernate.loader.Loader.getResultSet(Loader.java:800)
   at net.sf.hibernate.loader.Loader.doQuery(Loader.java:189)
   at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:133)
   at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:915)
   at net.sf.hibernate.loader.Loader.loadCollection(Loader.java:890)
   at net.sf.hibernate.loader.OneToManyLoader.initialize(OneToManyLoader.java:93)
   at net.sf.hibernate.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:284)
   ... 48 more


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 3:18 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Use parantheses formula="( selet foo... )" and make sure your MySQL supports subselects.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 3:33 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
Like this (?) , I guess not cause it didn't work.
Code:
formula="(select sum(pointstable.points) as points
                  from TEAMDRIVER as teamdriver
                      inner join DRIVER as driver on teamdriver.driverid = driver.id
                      left outer join SCORE as score on driver.id = score.driverid
                      left outer join RACE as race on score.raceid = race.id
                      left outer join GRADE as grade on race.gradeid = grade.id
                      left outer join POINTSTABLE as pointstable on grade.scoretype = pointstable.type and score.plaats = pointstable.plaats
                  where   teamdriver.periodeid = race.periodeid
                  group by teamdriver.id
                  order by teamdriver.teamid, driver.naam)"


Running the exact same select in MySQL gives the right resultset, so I suppose there is nothing wrong with my version of MySQL.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 3:35 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
So, simplify, enable the Hibernate SQL log and find out what is wrong.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 3:51 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
Ok, thanks for the help.
I'm checking the log right now. It's rather big, but I hope I can find my mistakes there.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 4:25 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
hmm, perhaps the problem is the subselect after all. In the log I found out that the exception was thrown in the following SQL. In the line with the (select sum(pointstable.points) teamdrive0_.as teamdrive0_.points
I better go check in the documentation of MySQL.

Code:
Hibernate:
select teamdrive0_.id as id__,
         teamdrive0_.TeamId as TeamId__,
         teamdrive0_.id as id0_,
         teamdrive0_.DriverId as DriverId0_,
         teamdrive0_.PeriodId as PeriodId0_,
         teamdrive0_.TeamId as TeamId0_,
         (select sum(pointstable.points) teamdrive0_.as  teamdrive0_.points                     
          from TEAMDRIVER as teamdrive0_.teamdriver                         
            inner join DRIVER as teamdrive0_.driver on teamdriver.driverid = driver.id                         
            teamdrive0_.left outer join SCORE as teamdrive0_.score on driver.id = score.driverid                         
            teamdrive0_.left outer join RACE as teamdrive0_.race on score.raceid = race.id                         
            teamdrive0_.left outer join GRADE as teamdrive0_.grade on race.gradeid = grade.id                         
            teamdrive0_.left outer join PUNTENTABEL as teamdrive0_.pointstable on grade.scoretype = pointstable.type
                                        and score.place = pointstable.place                     
          where teamdriver.periodid = race.periodid                     
          group by teamdriver.id                     
          order by teamdriver.teamid, driver.name) as f0_0_
from teamdriver teamdrive0_
where teamdrive0_.TeamId=?


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 4:32 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
1.8.5.1 Subqueries
MySQL Version 4.1 supports subqueries and derived tables. A subquery is a SELECT statement nested within another statement. A derived table (an unnamed view) is a subquery in the FROM clause of another statement. See section 13.1.8 Subquery Syntax.

Urgh, sorry for your trouble. Downloading 4.1 right now...

Stupid me ...


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 5:03 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
Well after using MySQL 4.1 (which supports subqueries) he still throws the same error. I think it has something to do with the teamdrive0_. he places before words like left.

This is my SQLException now :
Code:
Caused by: java.sql.SQLException: Syntax error or access violation,  message from server: "You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'teamdrive0_.left outer join score on driver.id = score.driverid' at line 1"


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 7:31 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
oops this is a problem with net.sf.hibernate.sql.Template. Add "left" and "right" to the recognized keywords.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 7:48 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
Ok, I already started installing Oracle now. I'll let it install just in case I find other problems with MySQL...

As soon as the installation is finished, I'll try your hint Gavin. Thanks for the reply!

Peter


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 05, 2004 10:40 am 
Regular
Regular

Joined: Wed Apr 21, 2004 10:57 am
Posts: 62
Location: Hasselt, Belgium
Thanks Gavin, after adding "left" and "right" it works with MySQL.

Why does Hibernate perform a setTeamDrivers when I only ask to get them? I use a JUnit testcase to find all the teamDrivers and when using
Code:
list = TeamImpl.getUserSession().createSQLQuery(query, "be.ngb.vo.TeamDriverVO", TeamDriverVO.class).list();
he accesses setTeamDrivers.

Problem is that he throws some errors in setTeamDrivers. Apparently not every TeamDriver gets his attributes filled in. I use some of these attributes to create new lists of TeamDrivers (e.g. TeamDrivers for period 1, period 2, ...). At the end of my testCase I print the resultset and this gives me the wanted resultset. Only if I disable some parts of my code in setTeamDrivers of course.

Peter


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.