Questions tagged [entity-bean]
46 questions
1
vote
2 answers
Are there any modeling tools that can visually generate jpa or sql queries?
Does anyone know of a tool like PowerArchitect or SquirrelSQL or maybe eclipse plugin that lets you also generate jpa/sql queries?
Imagine you choosing your database, or your entity beans, and the modeling would reverse engineer your database/entity…

Shervin Asgari
- 23,901
- 30
- 103
- 143
1
vote
1 answer
why shouldn't entity bean be managed by JSF framework?
I read some post hear (specially BalusC post) and googled for the reason (not deep) but i couldn't find why shouldn't use entity bean as a managed bean. what's the reason? (I'm learning from "Pro JSF and HTML5" and in this book, entity bean is used…

Arash
- 696
- 8
- 24
1
vote
2 answers
EJB: seems I don't understand the crucial point
I'm new in EJB & persistence at all, so excuse me please if I'll ask a stupid question.
I read a book about EJB and JPA, and faces phrase that I don't understand at all:
Intended to fully insulate developers from dealing directly with
…

VB_
- 45,112
- 42
- 145
- 293
0
votes
1 answer
Try to output to the screen about 100 objects from database
Web application uses one Entity Bean (ejb 2.0) and has one page to output objects from database. I implements all methods in entity been and checked all errors. I have a table in database and try to output first 100 objects (id's and their names).…

golgofa
- 103
- 2
- 11
0
votes
2 answers
Java EJB entity beans performance
How performant is the entity bean? Would it be too much to ask if I want 1000 objects per table (probably about 20 tables) across 5 processes where some processes might be changing the objects as often as 60 times a second?
Are there any resources…
BSmith
0
votes
1 answer
EntityManager identifier generation exception?
I ran into this problem when I try to create a record in DB through entitybean and entitymanager. I have two methods in the UserManagerImpl.java, the odd thing is the findalluser method works well and create one throws the following exception in…

user899628
- 269
- 2
- 3
- 7
0
votes
1 answer
How do i connect to mysql data base with EJB entity bean?
How to configure ejb with mysql database?
I want to access mysql database table using EJB entity beans

Prasoon
- 1,445
- 4
- 13
- 10
0
votes
1 answer
CMP entity bean in OpenEJB (OpenJPA?)
I try to run an old EJB2 system on OpenEJB and it uses Entity Bean to access database. Current status is I can run it and can send SQL to Oracle DB (I can see the session and SQL in Oracle), but the table and column name is not mapped.
I think the…

Dennys
- 587
- 2
- 13
- 33
0
votes
0 answers
Access entity dynamically based on postgres/ sql db from springboot app based on configuration
I am building a springboot app which can connect to either sql or postgres db based on configuration. Entity for the two databases are slightly different. Is it possible to create 2 different entity for 2 databases and load them dynamically on…

Roohi
- 7
0
votes
1 answer
Websphere 7 - BMP Entity Bean - ejbStore called at end of transaction and not after setter method
We are migrating from Weblogic to Websphere 7. It is a legacy application and contains EJB 2.0 beans. The Entity beans have BMP. The session facade beans make updates to the entity beans but the updates are persisted to database (call to ejbStore()…

Dikshit Luthra
- 73
- 1
- 3
0
votes
1 answer
Entity Beans in the jmx-console?
Is it possible to view entity beans with the jmx-console? If so, how?
user726478
0
votes
2 answers
Is it a good practice to use the entity beans for front end
I'm using Thymeleaf for frontend and Spring + Hibernate for the backend.
Instead of creating DTOs is it advisable to use the same entity beans for frontend. For attributes that are exclusive for frontend, we could use @Transient anyways, right?
I…

Riya Jacob
- 3
- 3
0
votes
1 answer
JPA HIBERNATE - why does the system keep in database a column that has previously been updated in the entity bean
My system still keeps an attribute of which i had edited the name.
I have an entity bean in which i had updated the name of the attribute, of type boolean. I had changed its name from "considered" to "usable". I changed also the name in all involved…

tcoddis
- 21
- 5
0
votes
1 answer
JPA/ JPQL: How to use member-of with an hash-map
I have problem using the member-of Statement. The problem I think is, that I made a mistake with the elements --> parameter.get("" i + anlass) but I don't know how to do it right.
Are there any other possibilities to ask if a certain element is an…

Alina
- 1
- 2
0
votes
1 answer
WAS 8.5.5 CMP/BMP and Persistence DataSource
i'm developing a Java EE application, Using Servlet, JSP, JPA, EJB. Since i already configured a datasource (Oracle 11g) in Websphere console, i wanted to know if i have to use CMP Entity bean in my code, or A simple stateless Session bean with a…

Yassir Ouali
- 5
- 5