Did you define the datasource?
Take a look at chapter 8 of the JBoss Getting Started doc (using other databases)
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3835147#3835147
Reply to the post :
Hi,
I've got 2 tables: Price and Product, each product has some prices:
Price table:
* rowid
* price
* product
* date
Product table:
*rowid
*allproductinfo
Now I would like to fetch all prices and the corresponding products on a certain date.
So I create an eager-load-group in my price
Hi there,
I'm running a jboss-ql query and I would like to sort the results on one of the cmr
fields attributes like this:
SELECT OBJECT(rpp)
FROM ReferenceProductPrice
WHERE rpp.pricelistRelease.row_id = ?1
ORDER BY rpp.product.code ASC
But it doesn't seem to work (no error though).. Does
Hi there,
I'm developing a j2ee application with about 40 entity beans. When doing a finder
query on one of the larger beans (that has 6 relationships with other beans), I get
this error:
10:42:38,086 ERROR [LogInterceptor] TransactionRolledbackLocalException in metho
d: public abstract
Perhaps the few lines before this error are usefull too:
10:42:37,961 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [Format
Id=257, GlobalId=HQ-ALL25//29, BranchQual=] timed out. status=STATUS_ACTIVE
10:42:37,961 WARN [TransactionImpl] Lock contention, tx=TransactionImpl:XidImpl
Hi there,
I'm using CMP 2.x, and in my cmp log file I noticed that JBoss does some Update
queries when I search for data with a finder method.. Why is that?
Thanks!
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834428#3834428
Reply to the post :
Hi there,
So I created my own little LoginModule, based on the DatabaseServerLoginModule
supplied by JBoss. All works fine and the login succeeds and fails when expected.
In the loginmodule I add several groups of principals to the subject.
I have a group called Roles, and 2 other groups.
I use
Hi there,
I've build an entity bean called ViewEJB and would like to put the data in a table
called View. Since view is a reserved word, JBoss (3.2.3) will create a table called
xView instead (no problem here, although backticks would be a nicer way). But if I add
a cmp field called view, my
Idd, but then the words defined in reserved-words have no use... I was hoping there
was some way JBoss would take care of those...
a
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826854#3826854;View
the original post/a
a
too bad.. perhaps something for a next release?
Thanks for checking it out!!
Kind regards,
Sebastiaan
a
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826876#3826876;View
the original post/a
a
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826876Reply
Hmm.. I don't think I understand..
I'll descibe the steps i took...
I've written some EJB's and deployed them, connecting to them went perfectly (CMP
entitybeans).. I wrote a small client-application that create some beanse..
Now I would like to add security, so I read the documentation (both
Hi there,
I convinced my manager to give j2ee and jboss a try (although one of our departments
is a reseller of a commercial j2ee implementation).
I got some EJB's deployed and they are working just fine. But if I want to setup JAAS
and try to login I get this error:
Check out the Getting Started documentation
http://www.jboss.org/docs/index#free-32x
Good luck!
a
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3825642#3825642;View
the original post/a
a
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3825642Reply
to the
Hi there,
I have three tables like this:
Pricelistsheet:
*row_id
*name
PricelistsheetItem
*row_id
*pricelistsheet
*product
*order
Product
*row_id
*name
Since PricelistsheetItem has several columns that can't be captured in a normal
many-many relationship table, we've
I believe you have to make sure all your columns are nullable (except the PK column
ofcourse) since JBoss will first create an empty record, and fill the fields up
later...
a
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824912#3824912;View
the original post/a
a
try this in your jbosscmp-jdbc.xml file:
ejb-relation
ejb-relation-nameQuestion-Has-A-Choices/ejb-relation-name
ejb-relationship-role
ejb-relationship-role-nameQuestion-Of-A-Choice
/ejb-relationship-role-name
key-fields/
/ejb-relationship-role
ejb-relationship-role
Hi there,
when trying to deploy some entity beans I get an error about the query I was using to
test the deployment. Why doesn't the ?1 work?
Error compiling EJB-QL statement 'SELECT DISTINCT OBJECT(rpp)
FROM ReferenceProductPriceCMPEJB AS rpp
/me smashes head into keyboard..
found the problem... something application specific..
Sebastiaan
a
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3824673#3824673;View
the original post/a
a
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3824673Reply
to
I don't consider myself more intelligent then the next guy, but I've been sweating
over the same problems these last few weeks :)
About your problem with the auto-increment... are you sure you added the
auto-increment/ tag to the correct fields in jbosscmp-jdbc.xml?
Also, in the default
Hi there,
I'm pretty new to the jboss scene.
Can I use transactions without a XADatasource? If so, whats the difference between a
normal an a XADatasource?
tnx
a
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3823973#3823973;View
the original post/a
a
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821675#3821675
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821675
Hi there,
I wrote a small application that uses some EJB's and a client that reads them through
some
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3821192#3821192
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3821192
Hi there,
I just recently started using JBoss and I encountered this problem:
I'm using MSSQL2K and
22 matches
Mail list logo